diff options
author | Samuel Giddins <segiddins@segiddins.me> | 2016-11-28 12:57:59 -0600 |
---|---|---|
committer | Samuel Giddins <segiddins@segiddins.me> | 2016-11-28 12:57:59 -0600 |
commit | 6ba767d3cfab068cf0622495686939b022c6e20d (patch) | |
tree | 555cbb029f7a08d647e85d5e4382ce47b889a98c /lib/bundler/fetcher.rb | |
parent | c5efd85580d6a6d40442393f1f2d21c6db1306e1 (diff) | |
download | bundler-6ba767d3cfab068cf0622495686939b022c6e20d.tar.gz |
Vendor net-http-persistent with automatiekseg-vendor-persistent
Diffstat (limited to 'lib/bundler/fetcher.rb')
-rw-r--r-- | lib/bundler/fetcher.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bundler/fetcher.rb b/lib/bundler/fetcher.rb index 0e890d491c..9e208e4957 100644 --- a/lib/bundler/fetcher.rb +++ b/lib/bundler/fetcher.rb @@ -237,7 +237,7 @@ module Bundler Bundler.settings[:ssl_client_cert] raise SSLError if needs_ssl && !defined?(OpenSSL::SSL) - con = Net::HTTP::Persistent.new "bundler", :ENV + con = Bundler::Persistent::Net::HTTP::Persistent.new "bundler", :ENV if gem_proxy = Bundler.rubygems.configuration[:http_proxy] con.proxy = URI.parse(gem_proxy) if gem_proxy != :no_proxy end @@ -273,7 +273,7 @@ module Bundler Timeout::Error, EOFError, SocketError, Errno::ENETDOWN, Errno::ENETUNREACH, Errno::EINVAL, Errno::ECONNRESET, Errno::ETIMEDOUT, Errno::EAGAIN, Net::HTTPBadResponse, Net::HTTPHeaderSyntaxError, Net::ProtocolError, - Net::HTTP::Persistent::Error, Zlib::BufError, Errno::EHOSTUNREACH + Bundler::Persistent::Net::HTTP::Persistent::Error, Zlib::BufError, Errno::EHOSTUNREACH ].freeze def bundler_cert_store |