actioncable 7.1.5.2 → 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 +7 -0
- data/lib/action_cable/gem_version.rb +2 -2
- data/lib/action_cable/subscription_adapter/redis.rb +8 -3
- metadata +8 -8
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,7 +1,7 @@
|
|
|
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
|
|
@@ -16,28 +16,28 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - '='
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: 7.1.
|
|
19
|
+
version: 7.1.6
|
|
20
20
|
type: :runtime
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
24
|
- - '='
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
|
-
version: 7.1.
|
|
26
|
+
version: 7.1.6
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: actionpack
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
|
30
30
|
requirements:
|
|
31
31
|
- - '='
|
|
32
32
|
- !ruby/object:Gem::Version
|
|
33
|
-
version: 7.1.
|
|
33
|
+
version: 7.1.6
|
|
34
34
|
type: :runtime
|
|
35
35
|
prerelease: false
|
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
37
|
requirements:
|
|
38
38
|
- - '='
|
|
39
39
|
- !ruby/object:Gem::Version
|
|
40
|
-
version: 7.1.
|
|
40
|
+
version: 7.1.6
|
|
41
41
|
- !ruby/object:Gem::Dependency
|
|
42
42
|
name: nio4r
|
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -153,10 +153,10 @@ licenses:
|
|
|
153
153
|
- MIT
|
|
154
154
|
metadata:
|
|
155
155
|
bug_tracker_uri: https://github.com/rails/rails/issues
|
|
156
|
-
changelog_uri: https://github.com/rails/rails/blob/v7.1.
|
|
157
|
-
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/
|
|
158
158
|
mailing_list_uri: https://discuss.rubyonrails.org/c/rubyonrails-talk
|
|
159
|
-
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
|
|
160
160
|
rubygems_mfa_required: 'true'
|
|
161
161
|
rdoc_options: []
|
|
162
162
|
require_paths:
|