forked from eagleas/webmoney
-
Notifications
You must be signed in to change notification settings - Fork 2
/
rakefile
33 lines (28 loc) · 890 Bytes
/
rakefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
require 'rubygems'
require 'rake'
require 'rake/clean'
require 'rake/extensiontask'
CLEAN.include ["pkg"]
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 = "[email protected]"
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' )
gemspec.add_dependency "jruby-openssl" if RUBY_PLATFORM == "java"
end
end