actioncable 7.0.2.2 → 7.0.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a64d44431e43fa79e3aa488cb2ea8ecbe4d93f2a475c08296abaac1fda744013
4
- data.tar.gz: a9347a3ede22c2f94fe8b960c49e241449a839ef9ac186ce7ac1512591db9b11
3
+ metadata.gz: 7294e8477c23e63558167989d2cde088da65d58289884a00940cfc83d7ed8549
4
+ data.tar.gz: 4d68105c0c252e959c9a47d336cf9877c88eaf22bf0af4b48f5dc8b15edc4aec
5
5
  SHA512:
6
- metadata.gz: 32c30117812b028ae5a56203a20da9fe53eab6a63c70c6aa09d5055de6c640ce89fe7152de29109d1e757abb75d97c602ee2a20168695ffd7a1158de7e81da60
7
- data.tar.gz: 47650ebf42abb512c222c4ad33e4976198eca008ed3f19bbac1ed69f3760df41a312236811dafaa2c9d64a22c59712b0b09d17098d675f7c69343ccdc70366fb
6
+ metadata.gz: f622a763302ed4d2c2da4128ff9eb8ebf3ce7e132123939e1d437989cdfe27f04f33e8cd910940f65872ae3396b4a43d1c3ad2c19c48741503587256d1ee4f59
7
+ data.tar.gz: 2118b822316ae38d38bbb93e50241e3e60ffd72be33f027ac3645920d26cd7584c0e69999d84be32c02abe1f7db0791967f19710e5ac2c2938bfb1daa483b029
data/CHANGELOG.md CHANGED
@@ -1,3 +1,18 @@
1
+ ## Rails 7.0.3 (May 09, 2022) ##
2
+
3
+ * No changes.
4
+
5
+
6
+ ## Rails 7.0.2.4 (April 26, 2022) ##
7
+
8
+ * No changes.
9
+
10
+
11
+ ## Rails 7.0.2.3 (March 08, 2022) ##
12
+
13
+ * No changes.
14
+
15
+
1
16
  ## Rails 7.0.2.2 (February 11, 2022) ##
2
17
 
3
18
  * No changes.
@@ -166,7 +166,7 @@
166
166
  if (!allowReconnect) {
167
167
  this.monitor.stop();
168
168
  }
169
- if (this.isActive()) {
169
+ if (this.isOpen()) {
170
170
  return this.webSocket.close();
171
171
  }
172
172
  }
