mechanize.gemspec in mechanize-2.7.4 vs mechanize.gemspec in mechanize-2.7.5

- old
+ new

@@ -45,10 +45,14 @@ 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" ] - spec.add_runtime_dependency "mime-types", [ ">= 1.17.2", "< 3" ] + if RUBY_VERSION >= "2.0" + spec.add_runtime_dependency "mime-types", [ ">= 1.17.2" ] + else + spec.add_runtime_dependency "mime-types", [ ">= 1.17.2", "< 3" ] + 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" ] spec.add_runtime_dependency "domain_name", [ ">= 0.5.1", "~> 0.5" ]