anycable-rails 0.6.3 → 0.6.4
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 +9 -0
- data/lib/anycable/rails/actioncable/channel.rb +3 -0
- data/lib/anycable/rails/compatibility.rb +3 -1
- data/lib/anycable/rails/version.rb +1 -1
- metadata +11 -20
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a64b470ef4ab3faa836fbea01ae21be1cbeae3d2693dc3e92c01acb5113451bc
|
|
4
|
+
data.tar.gz: 2d68392cf3649b5496c72298d8baf1fa720309a3f69cd337e55317f116ee7c37
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 13282898b856f2a9751d7c3d69c4a6d4f62ebe25a3e7ca03405a53f56f4e70a5f32e869950d557affa09d0fcd6657f0a8c9c3574d33f8cc73e9c7ebd580ebf63
|
|
7
|
+
data.tar.gz: 9552cec222800c6e706096d28c58e58ad8b41412d99a2a0ed813fdec194dd1bf1063352dd9694f67ff2efb30bf0d780eaeb3159885fa97069ab2521f5d3d7712
|
data/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
## master
|
|
4
4
|
|
|
5
|
+
## 0.6.4 (2019-06-26) 👶
|
|
6
|
+
|
|
7
|
+
- Fix Compatibility bug when using with AnyCable. ([@palkan][])
|
|
8
|
+
|
|
9
|
+
Compatibility patching (with `prepend` + `super`) conflicted with
|
|
10
|
+
the `ActionCable::Channel::Base` patching in the core functionality (which uses `alias`).
|
|
11
|
+
|
|
12
|
+
See [#95](https://github.com/anycable/anycable-rails/issues/95).
|
|
13
|
+
|
|
5
14
|
## 0.6.3 (2019-03-26)
|
|
6
15
|
|
|
7
16
|
- Fix connection factory reloading for development sake. ([@sponomarev][])
|
|
@@ -9,6 +9,9 @@ module ActionCable
|
|
|
9
9
|
|
|
10
10
|
public :handle_subscribe, :subscription_rejected?
|
|
11
11
|
|
|
12
|
+
# Action Cable calls this method from inside the Subscriptions#add
|
|
13
|
+
# method, which we use to initialize the channel instance.
|
|
14
|
+
# We don't want to invoke `subscribed` callbacks every time we do that.
|
|
12
15
|
def subscribe_to_channel
|
|
13
16
|
# noop
|
|
14
17
|
end
|
|
@@ -18,7 +18,9 @@ module AnyCable
|
|
|
18
18
|
super
|
|
19
19
|
end
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
# Do not prepend `subscribe_to_channel` 'cause we make it no-op
|
|
22
|
+
# when AnyCable is running (see anycable/rails/actioncable/channel.rb)
|
|
23
|
+
%w[run_callbacks perform_action].each do |mid|
|
|
22
24
|
module_eval <<~CODE, __FILE__, __LINE__ + 1
|
|
23
25
|
def #{mid}(*)
|
|
24
26
|
__anycable_check_ivars__ { super }
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: anycable-rails
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.6.
|
|
4
|
+
version: 0.6.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- palkan
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-
|
|
11
|
+
date: 2019-06-27 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: anycable
|
|
@@ -100,14 +100,14 @@ dependencies:
|
|
|
100
100
|
requirements:
|
|
101
101
|
- - "~>"
|
|
102
102
|
- !ruby/object:Gem::Version
|
|
103
|
-
version: 0.
|
|
103
|
+
version: 0.67.0
|
|
104
104
|
type: :development
|
|
105
105
|
prerelease: false
|
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
|
107
107
|
requirements:
|
|
108
108
|
- - "~>"
|
|
109
109
|
- !ruby/object:Gem::Version
|
|
110
|
-
version: 0.
|
|
110
|
+
version: 0.67.0
|
|
111
111
|
- !ruby/object:Gem::Dependency
|
|
112
112
|
name: simplecov
|
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -122,20 +122,6 @@ dependencies:
|
|
|
122
122
|
- - ">="
|
|
123
123
|
- !ruby/object:Gem::Version
|
|
124
124
|
version: 0.3.8
|
|
125
|
-
- !ruby/object:Gem::Dependency
|
|
126
|
-
name: sqlite3
|
|
127
|
-
requirement: !ruby/object:Gem::Requirement
|
|
128
|
-
requirements:
|
|
129
|
-
- - "~>"
|
|
130
|
-
- !ruby/object:Gem::Version
|
|
131
|
-
version: 1.3.6
|
|
132
|
-
type: :development
|
|
133
|
-
prerelease: false
|
|
134
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
135
|
-
requirements:
|
|
136
|
-
- - "~>"
|
|
137
|
-
- !ruby/object:Gem::Version
|
|
138
|
-
version: 1.3.6
|
|
139
125
|
description: Rails adapter for AnyCable
|
|
140
126
|
email:
|
|
141
127
|
- dementiev.vm@gmail.com
|
|
@@ -168,7 +154,12 @@ files:
|
|
|
168
154
|
homepage: http://github.com/anycable/anycable-rails
|
|
169
155
|
licenses:
|
|
170
156
|
- MIT
|
|
171
|
-
metadata:
|
|
157
|
+
metadata:
|
|
158
|
+
bug_tracker_uri: http://github.com/anycable/anycable-rails/issues
|
|
159
|
+
changelog_uri: https://github.com/anycable/anycable-rails/blob/master/CHANGELOG.md
|
|
160
|
+
documentation_uri: https://docs.anycable.io/#/using_with_rails
|
|
161
|
+
homepage_uri: https://anycable.io/
|
|
162
|
+
source_code_uri: http://github.com/anycable/anycable-rails
|
|
172
163
|
post_install_message:
|
|
173
164
|
rdoc_options: []
|
|
174
165
|
require_paths:
|
|
@@ -184,7 +175,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
184
175
|
- !ruby/object:Gem::Version
|
|
185
176
|
version: '0'
|
|
186
177
|
requirements: []
|
|
187
|
-
rubygems_version: 3.0.
|
|
178
|
+
rubygems_version: 3.0.3
|
|
188
179
|
signing_key:
|
|
189
180
|
specification_version: 4
|
|
190
181
|
summary: Rails adapter for AnyCable
|