@@ -172,7 +172,7 @@ class Connection {
172
172
  if (!allowReconnect) {
173
173
  this.monitor.stop();
174
174
  }
175
- if (this.isActive()) {
175
+ if (this.isOpen()) {
176
176
  return this.webSocket.close();
177
177
  }
178
178
  }
@@ -166,7 +166,7 @@
166
166
  if (!allowReconnect) {
167
167
  this.monitor.stop();
168
168
  }
169
- if (this.isActive()) {
169
+ if (this.isOpen()) {
170
170
  return this.webSocket.close();
171
171
  }
172
172
  }
@@ -186,7 +186,7 @@ module ActionCable
186
186
  end
187
187
 
188
188
  # Called by the cable connection when it's cut, so the channel has a chance to cleanup with callbacks.
189
- # This method is not intended to be called directly by the user. Instead, overwrite the #unsubscribed callback.
189
+ # This method is not intended to be called directly by the user. Instead, override the #unsubscribed callback.
190
190
  def unsubscribe_from_channel # :nodoc:
191
191
  run_callbacks :unsubscribe do
192
192
  unsubscribed
@@ -18,7 +18,7 @@ module ActionCable
18
18
  end
19
19
  end
20
20
 
21
- # Delegates to the class' <tt>channel_name</tt>
21
+ # Delegates to the class's ::channel_name.
22
22
  delegate :channel_name, to: :class
23
23
  end
24
24
  end
@@ -3,7 +3,7 @@
3
3
  module ActionCable
4
4
  module Connection
5
5
  # Allows the use of per-connection tags against the server logger. This wouldn't work using the traditional
6
- # <tt>ActiveSupport::TaggedLogging</tt> enhanced Rails.logger, as that logger will reset the tags between requests.
6
+ # ActiveSupport::TaggedLogging enhanced Rails.logger, as that logger will reset the tags between requests.
7
7
  # The connection is long-lived, so it needs its own set of tags for its independent duration.
8
8
  class TaggedLoggerProxy
9
9
  attr_reader :tags
@@ -86,7 +86,7 @@ module ActionCable
86
86
  # end
87
87
  #
88
88
  # +connect+ accepts additional information about the HTTP request with the
89
- # +params+, +headers+, +session+ and Rack +env+ options.
89
+ # +params+, +headers+, +session+, and Rack +env+ options.
90
90
  #
91
91
  # def test_connect_with_headers_and_query_string
92
92
  # connect params: { user_id: 1 }, headers: { "X-API-TOKEN" => "secret-my" }
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ActionCable
4
- # Returns the version of the currently loaded Action Cable as a <tt>Gem::Version</tt>.
4
+ # Returns the currently loaded version of Action Cable as a <tt>Gem::Version</tt>.
5
5
  def self.gem_version
6
6
  Gem::Version.new VERSION::STRING
7
7
  end
@@ -9,8 +9,8 @@ module ActionCable
9
9
  module VERSION
10
10
  MAJOR = 7
11
11
  MINOR = 0
12
- TINY = 2
13
- PRE = "2"
12
+ TINY = 3
13
+ PRE = nil
14
14
 
15
15
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
16
16
  end
@@ -7,7 +7,7 @@ module ActionCable
7
7
  # == Test adapter for Action Cable
8
8
  #
9
9
  # The test adapter should be used only in testing. Along with
10
- # <tt>ActionCable::TestHelper</tt> it makes a great tool to test your Rails application.
10
+ # ActionCable::TestHelper it makes a great tool to test your Rails application.
11
11
  #
12
12
  # To use the test adapter set +adapter+ value to +test+ in your +config/cable.yml+ file.
13
13
  #
@@ -3,7 +3,7 @@
3
3
  require_relative "gem_version"
4
4
 
5
5
  module ActionCable
6
- # Returns the version of the currently loaded Action Cable as a <tt>Gem::Version</tt>
6
+ # Returns the currently loaded version of Action Cable as a <tt>Gem::Version</tt>.
7
7
  def self.version
8
8
  gem_version
9
9
  end
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.0.2.2
4
+ version: 7.0.3
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: 2022-02-11 00:00:00.000000000 Z
12
+ date: 2022-05-09 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.0.2.2
20
+ version: 7.0.3
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.0.2.2
27
+ version: 7.0.3
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.0.2.2
34
+ version: 7.0.3
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.0.2.2
41
+ version: 7.0.3
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: nio4r
44
44
  requirement: !ruby/object:Gem::Requirement
@@ -142,10 +142,10 @@ licenses:
142
142
  - MIT
143
143
  metadata:
144
144
  bug_tracker_uri: https://github.com/rails/rails/issues
145
- changelog_uri: https://github.com/rails/rails/blob/v7.0.2.2/actioncable/CHANGELOG.md
146
- documentation_uri: https://api.rubyonrails.org/v7.0.2.2/
145
+ changelog_uri: https://github.com/rails/rails/blob/v7.0.3/actioncable/CHANGELOG.md
146
+ documentation_uri: https://api.rubyonrails.org/v7.0.3/
147
147
  mailing_list_uri: https://discuss.rubyonrails.org/c/rubyonrails-talk
148
- source_code_uri: https://github.com/rails/rails/tree/v7.0.2.2/actioncable
148
+ source_code_uri: https://github.com/rails/rails/tree/v7.0.3/actioncable
149
149
  rubygems_mfa_required: 'true'
150
150
  post_install_message:
151
151
  rdoc_options: []
@@ -162,7 +162,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
162
162
  - !ruby/object:Gem::Version
163
163
  version: '0'
164
164
  requirements: []
165
- rubygems_version: 3.2.22
165
+ rubygems_version: 3.3.7
166
166
  signing_key:
167
167
  specification_version: 4
168
168
  summary: WebSocket framework for Rails.