actioncable 7.1.3.3 → 7.1.4
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 +10 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bcb9c7c9a5656d7542bcd83654111600cbf90500a20ebf26264983038398ef85
|
4
|
+
data.tar.gz: 0f5b700f5ec9ad8f8a50652e8964749eb95c873dc6bcb7c6c29758e712cea8ab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6a75b8e647d3777b8d121a3c87555471d779a87e12b9a4f76509cb67fb19de9f4140dd531ce21bc6ec8213a20d80a2205988108fb94f70e81bc956d90c683806
|
7
|
+
data.tar.gz: f750ec3c1f36d6ea9667fc5100f53d82e85a1b4db2cfe7b0a9e5ffdd0a87c6297a95a12c0dc981301b8a7c2cbeabdbd1565614c526f0c3b162778464a179bbb3
|
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,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.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pratik Naik
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2024-
|
12
|
+
date: 2024-08-22 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
|
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
|
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
|
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
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: nio4r
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
@@ -154,10 +154,10 @@ 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/actioncable/CHANGELOG.md
|
158
|
+
documentation_uri: https://api.rubyonrails.org/v7.1.4/
|
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/actioncable
|
161
161
|
rubygems_mfa_required: 'true'
|
162
162
|
post_install_message:
|
163
163
|
rdoc_options: []
|
@@ -174,7 +174,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
174
174
|
- !ruby/object:Gem::Version
|
175
175
|
version: '0'
|
176
176
|
requirements: []
|
177
|
-
rubygems_version: 3.5.
|
177
|
+
rubygems_version: 3.5.11
|
178
178
|
signing_key:
|
179
179
|
specification_version: 4
|
180
180
|
summary: WebSocket framework for Rails.
|