cable_streams 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/app/helpers/cable_streams/streams/action_helper.rb +3 -1
- data/lib/cable_streams/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aa99593758a336db6a06a489f71406dbe60acddd5f0240497aa54cf28b24c3e9
|
4
|
+
data.tar.gz: 0e7bb4ec8c5b8cf62e82100e185e249ea3a5d416307298f52d50da8a5c7d8f21
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 86c266194c8832b10c964da757bd1f4cb3f76392c940f134bab82358812b50a51743dc221b74ac66594be270da0a78f0ad7d9d62d975bd4a09062031176da32e
|
7
|
+
data.tar.gz: 9e70460f5a37064ba1454894ee7a1e2792a8bfd8a4ed91857aba7ae4ce7d5458141646499adaeea144afc69cedf3a531bf6232734b3c0503b9305f7978cce6d7
|
data/README.md
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
This is a Rails helper gem for the [`cable-streams`](https://github.com/marcoroth/cable-streams) NPM package. CableStreams extends Turbo Streams with Custom Turbo Stream Actions and all CableReady operations.
|
4
4
|
|
5
|
-
###
|
5
|
+
### Installation
|
6
6
|
|
7
7
|
```bash
|
8
8
|
bundle add cable_streams
|
@@ -4,7 +4,9 @@ require "turbo-rails"
|
|
4
4
|
module CableStreams
|
5
5
|
module Streams
|
6
6
|
module ActionHelper
|
7
|
-
|
7
|
+
def cable_car
|
8
|
+
Class.new.extend(CableReady::Broadcaster).cable_car
|
9
|
+
end
|
8
10
|
|
9
11
|
IGNORE_LIST = [:after, :append, :before, :prepend, :remove, :replace, :update]
|
10
12
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cable_streams
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marco Roth
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-05-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: actionpack
|
@@ -44,14 +44,14 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 5.0.0
|
47
|
+
version: 5.0.0
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 5.0.0
|
54
|
+
version: 5.0.0
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: turbo-rails
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|