mechanize.gemspec in mechanize-2.7.5 vs mechanize.gemspec in mechanize-2.7.6

- old
+ new

@@ -44,14 +44,15 @@ spec.rdoc_options = ["--main", "README.rdoc"] spec.required_ruby_version = ">= 1.9.2" spec.add_runtime_dependency "net-http-digest_auth", [ ">= 1.1.1", "~> 1.1" ] - spec.add_runtime_dependency "net-http-persistent", [ ">= 2.5.2", "~> 2.5" ] if RUBY_VERSION >= "2.0" spec.add_runtime_dependency "mime-types", [ ">= 1.17.2" ] + spec.add_runtime_dependency "net-http-persistent", [ ">= 2.5.2"] else spec.add_runtime_dependency "mime-types", [ ">= 1.17.2", "< 3" ] + spec.add_runtime_dependency "net-http-persistent", [ ">= 2.5.2", "~> 2.5" ] end spec.add_runtime_dependency "http-cookie", [ "~> 1.0" ] spec.add_runtime_dependency "nokogiri", [ "~> 1.6" ] spec.add_runtime_dependency "ntlm-http", [ ">= 0.1.1", "~> 0.1" ] spec.add_runtime_dependency "webrobots", [ "< 0.2", ">= 0.0.9" ]