network-client 2.0.2 → 2.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/network/client.rb +7 -1
- data/lib/network/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2d7f478564c5afe9e7d41ae4009429f98f3c3f0f
|
4
|
+
data.tar.gz: 73da0d7a5594367d467fced899da1b2e78fa09ba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eccc54f44f01a27b148bc60b84920908d222f28c3bdba64b2b277d08b3c1371081380df0b8b867d5faad8bbe4cb01141ec162b0de273e0775aa8ed1635551122
|
7
|
+
data.tar.gz: cd7a5b4873712dc0f77abb937c570a8c0c32afcdc21beb4b9f0966989b52d60b8cd8719474c4d65c3bd2b71fa6faba2690e408a77720980072ebb1e0edcf6087
|
data/Gemfile.lock
CHANGED
data/lib/network/client.rb
CHANGED
@@ -243,10 +243,16 @@ module Network
|
|
243
243
|
Net::OpenTimeout,
|
244
244
|
Errno::ECONNREFUSED,
|
245
245
|
Errno::ETIMEDOUT,
|
246
|
+
Errno::ECONNRESET,
|
247
|
+
Errno::EHOSTUNREACH,
|
248
|
+
Timeout::Error,
|
246
249
|
OpenSSL::SSL::SSLError,
|
250
|
+
EOFError,
|
247
251
|
SocketError]
|
248
252
|
@errors_to_propagate = [Net::HTTPRequestURITooLarge,
|
249
|
-
Net::HTTPMethodNotAllowed
|
253
|
+
Net::HTTPMethodNotAllowed,
|
254
|
+
Zlib::BufError,
|
255
|
+
OpenSSL::X509::CertificateError]
|
250
256
|
end
|
251
257
|
|
252
258
|
def request_json(http_method, path, params, headers)
|
data/lib/network/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: network-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Abdullah Barrak (abarrak)
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-04-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|