version = File.read(File.expand_path('../VERSION', __FILE__)).strip Gem::Specification.new do |s| s.name = 'killbill-payment-test' s.version = version s.summary = 'Plugin to test the payment plugin api.' s.description = 'Kill Bill Plugin to test the payment plugin api.' s.required_ruby_version = '>= 1.9.3' s.license = 'Apache License (2.0)' s.author = 'Kill Bill core team' s.email = 'killbilling-users@googlegroups.com' s.homepage = 'http://killbill.io' s.files = `git ls-files`.split("\n") s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n") s.bindir = 'bin' s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) } s.require_paths = ["lib"] s.rdoc_options << '--exclude' << '.' s.add_dependency 'killbill', '~> 7.0' s.add_dependency 'sinatra', '~> 1.3.4' s.add_dependency 'thread_safe', '~> 0.3.4' s.add_dependency 'activerecord', '~> 4.1.0' if defined?(JRUBY_VERSION) s.add_dependency 'activerecord-bogacs', '~> 0.3' s.add_dependency 'activerecord-jdbc-adapter', '~> 1.3' # Required to avoid errors like java.lang.NoClassDefFoundError: org/bouncycastle/asn1/DERBoolean s.add_dependency 'jruby-openssl', '~> 0.9.6' end s.add_dependency 'actionpack', '~> 4.1.0' s.add_dependency 'actionview', '~> 4.1.0' s.add_dependency 'activemerchant', '~> 1.53.0' s.add_dependency 'offsite_payments', '~> 2.1.0' s.add_dependency 'monetize', '~> 1.1.0' s.add_dependency 'money', '~> 6.5.1' s.add_development_dependency 'jbundler', '~> 0.9.2' s.add_development_dependency 'rake', '>= 10.0.0' s.add_development_dependency 'rspec', '~> 2.12.0' if defined?(JRUBY_VERSION) s.add_development_dependency 'jdbc-sqlite3', '~> 3.7' s.add_development_dependency 'jdbc-mariadb', '~> 1.1' else s.add_development_dependency 'sqlite3', '~> 1.3.7' end end