actioncable 8.0.0.1 → 8.0.2
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 +20 -0
- data/lib/action_cable/connection/test_case.rb +2 -5
- data/lib/action_cable/gem_version.rb +2 -2
- data/lib/action_cable/subscription_adapter/postgresql.rb +5 -6
- 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: 6d3e66597e8d551746c5342b0c1136f809e75f096cc1089ba64f29473cbb272a
|
4
|
+
data.tar.gz: d57988339ac844f7348ba389a1deb2376f001bc451ba181924515e99b165d4cd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 39cea59bfec3bdb771f7d3ad410563fb7115e824ac0d9cdaa992e2968d2142b423aeaab19b80b91955a9a18496c6ba1997e041c93b285b23173a10d7ece8fd22
|
7
|
+
data.tar.gz: c1d6d4493605203f6949576b2cfb1481c84f1a03ac4b63cee6424b3847c54f37367050b67e544f06697250c57e82df019772b57066ebe576dac231af690540ec
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,23 @@
|
|
1
|
+
## Rails 8.0.2 (March 12, 2025) ##
|
2
|
+
|
3
|
+
* No changes.
|
4
|
+
|
5
|
+
|
6
|
+
## Rails 8.0.2 (March 12, 2025) ##
|
7
|
+
|
8
|
+
* No changes.
|
9
|
+
|
10
|
+
|
11
|
+
## Rails 8.0.1 (December 13, 2024) ##
|
12
|
+
|
13
|
+
* Ensure the Postgresql adapter always use a dedicated connection even during system tests.
|
14
|
+
|
15
|
+
Fix an issue with the Action Cable Postgresql adapter causing deadlock or various weird
|
16
|
+
pg client error during system tests.
|
17
|
+
|
18
|
+
*Jean Boussier*
|
19
|
+
|
20
|
+
|
1
21
|
## Rails 8.0.0.1 (December 10, 2024) ##
|
2
22
|
|
3
23
|
* No changes.
|
@@ -75,11 +75,8 @@ module ActionCable
|
|
75
75
|
#
|
76
76
|
# ## Basic example
|
77
77
|
#
|
78
|
-
# Unit tests are written
|
79
|
-
#
|
80
|
-
# 1. Simulate a connection attempt by calling `connect`.
|
81
|
-
# 2. Assert state, e.g. identifiers, has been assigned.
|
82
|
-
#
|
78
|
+
# Unit tests are written by first simulating a connection attempt by calling
|
79
|
+
# `connect` and then asserting state, e.g. identifiers, have been assigned.
|
83
80
|
#
|
84
81
|
# class ApplicationCable::ConnectionTest < ActionCable::Connection::TestCase
|
85
82
|
# def test_connects_with_proper_cookie
|
@@ -35,18 +35,17 @@ module ActionCable
|
|
35
35
|
end
|
36
36
|
|
37
37
|
def with_subscriptions_connection(&block) # :nodoc:
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
end
|
38
|
+
# Action Cable is taking ownership over this database connection, and will
|
39
|
+
# perform the necessary cleanup tasks.
|
40
|
+
# We purposedly avoid #checkout to not end up with a pinned connection
|
41
|
+
ar_conn = ActiveRecord::Base.connection_pool.new_connection
|
43
42
|
pg_conn = ar_conn.raw_connection
|
44
43
|
|
45
44
|
verify!(pg_conn)
|
46
45
|
pg_conn.exec("SET application_name = #{pg_conn.escape_identifier(identifier)}")
|
47
46
|
yield pg_conn
|
48
47
|
ensure
|
49
|
-
ar_conn
|
48
|
+
ar_conn&.disconnect!
|
50
49
|
end
|
51
50
|
|
52
51
|
def with_broadcast_connection(&block) # :nodoc:
|
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: 8.0.
|
4
|
+
version: 8.0.2
|
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: 2025-03-12 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: 8.0.
|
19
|
+
version: 8.0.2
|
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: 8.0.
|
26
|
+
version: 8.0.2
|
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: 8.0.
|
33
|
+
version: 8.0.2
|
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: 8.0.
|
40
|
+
version: 8.0.2
|
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/v8.0.
|
158
|
-
documentation_uri: https://api.rubyonrails.org/v8.0.
|
156
|
+
changelog_uri: https://github.com/rails/rails/blob/v8.0.2/actioncable/CHANGELOG.md
|
157
|
+
documentation_uri: https://api.rubyonrails.org/v8.0.2/
|
159
158
|
mailing_list_uri: https://discuss.rubyonrails.org/c/rubyonrails-talk
|
160
|
-
source_code_uri: https://github.com/rails/rails/tree/v8.0.
|
159
|
+
source_code_uri: https://github.com/rails/rails/tree/v8.0.2/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.2
|
179
176
|
specification_version: 4
|
180
177
|
summary: WebSocket framework for Rails.
|
181
178
|
test_files: []
|