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 +4 -4
- data/CHANGELOG.md +12 -0
- data/lib/action_cable/gem_version.rb +2 -2
- data/lib/action_cable/subscription_adapter/redis.rb +8 -3
- metadata +10 -13
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 633e066f3d2faf6c9301e696309fdf3a4b459152c3e59b91b4c2621c6e5b1581
|
|
4
|
+
data.tar.gz: fc319b24d9d5daf74c5f61879a68fd0f3722a68c2ea903e9ab1e42b59dcba78c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7470625215e32d40b96fb6e8d68001fe7b3b03be8d97e4db5e28217ada890f3298fe72aaccc48f9782908796a506696d86e8bb101b5cd73e4d8401774781b4f3
|
|
7
|
+
data.tar.gz: b990a4cfceaf3d0e65e9c4aa92c42ae762da5f96fd0547accb2b108168125b4c5650f1475e9d193238988be9fd94c1e48bc51a7c76e70a2d017bd298d3e2aa32
|
data/CHANGELOG.md
CHANGED
|
@@ -161,7 +161,7 @@ module ActionCable
|
|
|
161
161
|
begin
|
|
162
162
|
conn = @adapter.redis_connection_for_subscriptions
|
|
163
163
|
listen conn
|
|
164
|
-
rescue
|
|
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
|
-
|
|
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
|
-
|
|
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.
|
|
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:
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
158
|
-
documentation_uri: https://api.rubyonrails.org/v7.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.
|
|
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.
|
|
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: []
|