net_http_timeout_errors 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/net_http_timeout_errors/version.rb +1 -1
- data/lib/net_http_timeout_errors.rb +4 -3
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8007ea2979dcea48b4c9599b684e2f233a3b74030c4d0aa47622790fc3acf3c0
|
4
|
+
data.tar.gz: c5368ae016ec50854a88abc440592c42a66f6cda80a499ce85081c22db697982
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dec44ce98a9a190563ea909e4e97c55c02701062b98651e6a5fbb42097f2183db4b7ca8509b6ab34926ffeebdcc234685b6403c5fa575250ba51282637d3a314
|
7
|
+
data.tar.gz: dc38da7108fb3370703825648b7566da297173bb4e5d45395271cef4f68abdeddd4cb8428b1e14d114e4ce39919bfa0d8c040904e3ab25a1654d724154b90893
|
data/CHANGELOG.md
CHANGED
@@ -13,22 +13,23 @@ class NetHttpTimeoutErrors
|
|
13
13
|
def self.all
|
14
14
|
# Based on the errors listed in https://ruby-doc.org/stdlib-2.7.1/libdoc/net/http/rdoc/Net/HTTP.html#method-i-max_retries-3D.
|
15
15
|
[
|
16
|
-
Net::ReadTimeout,
|
17
16
|
EOFError,
|
18
|
-
Errno::ECONNRESET,
|
19
17
|
Errno::ECONNABORTED,
|
20
18
|
Errno::ECONNREFUSED,
|
19
|
+
Errno::ECONNRESET,
|
21
20
|
Errno::EHOSTUNREACH,
|
22
21
|
Errno::EINVAL,
|
23
22
|
Errno::ENETUNREACH,
|
23
|
+
Errno::ENOTSOCK,
|
24
24
|
Errno::EPIPE,
|
25
25
|
Errno::ETIMEDOUT,
|
26
26
|
Net::HTTPBadResponse,
|
27
27
|
Net::HTTPHeaderSyntaxError,
|
28
28
|
Net::ProtocolError,
|
29
|
+
Net::ReadTimeout,
|
30
|
+
OpenSSL::SSL::SSLError,
|
29
31
|
SocketError,
|
30
32
|
Timeout::Error, # Also covers subclasses like Net::OpenTimeout.
|
31
|
-
OpenSSL::SSL::SSLError,
|
32
33
|
]
|
33
34
|
end
|
34
35
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: net_http_timeout_errors
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Henrik Nyh
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-07-04 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description:
|
14
14
|
email:
|
@@ -49,7 +49,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
49
49
|
- !ruby/object:Gem::Version
|
50
50
|
version: '0'
|
51
51
|
requirements: []
|
52
|
-
rubygems_version: 3.4.
|
52
|
+
rubygems_version: 3.4.12
|
53
53
|
signing_key:
|
54
54
|
specification_version: 4
|
55
55
|
summary: Provides a list of Net::HTTP timeout errors.
|