Sha256: cfdb38ccad54370c535fed183458f441427120f19907a44b10668d785cc6bcda

Contents?: true

Size: 1.17 KB

Versions: 2

Compression:

Stored size: 1.17 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( rakefile ChangeLog lib/WebMoneyCA.crt ) +
                      Dir.glob( 'ext/**/*.{h,cpp,rb}' ) +
                      Dir.glob( 'tools/*.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.12 rakefile
webmoney-0.0.11 rakefile