elasticsearch.gemspec in elasticsearch-1.0.17 vs elasticsearch.gemspec in elasticsearch-1.0.18
- old
+ new
@@ -18,14 +18,19 @@
s.require_paths = ["lib"]
s.extra_rdoc_files = [ "README.md", "LICENSE.txt" ]
s.rdoc_options = [ "--charset=UTF-8" ]
- s.add_dependency "elasticsearch-transport", '1.0.17'
- s.add_dependency "elasticsearch-api", '1.0.17'
+ s.add_dependency "elasticsearch-transport", '1.0.18'
+ s.add_dependency "elasticsearch-api", '1.0.18'
s.add_development_dependency "bundler", "> 1"
- s.add_development_dependency "rake", "< 11.0"
+
+ if defined?(RUBY_VERSION) && RUBY_VERSION > '1.9'
+ s.add_development_dependency "rake", "~> 11.1"
+ else
+ s.add_development_dependency "rake", "< 11.0"
+ end
if defined?(RUBY_VERSION) && RUBY_VERSION > '1.9'
s.add_development_dependency "elasticsearch-extensions"
end