Sha256: f6d979b478350236421fdd60bb4ef3e231819756a7b260fe7aac5101fbeb2d32

Contents?: true

Size: 1.14 KB

Versions: 2

Compression:

Stored size: 1.14 KB

Contents

require 'rubygems'
require 'rake'
require 'rake/clean'
require 'rake/extensiontask'

CLEAN.include ["ext/wmsigner/*.{so,o}", "ext/wmsigner/Makefile", "lib/wmsigner.so", "pkg", "tmp"]

Rake::ExtensionTask.new('wmsigner')

require 'rspec/core'
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec) do |spec|
  spec.pattern = FileList['spec/**/*_spec.rb']
end

RSpec::Core::RakeTask.new(:rcov) do |spec|
  spec.pattern = 'spec/**/*_spec.rb'
  spec.rcov = true
end

task :default => :spec

spec = begin
  require 'jeweler'
  Jeweler::Tasks.new do |gemspec|
    gemspec.name = "webmoney"
    gemspec.rubyforge_project = 'webmoney'
    gemspec.authors = ["Alexander Oryol"]
    gemspec.email =  "eagle.alex@gmail.com"
    gemspec.summary = "Webmoney interfaces and native wmsigner"
    gemspec.files += %w( ChangeLog ) + Dir.glob( 'ssl-certs/*.crt' )
    gemspec.test_files += %w( Gemfile ) + Dir.glob( 'spec/**/*.rb' )

    if RUBY_PLATFORM.match("win32")
      gemspec.platform = Gem::Platform::WIN32
      gemspec.files += []
    else
      gemspec.platform = Gem::Platform::RUBY
      gemspec.extensions = Dir.glob( 'ext/**/extconf.rb' )
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
webmoney-0.0.14 rakefile
webmoney-0.0.13 rakefile