net_http_timeout_errors 1.0.0 → 1.1.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e31d12eb2f78ce8dfa713552cff64a9c9e014929735183d24a987031960b36df
4
- data.tar.gz: a6b2cdf4aeb00dca6e973feb9d0b6481425dc44311e7d33f4f00bdb22c2633c5
3
+ metadata.gz: 8007ea2979dcea48b4c9599b684e2f233a3b74030c4d0aa47622790fc3acf3c0
4
+ data.tar.gz: c5368ae016ec50854a88abc440592c42a66f6cda80a499ce85081c22db697982
5
5
  SHA512:
6
- metadata.gz: 12340ef5ebacd35ddb80a4091273c8e9ea34d30c9a9f3d2bb7e38748b0582808cad33524a42ad95eabefcd7a718b9645d080cd5009c5354663b0ebf8409a135e
7
- data.tar.gz: ec5e968b16c641f573a192ddacf517094462ac67a48de5b0a381c7185fae4e6979b1eb8448c429ef39ee409d5fd892f14575534dcf676c119fcdac05ddcf7958
6
+ metadata.gz: dec44ce98a9a190563ea909e4e97c55c02701062b98651e6a5fbb42097f2183db4b7ca8509b6ab34926ffeebdcc234685b6403c5fa575250ba51282637d3a314
7
+ data.tar.gz: dc38da7108fb3370703825648b7566da297173bb4e5d45395271cef4f68abdeddd4cb8428b1e14d114e4ce39919bfa0d8c040904e3ab25a1654d724154b90893
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ # 1.1.0
4
+
5
+ * Added `Errno::ENOTSOCK`.
6
+
3
7
  ## 1.0.0
4
8
 
5
9
  * Added `OpenSSL::SSL::SSLError`.
@@ -1,3 +1,3 @@
1
1
  class NetHttpTimeoutErrors
2
- VERSION = "1.0.0"
2
+ VERSION = "1.1.0"
3
3
  end
@@ -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.0.0
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-02-09 00:00:00.000000000 Z
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.3
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.