anycable-rails 0.6.3 → 0.6.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 12096ddf13bcb4893853e537017bc5478c8c65c7f8aea4a21af221d5e4cf1ce3
4
- data.tar.gz: 252d1fc76c09a902229b192afd61c020503a78bf773d53a8dc2e409e1a984310
3
+ metadata.gz: a64b470ef4ab3faa836fbea01ae21be1cbeae3d2693dc3e92c01acb5113451bc
4
+ data.tar.gz: 2d68392cf3649b5496c72298d8baf1fa720309a3f69cd337e55317f116ee7c37
5
5
  SHA512:
6
- metadata.gz: 951b2d8c75b50dd632c7e7e49b36bf8c233d5c9d7335e0213aa5c291d4cf17bb7c9999f9bdf54bcdd2a29753d471b5b6ed3397e3403b07f7e7dba7f2d3e32a37
7
- data.tar.gz: e1df94db573c5557784937b2a44152e2e1cb59f0fd00d8532bd539e5fe8cf80a1abbf2dd605cb3025e622fddd23f59bdeb652256859d6f41b7b4462967e190c7
6
+ metadata.gz: 13282898b856f2a9751d7c3d69c4a6d4f62ebe25a3e7ca03405a53f56f4e70a5f32e869950d557affa09d0fcd6657f0a8c9c3574d33f8cc73e9c7ebd580ebf63
7
+ data.tar.gz: 9552cec222800c6e706096d28c58e58ad8b41412d99a2a0ed813fdec194dd1bf1063352dd9694f67ff2efb30bf0d780eaeb3159885fa97069ab2521f5d3d7712
@@ -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
- %w[subscribe_to_channel perform_action].each do |mid|
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 }
@@ -2,6 +2,6 @@
2
2
 
3
3
  module AnyCable
4
4
  module Rails
5
- VERSION = "0.6.3"
5
+ VERSION = "0.6.4"
6
6
  end
7
7
  end
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.3
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-03-26 00:00:00.000000000 Z
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.60.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.60.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.2
178
+ rubygems_version: 3.0.3
188
179
  signing_key:
189
180
  specification_version: 4
190
181
  summary: Rails adapter for AnyCable