anycable-rails 0.6.0.rc1 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -1
- data/anycable-rails.gemspec +1 -1
- data/lib/anycable/rails.rb +0 -2
- data/lib/anycable/rails/railtie.rb +4 -0
- data/lib/anycable/rails/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: b31bd9ca1f658ed9a91d87a8f9e6e61a0ba6ba33c8c96b9445d2e830484548e3
|
4
|
+
data.tar.gz: 0b3bc0739812916c6c06023216606baaa78efb6f2178af27d20a9ea0dc9d5697
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 330e33fb5479cad54312cdae2dfb0bba80520ffaedfac781de4c4edff0825ad72ab39dc3f390732745c07963b9a849dff5e31fbc373bbf818e7e60959740a91b
|
7
|
+
data.tar.gz: 8677fd2198e04aaeb55785e3632eb96d99bc28333bad791a1800401b6396f61d4f047c3ed9733d3481ac5c77d4c837553af7ae4986d73fe51bb9e7bc27d79f56
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,13 @@
|
|
1
1
|
# Change log
|
2
2
|
|
3
|
-
##
|
3
|
+
## master
|
4
|
+
|
5
|
+
- Fix regression introduced in [e64a366e](https://github.com/anycable/anycable-rails/commit/e64a366ea21293925e0c5c0b8e6595d65d5d0981#diff-fd0e56a6e825002eac978507c3581af7R14) ([@palkan][])
|
6
|
+
|
7
|
+
`Connection` patch could be loaded after `identify_by` is called, thus breaking
|
8
|
+
identifiers.
|
9
|
+
|
10
|
+
## 0.6.0 (2018-11-15)
|
4
11
|
|
5
12
|
- [PR #56](https://github.com/anycable/anycable-rails/pull/56) Request verification based on ActionCable config. ([@DmitryTsepelev][])
|
6
13
|
|
data/anycable-rails.gemspec
CHANGED
@@ -19,7 +19,7 @@ Gem::Specification.new do |spec|
|
|
19
19
|
spec.require_paths = ["lib"]
|
20
20
|
|
21
21
|
spec.add_dependency "rails", ">= 5"
|
22
|
-
spec.add_dependency "anycable", "0.6.0
|
22
|
+
spec.add_dependency "anycable", "~> 0.6.0"
|
23
23
|
|
24
24
|
spec.add_development_dependency "bundler", "~> 1"
|
25
25
|
spec.add_development_dependency "rake", "~> 10.0"
|
data/lib/anycable/rails.rb
CHANGED
@@ -40,6 +40,10 @@ module AnyCable
|
|
40
40
|
|
41
41
|
initializer "anycable.connection_factory", after: "action_cable.set_configs" do |_app|
|
42
42
|
ActiveSupport.on_load(:action_cable) do
|
43
|
+
if ::ActionCable.server.config.cable&.fetch("adapter", nil) == "any_cable"
|
44
|
+
require "anycable/rails/actioncable/connection"
|
45
|
+
end
|
46
|
+
|
43
47
|
AnyCable.connection_factory = connection_class.call
|
44
48
|
end
|
45
49
|
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.
|
4
|
+
version: 0.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- palkan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-11-
|
11
|
+
date: 2018-11-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -28,16 +28,16 @@ dependencies:
|
|
28
28
|
name: anycable
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.6.0
|
33
|
+
version: 0.6.0
|
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: 0.6.0
|
40
|
+
version: 0.6.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: bundler
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -193,9 +193,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
193
193
|
version: '0'
|
194
194
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
195
195
|
requirements:
|
196
|
-
- - "
|
196
|
+
- - ">="
|
197
197
|
- !ruby/object:Gem::Version
|
198
|
-
version:
|
198
|
+
version: '0'
|
199
199
|
requirements: []
|
200
200
|
rubyforge_project:
|
201
201
|
rubygems_version: 2.7.7
|