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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 57ca136e081b470c8cafb90704ed1076d05ccadcfb667bd08121ee82e4bee991
4
- data.tar.gz: f71a6dc50129583580751c7a08c9edb152a60ad43c1e584f97ce49b8fb893313
3
+ metadata.gz: aa99593758a336db6a06a489f71406dbe60acddd5f0240497aa54cf28b24c3e9
4
+ data.tar.gz: 0e7bb4ec8c5b8cf62e82100e185e249ea3a5d416307298f52d50da8a5c7d8f21
5
5
  SHA512:
6
- metadata.gz: 88b893edb4714b78eead519089cac8bc8a7053fa55902d61f91ccf7c2e2689bdb9e1756d198d2641c8ad1e66b1f6f5a2a1e2fde0ee5ffd7468f542192fbceb4c
7
- data.tar.gz: e148b44f0fc42c803563bac8a807c0af3e4263dcc271774e8f8f52bf7b02c6cc5f221ee8b7c2713d8f4f281997e7bafb5eef0e322ead2d92cc6161ed4a950179
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
- ### Installation
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
- include CableReady::Broadcaster
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
 
@@ -1,3 +1,3 @@
1
1
  module CableStreams
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
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.0
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-04-12 00:00:00.000000000 Z
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.pre9
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.pre9
54
+ version: 5.0.0
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: turbo-rails
57
57
  requirement: !ruby/object:Gem::Requirement