actioncable 7.1.3.4 → 7.1.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/lib/action_cable/channel/test_case.rb +3 -3
- data/lib/action_cable/gem_version.rb +2 -2
- data/lib/action_cable/test_helper.rb +3 -7
- data/lib/action_cable.rb +1 -1
- metadata +13 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 599950c16027b20aa34e453fb7337588434e9143caabe7cfadd6b64496daf14a
|
4
|
+
data.tar.gz: c5892e53252def1e67d10192f6f3c30596565390bf1ad3f47f8811b55b8be03d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 741b6ab440b1f6cc4d0aba2915007cb0bb5c48425272e5852fb8f9f670ef28f873f2371c7c86883d8932750568c2e55655aa5f66d3e94e9080cce9e2254ed258
|
7
|
+
data.tar.gz: 57797db4028953cd225fbcbb16ad3066feb14994fde8a096af34a9c7c76524d9f4321d79085770802f6cc86876f22c39bc22a724dad5fa43c430cacf9c6b09f2
|
data/CHANGELOG.md
CHANGED
@@ -140,11 +140,11 @@ module ActionCable
|
|
140
140
|
# ActionCable::Channel::TestCase will also automatically provide the following instance
|
141
141
|
# methods for use in the tests:
|
142
142
|
#
|
143
|
-
#
|
143
|
+
# connection::
|
144
144
|
# An ActionCable::Channel::ConnectionStub, representing the current HTTP connection.
|
145
|
-
#
|
145
|
+
# subscription::
|
146
146
|
# An instance of the current channel, created when you call +subscribe+.
|
147
|
-
#
|
147
|
+
# transmissions::
|
148
148
|
# A list of all messages that have been transmitted into the channel.
|
149
149
|
#
|
150
150
|
#
|
@@ -29,21 +29,17 @@ module ActionCable
|
|
29
29
|
# end
|
30
30
|
#
|
31
31
|
# If a block is passed, that block should cause the specified number of
|
32
|
-
# messages to be broadcasted.
|
32
|
+
# messages to be broadcasted.
|
33
33
|
#
|
34
34
|
# def test_broadcasts_again
|
35
|
-
#
|
35
|
+
# assert_broadcasts('messages', 1) do
|
36
36
|
# ActionCable.server.broadcast 'messages', { text: 'hello' }
|
37
37
|
# end
|
38
|
-
# assert_equal({ text: 'hello' }, message)
|
39
38
|
#
|
40
|
-
#
|
39
|
+
# assert_broadcasts('messages', 2) do
|
41
40
|
# ActionCable.server.broadcast 'messages', { text: 'hi' }
|
42
41
|
# ActionCable.server.broadcast 'messages', { text: 'how are you?' }
|
43
42
|
# end
|
44
|
-
# assert_equal 2, messages.length
|
45
|
-
# assert_equal({ text: 'hi' }, messages.first)
|
46
|
-
# assert_equal({ text: 'how are you?' }, messages.last)
|
47
43
|
# end
|
48
44
|
#
|
49
45
|
def assert_broadcasts(stream, number, &block)
|
data/lib/action_cable.rb
CHANGED
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
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.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pratik Naik
|
8
8
|
- David Heinemeier Hansson
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2024-
|
12
|
+
date: 2024-10-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|
@@ -17,28 +17,28 @@ dependencies:
|
|
17
17
|
requirements:
|
18
18
|
- - '='
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: 7.1.
|
20
|
+
version: 7.1.4.1
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
25
|
- - '='
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
version: 7.1.
|
27
|
+
version: 7.1.4.1
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: actionpack
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
31
31
|
requirements:
|
32
32
|
- - '='
|
33
33
|
- !ruby/object:Gem::Version
|
34
|
-
version: 7.1.
|
34
|
+
version: 7.1.4.1
|
35
35
|
type: :runtime
|
36
36
|
prerelease: false
|
37
37
|
version_requirements: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
39
|
- - '='
|
40
40
|
- !ruby/object:Gem::Version
|
41
|
-
version: 7.1.
|
41
|
+
version: 7.1.4.1
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: nio4r
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
@@ -154,12 +154,12 @@ licenses:
|
|
154
154
|
- MIT
|
155
155
|
metadata:
|
156
156
|
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.
|
157
|
+
changelog_uri: https://github.com/rails/rails/blob/v7.1.4.1/actioncable/CHANGELOG.md
|
158
|
+
documentation_uri: https://api.rubyonrails.org/v7.1.4.1/
|
159
159
|
mailing_list_uri: https://discuss.rubyonrails.org/c/rubyonrails-talk
|
160
|
-
source_code_uri: https://github.com/rails/rails/tree/v7.1.
|
160
|
+
source_code_uri: https://github.com/rails/rails/tree/v7.1.4.1/actioncable
|
161
161
|
rubygems_mfa_required: 'true'
|
162
|
-
post_install_message:
|
162
|
+
post_install_message:
|
163
163
|
rdoc_options: []
|
164
164
|
require_paths:
|
165
165
|
- lib
|
@@ -174,8 +174,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
174
174
|
- !ruby/object:Gem::Version
|
175
175
|
version: '0'
|
176
176
|
requirements: []
|
177
|
-
rubygems_version: 3.
|
178
|
-
signing_key:
|
177
|
+
rubygems_version: 3.5.16
|
178
|
+
signing_key:
|
179
179
|
specification_version: 4
|
180
180
|
summary: WebSocket framework for Rails.
|
181
181
|
test_files: []
|