actioncable-next 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/action_cable/connection/base.rb +11 -0
- data/lib/action_cable/engine.rb +6 -0
- data/lib/actioncable-next.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b86ee72b0095c7a8ce99b0d354231b2ac29145e07a1482387fa9664f1c9a08b8
|
4
|
+
data.tar.gz: e72beed883e8789189fa6811d6fb70cdc4e9efbec2ad9b259648c8575196aca3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 955b568fb0d4e01d81ad6871292515c1a3d742eef03067c6322d68b7c6908eeac12947aaef91cb9d4fcbccf2e3790ff84c797ad30e462db15179b04ee6a2d8a3
|
7
|
+
data.tar.gz: 3cc6151d155e3719b008bad22ecf4fbf0a401a5858a7ef5bd75a941debca5b26ac9d06cb30d781929d6da10399c9f534d06aed6ac7afd2ea7a96490066dc6891
|
data/CHANGELOG.md
CHANGED
@@ -162,4 +162,15 @@ module ActionCable
|
|
162
162
|
end
|
163
163
|
end
|
164
164
|
|
165
|
+
# Hack to make sure legacy extensions do not changes the visibility of API methods
|
166
|
+
# (see https://github.com/anycable/actioncable-next/issues/7)
|
167
|
+
# We call it from the engine after application initialization.
|
168
|
+
class << ActionCable::Connection::Base
|
169
|
+
def __restore_visibility__
|
170
|
+
%i[handle_open handle_close handle_channel_command transmit close].each do |method|
|
171
|
+
instance_method(method).owner.send(:public, method)
|
172
|
+
end
|
173
|
+
end
|
174
|
+
end
|
175
|
+
|
165
176
|
ActiveSupport.run_load_hooks(:action_cable_connection, ActionCable::Connection::Base)
|
data/lib/action_cable/engine.rb
CHANGED
data/lib/actioncable-next.rb
CHANGED
metadata
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: actioncable-next
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pratik Naik
|
8
8
|
- David Heinemeier Hansson
|
9
9
|
- Vladimir Dementyev
|
10
|
-
autorequire:
|
10
|
+
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2025-01-10 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: activesupport
|
@@ -167,10 +167,10 @@ licenses:
|
|
167
167
|
- MIT
|
168
168
|
metadata:
|
169
169
|
bug_tracker_uri: https://github.com/anycable/actioncable-next
|
170
|
-
changelog_uri: https://github.com/anycable/actioncable-next/blob/v0.1.
|
170
|
+
changelog_uri: https://github.com/anycable/actioncable-next/blob/v0.1.2/CHANGELOG.md
|
171
171
|
source_code_uri: https://github.com/anycable/actioncable-next
|
172
172
|
rubygems_mfa_required: 'true'
|
173
|
-
post_install_message:
|
173
|
+
post_install_message:
|
174
174
|
rdoc_options: []
|
175
175
|
require_paths:
|
176
176
|
- lib
|
@@ -185,8 +185,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
185
185
|
- !ruby/object:Gem::Version
|
186
186
|
version: '0'
|
187
187
|
requirements: []
|
188
|
-
rubygems_version: 3.5.
|
189
|
-
signing_key:
|
188
|
+
rubygems_version: 3.5.22
|
189
|
+
signing_key:
|
190
190
|
specification_version: 4
|
191
191
|
summary: Next-gen version of Action Cable
|
192
192
|
test_files: []
|