actioncable 8.1.0 → 8.1.1
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 +5 -0
- data/lib/action_cable/channel/base.rb +7 -2
- data/lib/action_cable/channel/callbacks.rb +7 -0
- data/lib/action_cable/gem_version.rb +1 -1
- 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: 5e415e6cc703ccca0fa2cd6e208dfa6b6fc913ce6215cdec8b5a35bc04988134
|
|
4
|
+
data.tar.gz: f5eac98b71fb9cd9b49014ae0fccc3e1b771b6703672a4127c01809d415d6a6c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bc7d20f3d46df1d1132ddc931875e70ca3151efd4c8c27186890c0c2b994b2da78799ba42a2ff749098c87ad3f11a94a43064ce14c76118a61382cfd36f310ac
|
|
7
|
+
data.tar.gz: 282933112eaeb0edcc12ce576189b11d778464bcad67e2a43f39851e65a06f6028a0884e8cba2efa2e031387aba2c70b37904cb9b48841e56389736c8677f559
|
data/CHANGELOG.md
CHANGED
|
@@ -132,9 +132,10 @@ module ActionCable
|
|
|
132
132
|
# Except for public instance methods of Base and its ancestors
|
|
133
133
|
ActionCable::Channel::Base.public_instance_methods(true) +
|
|
134
134
|
# Be sure to include shadowed public instance methods of this class
|
|
135
|
-
public_instance_methods(false)
|
|
135
|
+
public_instance_methods(false) -
|
|
136
|
+
# Except the internal methods
|
|
137
|
+
internal_methods).uniq
|
|
136
138
|
|
|
137
|
-
methods.reject! { |m| m.start_with?("_") }
|
|
138
139
|
methods.map!(&:name)
|
|
139
140
|
methods.to_set
|
|
140
141
|
end
|
|
@@ -153,6 +154,10 @@ module ActionCable
|
|
|
153
154
|
super
|
|
154
155
|
clear_action_methods!
|
|
155
156
|
end
|
|
157
|
+
|
|
158
|
+
def internal_methods
|
|
159
|
+
super
|
|
160
|
+
end
|
|
156
161
|
end
|
|
157
162
|
|
|
158
163
|
def initialize(connection, identifier, params = {})
|
|
@@ -39,6 +39,8 @@ module ActionCable
|
|
|
39
39
|
extend ActiveSupport::Concern
|
|
40
40
|
include ActiveSupport::Callbacks
|
|
41
41
|
|
|
42
|
+
INTERNAL_METHODS = [:_run_subscribe_callbacks, :_run_unsubscribe_callbacks] # :nodoc:
|
|
43
|
+
|
|
42
44
|
included do
|
|
43
45
|
define_callbacks :subscribe
|
|
44
46
|
define_callbacks :unsubscribe
|
|
@@ -70,6 +72,11 @@ module ActionCable
|
|
|
70
72
|
set_callback(:unsubscribe, :after, *methods, &block)
|
|
71
73
|
end
|
|
72
74
|
alias_method :on_unsubscribe, :after_unsubscribe
|
|
75
|
+
|
|
76
|
+
private
|
|
77
|
+
def internal_methods
|
|
78
|
+
INTERNAL_METHODS
|
|
79
|
+
end
|
|
73
80
|
end
|
|
74
81
|
end
|
|
75
82
|
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: 8.1.
|
|
4
|
+
version: 8.1.1
|
|
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: 8.1.
|
|
19
|
+
version: 8.1.1
|
|
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: 8.1.
|
|
26
|
+
version: 8.1.1
|
|
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: 8.1.
|
|
33
|
+
version: 8.1.1
|
|
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: 8.1.
|
|
40
|
+
version: 8.1.1
|
|
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/v8.1.
|
|
157
|
-
documentation_uri: https://api.rubyonrails.org/v8.1.
|
|
156
|
+
changelog_uri: https://github.com/rails/rails/blob/v8.1.1/actioncable/CHANGELOG.md
|
|
157
|
+
documentation_uri: https://api.rubyonrails.org/v8.1.1/
|
|
158
158
|
mailing_list_uri: https://discuss.rubyonrails.org/c/rubyonrails-talk
|
|
159
|
-
source_code_uri: https://github.com/rails/rails/tree/v8.1.
|
|
159
|
+
source_code_uri: https://github.com/rails/rails/tree/v8.1.1/actioncable
|
|
160
160
|
rubygems_mfa_required: 'true'
|
|
161
161
|
rdoc_options: []
|
|
162
162
|
require_paths:
|