Sha256: 4ee7c30dabb1153404b9b192fd924bc09d45b9273c9632c9b47241d8f8027757
Contents?: true
Size: 1.41 KB
Versions: 1
Compression:
Stored size: 1.41 KB
Contents
require 'rubygems' require 'rake' require 'rake/clean' require 'tools/rakehelp' require 'spec/rake/spectask' GEM_VERSION="0.0.4.6" setup_extension('wmsigner', 'wmsigner') desc "Compiles native extensions" task :compile => [:wmsigner] task :default => [:compile, :spec] Spec::Rake::SpecTask.new do |task| task.libs << 'spec' task.spec_files = Dir.glob( 'spec/**/*_spec.rb' ) task.verbose = true end gemspec = Gem::Specification.new do |gemspec| gemspec.name = "webmoney" gemspec.version = GEM_VERSION gemspec.author = "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( 'lib/*.rb' ) + Dir.glob( 'spec/*.rb' ) + Dir.glob( 'spec/unit/*.rb' ) + Dir.glob( 'ext/**/*.{h,cpp,rb}' ) + Dir.glob( 'tools/*.rb' ) gemspec.autorequire = 'webmoney' gemspec.require_path = 'lib' gemspec.add_dependency('hpricot') gemspec.add_dependency('builder') gemspec.add_dependency('iconv') 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 CLEAN.include ["ext/wmsigner/*.{so,o}", "ext/wmsigner/Makefile", "lib/wmsigner.so", "pkg", "*.gem"]
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
webmoney-0.0.4.6 | rakefile |