anycable-rails 0.4.2 → 0.4.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/anycable-rails.gemspec +1 -1
- data/lib/anycable/rails/actioncable/channel.rb +2 -2
- data/lib/anycable/rails/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6923ad31b6dc65fa570990b09f1bf783d4da01cc
|
4
|
+
data.tar.gz: f47d6f09595e1062b531fc78ec256ea81161d9f2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f197235782f718cd1ef9ae7dd3ef0b2a88d93e142df4de8d9c45408341180bfe8a8e21bd44369fb4566e5000dd9eb021b50923a2eaf80a42133cd49921ebfb52
|
7
|
+
data.tar.gz: 91615205236a762e3eb34d787b03ba74eeacc9ebafc5d146d78fc39110d03799d6c6f4e066c3547c908ddfd0ea9948f2550916e173a823f627366e505c31ba98
|
data/anycable-rails.gemspec
CHANGED
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.require_paths = ["lib"]
|
19
19
|
|
20
20
|
spec.add_dependency "rails", "~> 5"
|
21
|
-
spec.add_dependency "anycable", "~>0.4.
|
21
|
+
spec.add_dependency "anycable", "~>0.4.2"
|
22
22
|
|
23
23
|
spec.add_development_dependency "bundler", "~> 1"
|
24
24
|
spec.add_development_dependency "rake", "~> 10.0"
|
@@ -14,11 +14,11 @@ module ActionCable
|
|
14
14
|
|
15
15
|
def stream_from(broadcasting, callback = nil, coder: nil)
|
16
16
|
raise ArgumentError('Unsupported') if callback.present? || coder.present? || block_given?
|
17
|
-
connection.socket.
|
17
|
+
connection.socket.subscribe identifier, broadcasting
|
18
18
|
end
|
19
19
|
|
20
20
|
def stop_all_streams
|
21
|
-
connection.socket.
|
21
|
+
connection.socket.unsubscribe_from_all identifier
|
22
22
|
end
|
23
23
|
|
24
24
|
def delegate_connection_identifiers
|
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.4.
|
4
|
+
version: 0.4.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- palkan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-01-
|
11
|
+
date: 2017-01-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.4.
|
33
|
+
version: 0.4.2
|
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.4.
|
40
|
+
version: 0.4.2
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: bundler
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|