version = File.read(File.expand_path('../VERSION', __FILE__)).strip Gem::Specification.new do |s| s.name = 'killbill-currency-plugin' s.version = version s.summary = 'Default Currency Plugin.' s.description = 'Currency Plugin based on a static currency table.' 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 'activerecord', '~> 4.1.0' if defined?(JRUBY_VERSION) s.add_dependency 'activerecord-bogacs', '~> 0.3' s.add_dependency 'activerecord-jdbc-adapter', '~> 1.3' end 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