moneta-api.gemspec in moneta-api-1.11.0 vs moneta-api.gemspec in moneta-api-1.12.0
- old
+ new
@@ -16,10 +16,16 @@
spec.files = `git ls-files -z`.split("\x0")
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ['lib']
+ spec.required_ruby_version = '>= 2.0'
+
spec.add_dependency 'savon', '~> 2.11'
+
+ if RUBY_VERSION < '2.2.2'
+ spec.add_dependency 'rack', '< 2'
+ end
spec.add_development_dependency 'bundler', '~> 1'
spec.add_development_dependency 'rake', '~> 10'
spec.add_development_dependency 'pry'
spec.add_development_dependency 'rspec'