ncore 2.3.2 → 2.3.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7794c341283c6e1ff3f7014e9f706d882c168b4eca9b8573caae51d88ce6fcf3
4
- data.tar.gz: d12dcc65c24b2774ec2f23d769b1f1b0e6caecf477f88d059f671b4ef4f4c8bc
3
+ metadata.gz: 57e1ee1a969b6a8679b297f537fe6d2c6d95418d75db88cce96c8342e3ff29ac
4
+ data.tar.gz: 45b8e54512221b1510ed57a9c594d2818cf4b1b86dce448145d1786422c8e788
5
5
  SHA512:
6
- metadata.gz: 179fafbde6fd33667de8935e14594b950d8183e597d7612eead1cc6582407070f22529aa66c1df47fd8dd2427ec6a229021dcb739f9bd111a24038875b6aa935
7
- data.tar.gz: d8d1c0f29e207a057eaa6ff93bdd3b532c6888ed5c19c7057f8fb3c27ee0548f6e411cea0d1dfa728456a0aa562ffadc278466443dc5ab05da2d76bb2ea0147a
6
+ metadata.gz: a9b61a2fcba5cdd6640b37ba99400acd45348ae4ee65d51f56b4cb3a25a180670e3b4b02a53276b68fca0e77d5c669e0a835fe7c7057df9006e8e71e7b797080
7
+ data.tar.gz: 7e146be87089170ce8fd889bcfc3c055caf476f918297707d174bc86ad395db7eaafc61e3c0e49c912b90909b675a61eec35b97d0be36897f8a7bec7d9bbd4c0
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ #### 2.3.3
2
+
3
+ - Improve keepalive handling
4
+
1
5
  #### 2.3.2
2
6
 
3
7
  - Allow ActiveSupport 7.0
data/lib/ncore/client.rb CHANGED
@@ -175,7 +175,8 @@ module NCore
175
175
  begin
176
176
  tries += 1
177
177
  response = connection.request rest_opts.except(:url)
178
- rescue Excon::Errors::SocketError, Excon::Error::Timeout, Errno::EADDRNOTAVAIL => e
178
+ rescue Excon::Error::Socket, Excon::Errors::SocketError, Excon::Error::Timeout,
179
+ Errno::EADDRNOTAVAIL, Errno::ECONNRESET => e
179
180
  # retry when keepalive was closed
180
181
  if tries <= 1 #&& e.message =~ /end of file reached/
181
182
  retry
data/lib/ncore/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module NCore
2
- VERSION = '2.3.2'
2
+ VERSION = '2.3.3'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ncore
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.2
4
+ version: 2.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Notioneer Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-10-20 00:00:00.000000000 Z
11
+ date: 2022-12-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -139,7 +139,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
139
139
  - !ruby/object:Gem::Version
140
140
  version: '0'
141
141
  requirements: []
142
- rubygems_version: 3.2.15
142
+ rubygems_version: 3.2.33
143
143
  signing_key:
144
144
  specification_version: 4
145
145
  summary: NCore - Gem for building REST API clients