Permalink
Browse files

Retain support for net-http-persistent 2.x

  • Loading branch information...
knu committed Aug 7, 2017
1 parent 7cb736e commit f68b1a0bdeee9ec7c9a8b7854f8e6b81d62c43b2
Showing with 2 additions and 2 deletions.
  1. +2 −2 mechanize.gemspec
View
@@ -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" ]

0 comments on commit f68b1a0

Please sign in to comment.