actioncable 7.1.5.1 → 7.1.6

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: edd9d86e9fbca1d2b24d81d798d1a50eac2fe0f33f5b9a6b623c3a0e8d02ac7d
4
- data.tar.gz: bd9c7fca8f92dd7e0b6a6dc30e8a2c8ba221baf08da2a1ca9b56ade8e27505f8
3
+ metadata.gz: 633e066f3d2faf6c9301e696309fdf3a4b459152c3e59b91b4c2621c6e5b1581
4
+ data.tar.gz: fc319b24d9d5daf74c5f61879a68fd0f3722a68c2ea903e9ab1e42b59dcba78c
5
5
  SHA512:
6
- metadata.gz: 78049f1d0b8779d8202b3ce9ae6feee445b6200065c5eb78103a662d18a2015f890ff6662bb9df1bf5d8da34a03f7a5bb7af81709f13851b13894ba2432d3a1f
7
- data.tar.gz: e403b191bafc0f75694adbb8727b7be7f17acb855314ddffe5a860a57c17a471c62ce7ebcb4526af815e3ffe98f24218197f2216533f0341063fe6f8ab664b9a
6
+ metadata.gz: 7470625215e32d40b96fb6e8d68001fe7b3b03be8d97e4db5e28217ada890f3298fe72aaccc48f9782908796a506696d86e8bb101b5cd73e4d8401774781b4f3
7
+ data.tar.gz: b990a4cfceaf3d0e65e9c4aa92c42ae762da5f96fd0547accb2b108168125b4c5650f1475e9d193238988be9fd94c1e48bc51a7c76e70a2d017bd298d3e2aa32
data/CHANGELOG.md CHANGED
@@ -1,3 +1,15 @@
1
+ ## Rails 7.1.6 (October 28, 2025) ##
2
+
3
+ * Fixed compatibility with `redis` gem `5.4.1`
4
+
5
+ *Jean Boussier*
6
+
7
+
8
+ ## Rails 7.1.5.2 (August 13, 2025) ##
9
+
10
+ * No changes.
11
+
12
+
1
13
  ## Rails 7.1.5.1 (December 10, 2024) ##
2
14
 
3
15
  * No changes.
@@ -9,8 +9,8 @@ module ActionCable
9
9
  module VERSION
10
10
  MAJOR = 7
11
11
  MINOR = 1
12
- TINY = 5
13
- PRE = "1"
12
+ TINY = 6
13
+ PRE = nil
14
14
 
15
15
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
16
16
  end
@@ -161,7 +161,7 @@ module ActionCable
161
161
  begin
162
162
  conn = @adapter.redis_connection_for_subscriptions
163
163
  listen conn
164
- rescue ConnectionError
164
+ rescue *CONNECTION_ERRORS
165
165
  reset
166
166
  if retry_connecting?
167
167
  when_connected { resubscribe }
@@ -207,7 +207,7 @@ module ActionCable
207
207
  end
208
208
 
209
209
  if ::Redis::VERSION < "5"
210
- ConnectionError = ::Redis::BaseConnectionError
210
+ CONNECTION_ERRORS = [::Redis::BaseConnectionError].freeze
211
211
 
212
212
  class SubscribedClient
213
213
  def initialize(raw_client)
@@ -241,7 +241,12 @@ module ActionCable
241
241
  SubscribedClient.new(conn._client)
242
242
  end
243
243
  else
244
- ConnectionError = RedisClient::ConnectionError
244
+ CONNECTION_ERRORS = [
245
+ ::Redis::BaseConnectionError,
246
+
247
+ # Some older versions of redis-rb sometime leak underlying exceptions
248
+ RedisClient::ConnectionError,
249
+ ].freeze
245
250
 
246
251
  def extract_subscribed_client(conn)
247
252
  conn
metadata CHANGED
@@ -1,15 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: actioncable
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.1.5.1
4
+ version: 7.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pratik Naik
8
8
  - David Heinemeier Hansson
9
- autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2024-12-10 00:00:00.000000000 Z
11
+ date: 1980-01-02 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: activesupport
@@ -17,28 +16,28 @@ dependencies:
17
16
  requirements:
18
17
  - - '='
19
18
  - !ruby/object:Gem::Version
20
- version: 7.1.5.1
19
+ version: 7.1.6
21
20
  type: :runtime
22
21
  prerelease: false
23
22
  version_requirements: !ruby/object:Gem::Requirement
24
23
  requirements:
25
24
  - - '='
26
25
  - !ruby/object:Gem::Version
27
- version: 7.1.5.1
26
+ version: 7.1.6
28
27
  - !ruby/object:Gem::Dependency
29
28
  name: actionpack
30
29
  requirement: !ruby/object:Gem::Requirement
31
30
  requirements:
32
31
  - - '='
33
32
  - !ruby/object:Gem::Version
34
- version: 7.1.5.1
33
+ version: 7.1.6
35
34
  type: :runtime
36
35
  prerelease: false
37
36
  version_requirements: !ruby/object:Gem::Requirement
38
37
  requirements:
39
38
  - - '='
40
39
  - !ruby/object:Gem::Version
41
- version: 7.1.5.1
40
+ version: 7.1.6
42
41
  - !ruby/object:Gem::Dependency
43
42
  name: nio4r
44
43
  requirement: !ruby/object:Gem::Requirement
@@ -154,12 +153,11 @@ licenses:
154
153
  - MIT
155
154
  metadata:
156
155
  bug_tracker_uri: https://github.com/rails/rails/issues
157
- changelog_uri: https://github.com/rails/rails/blob/v7.1.5.1/actioncable/CHANGELOG.md
158
- documentation_uri: https://api.rubyonrails.org/v7.1.5.1/
156
+ changelog_uri: https://github.com/rails/rails/blob/v7.1.6/actioncable/CHANGELOG.md
157
+ documentation_uri: https://api.rubyonrails.org/v7.1.6/
159
158
  mailing_list_uri: https://discuss.rubyonrails.org/c/rubyonrails-talk
160
- source_code_uri: https://github.com/rails/rails/tree/v7.1.5.1/actioncable
159
+ source_code_uri: https://github.com/rails/rails/tree/v7.1.6/actioncable
161
160
  rubygems_mfa_required: 'true'
162
- post_install_message:
163
161
  rdoc_options: []
164
162
  require_paths:
165
163
  - lib
@@ -174,8 +172,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
174
172
  - !ruby/object:Gem::Version
175
173
  version: '0'
176
174
  requirements: []
177
- rubygems_version: 3.5.22
178
- signing_key:
175
+ rubygems_version: 3.6.9
179
176
  specification_version: 4
180
177
  summary: WebSocket framework for Rails.
181
178
  test_files: []