active_utils 3.5.0 → 3.6.1

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.
@@ -50,6 +50,15 @@ class NetworkConnectionRetriesTest < Minitest::Test
50
50
  assert_equal "The remote server address is not available", raised.message
51
51
  end
52
52
 
53
+ def test_enetunreach_raises_correctly
54
+ raised = assert_raises(ActiveUtils::ConnectionError) do
55
+ retry_exceptions do
56
+ raise Errno::ENETUNREACH
57
+ end
58
+ end
59
+ assert_equal "The destination network is unreachable", raised.message
60
+ end
61
+
53
62
  def test_timeout_errors_raise_correctly
54
63
  exceptions = [Timeout::Error, Errno::ETIMEDOUT]
55
64
  if RUBY_VERSION >= '2.0.0'
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_utils
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.5.0
4
+ version: 3.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shopify
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-02-05 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: activesupport
@@ -145,7 +145,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
145
145
  - !ruby/object:Gem::Version
146
146
  version: '0'
147
147
  requirements: []
148
- rubygems_version: 3.6.3
148
+ rubygems_version: 4.0.19
149
149
  specification_version: 4
150
150
  summary: Common utils used by active_merchant, active_fulfillment, and active_shipping
151
151
  test_files: []