net-http-persistent 2.9.2 → 2.9.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/History.txt +6 -0
- data/lib/net/http/persistent.rb +4 -4
- data/test/test_net_http_persistent.rb +9 -0
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6486434d410797711f183ac5f05b2549d36abb07
|
|
4
|
+
data.tar.gz: e9b3fc2c439abd9c3d948e07981854b22c2bb3f7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 129d67362f41194c03d6ef28ac6a6964b54be83c7f4eead857b445afdc4a0c6f64f99153af45f9d3453266869db7b2f12a0db033b4edda3fa8dd747448462a0b
|
|
7
|
+
data.tar.gz: e4cf01fdfaadc12b9f2c9af916e6c62b4001b8256df14eea9a92ea4297335aceffa67d1a6a686f01dcd8f4932adc2b2ca0dc567fd735bdfa5ce6885f8d2f49b1
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data.tar.gz.sig
CHANGED
|
Binary file
|
data/History.txt
CHANGED
data/lib/net/http/persistent.rb
CHANGED
|
@@ -203,7 +203,7 @@ class Net::HTTP::Persistent
|
|
|
203
203
|
##
|
|
204
204
|
# The version of Net::HTTP::Persistent you are using
|
|
205
205
|
|
|
206
|
-
VERSION = '2.9.
|
|
206
|
+
VERSION = '2.9.3'
|
|
207
207
|
|
|
208
208
|
##
|
|
209
209
|
# Exceptions rescued for automatic retry on ruby 2.0.0. This overlaps with
|
|
@@ -863,10 +863,10 @@ class Net::HTTP::Persistent
|
|
|
863
863
|
|
|
864
864
|
@no_proxy.clear
|
|
865
865
|
|
|
866
|
-
@proxy_uri.user = unescape @proxy_uri.user
|
|
867
|
-
@proxy_uri.password = unescape @proxy_uri.password
|
|
868
|
-
|
|
869
866
|
if @proxy_uri then
|
|
867
|
+
@proxy_uri.user = unescape @proxy_uri.user
|
|
868
|
+
@proxy_uri.password = unescape @proxy_uri.password
|
|
869
|
+
|
|
870
870
|
@proxy_args = [
|
|
871
871
|
@proxy_uri.host,
|
|
872
872
|
@proxy_uri.port,
|
|
@@ -805,6 +805,15 @@ class TestNetHttpPersistent < Minitest::Test
|
|
|
805
805
|
assert_equal 1, @http.ssl_generation, 'ssl_generation'
|
|
806
806
|
end
|
|
807
807
|
|
|
808
|
+
def test_proxy_equals_nil
|
|
809
|
+
@http.proxy = nil
|
|
810
|
+
|
|
811
|
+
assert_equal nil, @http.proxy_uri
|
|
812
|
+
|
|
813
|
+
assert_equal 1, @http.generation, 'generation'
|
|
814
|
+
assert_equal 1, @http.ssl_generation, 'ssl_generation'
|
|
815
|
+
end
|
|
816
|
+
|
|
808
817
|
def test_proxy_equals_uri
|
|
809
818
|
proxy_uri = URI.parse 'http://proxy.example'
|
|
810
819
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: net-http-persistent
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.9.
|
|
4
|
+
version: 2.9.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Eric Hodel
|
|
@@ -30,7 +30,7 @@ cert_chain:
|
|
|
30
30
|
KDyY1VIazVgoC8XvR4h/95/iScPiuglzA+DBG1hip1xScAtw05BrXyUNrc9CEMYU
|
|
31
31
|
wgF94UVoHRp6ywo8I7NP3HcwFQDFNEZPNGXsng==
|
|
32
32
|
-----END CERTIFICATE-----
|
|
33
|
-
date: 2014-02-
|
|
33
|
+
date: 2014-02-07 00:00:00.000000000 Z
|
|
34
34
|
dependencies:
|
|
35
35
|
- !ruby/object:Gem::Dependency
|
|
36
36
|
name: minitest
|
metadata.gz.sig
CHANGED
|
Binary file
|