Skip to content

Commit

Permalink
Retain support for net-http-persistent 2.x
Browse files Browse the repository at this point in the history
  • Loading branch information
knu committed Aug 7, 2017
1 parent 7cb736e commit f68b1a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mechanize.gemspec
Expand Up @@ -48,10 +48,10 @@ Gem::Specification.new do |spec|
spec.add_runtime_dependency "net-http-digest_auth", [ ">= 1.1.1", "~> 1.1" ]
if RUBY_VERSION >= "2.0"
spec.add_runtime_dependency "mime-types", [ ">= 1.17.2" ]
spec.add_runtime_dependency "net-http-persistent", [ "~> 3.0" ]
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" ]
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" ]
Expand Down

0 comments on commit f68b1a0

Please sign in to comment.