cable_ready 4.4.0.pre4 → 4.4.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +40 -5
- data/Gemfile.lock +76 -73
- data/README.md +1 -4
- data/lib/cable_ready/channel.rb +2 -2
- data/lib/cable_ready/channels.rb +3 -0
- data/lib/cable_ready/version.rb +1 -1
- data/package.json +1 -1
- data/yarn.lock +9 -9
- 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: 96bc60edaabbac6fd8eaa8ea84d85d7a80a8967dd3aa5b1b1f119038f3d95ed6
|
|
4
|
+
data.tar.gz: a46b3c7475ebf03f4e1183eeaf1b1d456382dfd905ec2365af1b7b67920f0cf0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f0dbfe223d6ea0a2c2ba21a3f4d9f71a6c1214131dcc4016f5ec2500b5eec0eaa2a218a538607bf3dfbf302992557233bf2db75410738335d1637542babc5280
|
|
7
|
+
data.tar.gz: 0d5012c06c18aae8b1b7e8d08342e5ad1c08d53fa408d6832795c42247280c69b40f62a7bd66a3e509f03ca3a0545d84571bba60227d23c3d5ca1cb3ae0d892a
|
data/CHANGELOG.md
CHANGED
|
@@ -1,8 +1,40 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## [
|
|
3
|
+
## [v4.4.4](https://github.com/hopsoft/cable_ready/tree/v4.4.4) (2020-12-11)
|
|
4
4
|
|
|
5
|
-
[Full Changelog](https://github.com/hopsoft/cable_ready/compare/v4.4.
|
|
5
|
+
[Full Changelog](https://github.com/hopsoft/cable_ready/compare/v4.4.3...v4.4.4)
|
|
6
|
+
|
|
7
|
+
**Merged pull requests:**
|
|
8
|
+
|
|
9
|
+
- Add support for sessionStorage and localStorage [\#83](https://github.com/hopsoft/cable_ready/pull/83) ([hopsoft](https://github.com/hopsoft))
|
|
10
|
+
|
|
11
|
+
## [v4.4.3](https://github.com/hopsoft/cable_ready/tree/v4.4.3) (2020-12-01)
|
|
12
|
+
|
|
13
|
+
[Full Changelog](https://github.com/hopsoft/cable_ready/compare/v4.4.2...v4.4.3)
|
|
14
|
+
|
|
15
|
+
**Merged pull requests:**
|
|
16
|
+
|
|
17
|
+
- Fix bug related to channel calling broadcast on the singleton [\#82](https://github.com/hopsoft/cable_ready/pull/82) ([hopsoft](https://github.com/hopsoft))
|
|
18
|
+
|
|
19
|
+
## [v4.4.2](https://github.com/hopsoft/cable_ready/tree/v4.4.2) (2020-11-30)
|
|
20
|
+
|
|
21
|
+
[Full Changelog](https://github.com/hopsoft/cable_ready/compare/v4.4.1...v4.4.2)
|
|
22
|
+
|
|
23
|
+
## [v4.4.1](https://github.com/hopsoft/cable_ready/tree/v4.4.1) (2020-11-28)
|
|
24
|
+
|
|
25
|
+
[Full Changelog](https://github.com/hopsoft/cable_ready/compare/v4.4.0...v4.4.1)
|
|
26
|
+
|
|
27
|
+
**Merged pull requests:**
|
|
28
|
+
|
|
29
|
+
- Apply setFocus behavior to more element mutations [\#81](https://github.com/hopsoft/cable_ready/pull/81) ([hopsoft](https://github.com/hopsoft))
|
|
30
|
+
|
|
31
|
+
## [v4.4.0](https://github.com/hopsoft/cable_ready/tree/v4.4.0) (2020-11-24)
|
|
32
|
+
|
|
33
|
+
[Full Changelog](https://github.com/hopsoft/cable_ready/compare/v4.4.0.pre4...v4.4.0)
|
|
34
|
+
|
|
35
|
+
## [v4.4.0.pre4](https://github.com/hopsoft/cable_ready/tree/v4.4.0.pre4) (2020-11-22)
|
|
36
|
+
|
|
37
|
+
[Full Changelog](https://github.com/hopsoft/cable_ready/compare/v4.4.0.pre3...v4.4.0.pre4)
|
|
6
38
|
|
|
7
39
|
**Fixed bugs:**
|
|
8
40
|
|
|
@@ -133,7 +165,6 @@
|
|
|
133
165
|
- after-outer-html emitted from new element [\#46](https://github.com/hopsoft/cable_ready/pull/46) ([leastbad](https://github.com/leastbad))
|
|
134
166
|
- Fix `outer\_html` notation [\#45](https://github.com/hopsoft/cable_ready/pull/45) ([julianrubisch](https://github.com/julianrubisch))
|
|
135
167
|
- Print out the selector for easier debugging perform errors [\#36](https://github.com/hopsoft/cable_ready/pull/36) ([excid3](https://github.com/excid3))
|
|
136
|
-
- add set\_property method to library [\#34](https://github.com/hopsoft/cable_ready/pull/34) ([leastbad](https://github.com/leastbad))
|
|
137
168
|
|
|
138
169
|
## [v4.1.2](https://github.com/hopsoft/cable_ready/tree/v4.1.2) (2020-04-27)
|
|
139
170
|
|
|
@@ -143,6 +174,10 @@
|
|
|
143
174
|
|
|
144
175
|
- Ensure the active text input retains its value and focus after DOM mutations [\#33](https://github.com/hopsoft/cable_ready/pull/33) ([hopsoft](https://github.com/hopsoft))
|
|
145
176
|
|
|
177
|
+
**Merged pull requests:**
|
|
178
|
+
|
|
179
|
+
- update README and package.json [\#30](https://github.com/hopsoft/cable_ready/pull/30) ([andrewmcodes](https://github.com/andrewmcodes))
|
|
180
|
+
|
|
146
181
|
## [v4.1.1](https://github.com/hopsoft/cable_ready/tree/v4.1.1) (2020-04-20)
|
|
147
182
|
|
|
148
183
|
[Full Changelog](https://github.com/hopsoft/cable_ready/compare/v4.1.0...v4.1.1)
|
|
@@ -154,7 +189,6 @@
|
|
|
154
189
|
**Merged pull requests:**
|
|
155
190
|
|
|
156
191
|
- Add funding file [\#31](https://github.com/hopsoft/cable_ready/pull/31) ([andrewmcodes](https://github.com/andrewmcodes))
|
|
157
|
-
- update README and package.json [\#30](https://github.com/hopsoft/cable_ready/pull/30) ([andrewmcodes](https://github.com/andrewmcodes))
|
|
158
192
|
|
|
159
193
|
## [v4.1.0](https://github.com/hopsoft/cable_ready/tree/v4.1.0) (2020-04-05)
|
|
160
194
|
|
|
@@ -162,6 +196,7 @@
|
|
|
162
196
|
|
|
163
197
|
**Merged pull requests:**
|
|
164
198
|
|
|
199
|
+
- add set\_property method to library [\#34](https://github.com/hopsoft/cable_ready/pull/34) ([leastbad](https://github.com/leastbad))
|
|
165
200
|
- Bump acorn from 7.1.0 to 7.1.1 in /javascript [\#29](https://github.com/hopsoft/cable_ready/pull/29) ([dependabot[bot]](https://github.com/apps/dependabot))
|
|
166
201
|
- Set cookie support [\#28](https://github.com/hopsoft/cable_ready/pull/28) ([hopsoft](https://github.com/hopsoft))
|
|
167
202
|
- README.md: Fix typo [\#27](https://github.com/hopsoft/cable_ready/pull/27) ([henrik](https://github.com/henrik))
|
|
@@ -192,6 +227,7 @@
|
|
|
192
227
|
**Merged pull requests:**
|
|
193
228
|
|
|
194
229
|
- Add gh actions [\#17](https://github.com/hopsoft/cable_ready/pull/17) ([andrewmcodes](https://github.com/andrewmcodes))
|
|
230
|
+
- Add Gitbook integration [\#16](https://github.com/hopsoft/cable_ready/pull/16) ([andrewmcodes](https://github.com/andrewmcodes))
|
|
195
231
|
|
|
196
232
|
## [v4.0.6](https://github.com/hopsoft/cable_ready/tree/v4.0.6) (2019-10-03)
|
|
197
233
|
|
|
@@ -203,7 +239,6 @@
|
|
|
203
239
|
|
|
204
240
|
**Merged pull requests:**
|
|
205
241
|
|
|
206
|
-
- Add Gitbook integration [\#16](https://github.com/hopsoft/cable_ready/pull/16) ([andrewmcodes](https://github.com/andrewmcodes))
|
|
207
242
|
- Update to format with prettier-standard [\#15](https://github.com/hopsoft/cable_ready/pull/15) ([hopsoft](https://github.com/hopsoft))
|
|
208
243
|
- Add support for permanent nodes [\#14](https://github.com/hopsoft/cable_ready/pull/14) ([andreaslillebo](https://github.com/andreaslillebo))
|
|
209
244
|
|
data/Gemfile.lock
CHANGED
|
@@ -1,67 +1,71 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
cable_ready (4.4.
|
|
4
|
+
cable_ready (4.4.5)
|
|
5
5
|
rails (>= 5.2)
|
|
6
6
|
|
|
7
7
|
GEM
|
|
8
8
|
remote: https://rubygems.org/
|
|
9
9
|
specs:
|
|
10
|
-
actioncable (6.0
|
|
11
|
-
actionpack (= 6.0
|
|
10
|
+
actioncable (6.1.0)
|
|
11
|
+
actionpack (= 6.1.0)
|
|
12
|
+
activesupport (= 6.1.0)
|
|
12
13
|
nio4r (~> 2.0)
|
|
13
14
|
websocket-driver (>= 0.6.1)
|
|
14
|
-
actionmailbox (6.0
|
|
15
|
-
actionpack (= 6.0
|
|
16
|
-
activejob (= 6.0
|
|
17
|
-
activerecord (= 6.0
|
|
18
|
-
activestorage (= 6.0
|
|
19
|
-
activesupport (= 6.0
|
|
15
|
+
actionmailbox (6.1.0)
|
|
16
|
+
actionpack (= 6.1.0)
|
|
17
|
+
activejob (= 6.1.0)
|
|
18
|
+
activerecord (= 6.1.0)
|
|
19
|
+
activestorage (= 6.1.0)
|
|
20
|
+
activesupport (= 6.1.0)
|
|
20
21
|
mail (>= 2.7.1)
|
|
21
|
-
actionmailer (6.0
|
|
22
|
-
actionpack (= 6.0
|
|
23
|
-
actionview (= 6.0
|
|
24
|
-
activejob (= 6.0
|
|
22
|
+
actionmailer (6.1.0)
|
|
23
|
+
actionpack (= 6.1.0)
|
|
24
|
+
actionview (= 6.1.0)
|
|
25
|
+
activejob (= 6.1.0)
|
|
26
|
+
activesupport (= 6.1.0)
|
|
25
27
|
mail (~> 2.5, >= 2.5.4)
|
|
26
28
|
rails-dom-testing (~> 2.0)
|
|
27
|
-
actionpack (6.0
|
|
28
|
-
actionview (= 6.0
|
|
29
|
-
activesupport (= 6.0
|
|
30
|
-
rack (~> 2.0, >= 2.0.
|
|
29
|
+
actionpack (6.1.0)
|
|
30
|
+
actionview (= 6.1.0)
|
|
31
|
+
activesupport (= 6.1.0)
|
|
32
|
+
rack (~> 2.0, >= 2.0.9)
|
|
31
33
|
rack-test (>= 0.6.3)
|
|
32
34
|
rails-dom-testing (~> 2.0)
|
|
33
35
|
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
|
34
|
-
actiontext (6.0
|
|
35
|
-
actionpack (= 6.0
|
|
36
|
-
activerecord (= 6.0
|
|
37
|
-
activestorage (= 6.0
|
|
38
|
-
activesupport (= 6.0
|
|
36
|
+
actiontext (6.1.0)
|
|
37
|
+
actionpack (= 6.1.0)
|
|
38
|
+
activerecord (= 6.1.0)
|
|
39
|
+
activestorage (= 6.1.0)
|
|
40
|
+
activesupport (= 6.1.0)
|
|
39
41
|
nokogiri (>= 1.8.5)
|
|
40
|
-
actionview (6.0
|
|
41
|
-
activesupport (= 6.0
|
|
42
|
+
actionview (6.1.0)
|
|
43
|
+
activesupport (= 6.1.0)
|
|
42
44
|
builder (~> 3.1)
|
|
43
45
|
erubi (~> 1.4)
|
|
44
46
|
rails-dom-testing (~> 2.0)
|
|
45
47
|
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
|
46
|
-
activejob (6.0
|
|
47
|
-
activesupport (= 6.0
|
|
48
|
+
activejob (6.1.0)
|
|
49
|
+
activesupport (= 6.1.0)
|
|
48
50
|
globalid (>= 0.3.6)
|
|
49
|
-
activemodel (6.0
|
|
50
|
-
activesupport (= 6.0
|
|
51
|
-
activerecord (6.0
|
|
52
|
-
activemodel (= 6.0
|
|
53
|
-
activesupport (= 6.0
|
|
54
|
-
activestorage (6.0
|
|
55
|
-
actionpack (= 6.0
|
|
56
|
-
activejob (= 6.0
|
|
57
|
-
activerecord (= 6.0
|
|
51
|
+
activemodel (6.1.0)
|
|
52
|
+
activesupport (= 6.1.0)
|
|
53
|
+
activerecord (6.1.0)
|
|
54
|
+
activemodel (= 6.1.0)
|
|
55
|
+
activesupport (= 6.1.0)
|
|
56
|
+
activestorage (6.1.0)
|
|
57
|
+
actionpack (= 6.1.0)
|
|
58
|
+
activejob (= 6.1.0)
|
|
59
|
+
activerecord (= 6.1.0)
|
|
60
|
+
activesupport (= 6.1.0)
|
|
58
61
|
marcel (~> 0.3.1)
|
|
59
|
-
|
|
62
|
+
mimemagic (~> 0.3.2)
|
|
63
|
+
activesupport (6.1.0)
|
|
60
64
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
61
|
-
i18n (>=
|
|
62
|
-
minitest (
|
|
63
|
-
tzinfo (~>
|
|
64
|
-
zeitwerk (~> 2.
|
|
65
|
+
i18n (>= 1.6, < 2)
|
|
66
|
+
minitest (>= 5.1)
|
|
67
|
+
tzinfo (~> 2.0)
|
|
68
|
+
zeitwerk (~> 2.3)
|
|
65
69
|
addressable (2.7.0)
|
|
66
70
|
public_suffix (>= 2.0.2, < 5.0)
|
|
67
71
|
ast (2.4.1)
|
|
@@ -87,7 +91,7 @@ GEM
|
|
|
87
91
|
activesupport (>= 4.2.0)
|
|
88
92
|
i18n (1.8.5)
|
|
89
93
|
concurrent-ruby (~> 1.0)
|
|
90
|
-
loofah (2.
|
|
94
|
+
loofah (2.8.0)
|
|
91
95
|
crass (~> 1.0.2)
|
|
92
96
|
nokogiri (>= 1.5.9)
|
|
93
97
|
magic_frozen_string_literal (1.2.0)
|
|
@@ -108,7 +112,7 @@ GEM
|
|
|
108
112
|
octokit (4.19.0)
|
|
109
113
|
faraday (>= 0.9)
|
|
110
114
|
sawyer (~> 0.8.0, >= 0.5.3)
|
|
111
|
-
parallel (1.20.
|
|
115
|
+
parallel (1.20.1)
|
|
112
116
|
parser (2.7.2.0)
|
|
113
117
|
ast (~> 2.4.1)
|
|
114
118
|
pry (0.12.2)
|
|
@@ -120,50 +124,50 @@ GEM
|
|
|
120
124
|
rack (2.2.3)
|
|
121
125
|
rack-test (1.1.0)
|
|
122
126
|
rack (>= 1.0, < 3)
|
|
123
|
-
rails (6.0
|
|
124
|
-
actioncable (= 6.0
|
|
125
|
-
actionmailbox (= 6.0
|
|
126
|
-
actionmailer (= 6.0
|
|
127
|
-
actionpack (= 6.0
|
|
128
|
-
actiontext (= 6.0
|
|
129
|
-
actionview (= 6.0
|
|
130
|
-
activejob (= 6.0
|
|
131
|
-
activemodel (= 6.0
|
|
132
|
-
activerecord (= 6.0
|
|
133
|
-
activestorage (= 6.0
|
|
134
|
-
activesupport (= 6.0
|
|
135
|
-
bundler (>= 1.
|
|
136
|
-
railties (= 6.0
|
|
127
|
+
rails (6.1.0)
|
|
128
|
+
actioncable (= 6.1.0)
|
|
129
|
+
actionmailbox (= 6.1.0)
|
|
130
|
+
actionmailer (= 6.1.0)
|
|
131
|
+
actionpack (= 6.1.0)
|
|
132
|
+
actiontext (= 6.1.0)
|
|
133
|
+
actionview (= 6.1.0)
|
|
134
|
+
activejob (= 6.1.0)
|
|
135
|
+
activemodel (= 6.1.0)
|
|
136
|
+
activerecord (= 6.1.0)
|
|
137
|
+
activestorage (= 6.1.0)
|
|
138
|
+
activesupport (= 6.1.0)
|
|
139
|
+
bundler (>= 1.15.0)
|
|
140
|
+
railties (= 6.1.0)
|
|
137
141
|
sprockets-rails (>= 2.0.0)
|
|
138
142
|
rails-dom-testing (2.0.3)
|
|
139
143
|
activesupport (>= 4.2.0)
|
|
140
144
|
nokogiri (>= 1.6)
|
|
141
145
|
rails-html-sanitizer (1.3.0)
|
|
142
146
|
loofah (~> 2.3)
|
|
143
|
-
railties (6.0
|
|
144
|
-
actionpack (= 6.0
|
|
145
|
-
activesupport (= 6.0
|
|
147
|
+
railties (6.1.0)
|
|
148
|
+
actionpack (= 6.1.0)
|
|
149
|
+
activesupport (= 6.1.0)
|
|
146
150
|
method_source
|
|
147
151
|
rake (>= 0.8.7)
|
|
148
|
-
thor (
|
|
152
|
+
thor (~> 1.0)
|
|
149
153
|
rainbow (3.0.0)
|
|
150
154
|
rake (13.0.1)
|
|
151
|
-
regexp_parser (
|
|
155
|
+
regexp_parser (2.0.0)
|
|
152
156
|
retriable (3.1.2)
|
|
153
157
|
rexml (3.2.4)
|
|
154
|
-
rubocop (1.2
|
|
158
|
+
rubocop (1.4.2)
|
|
155
159
|
parallel (~> 1.10)
|
|
156
160
|
parser (>= 2.7.1.5)
|
|
157
161
|
rainbow (>= 2.2.2, < 4.0)
|
|
158
162
|
regexp_parser (>= 1.8)
|
|
159
163
|
rexml
|
|
160
|
-
rubocop-ast (>= 1.
|
|
164
|
+
rubocop-ast (>= 1.1.1)
|
|
161
165
|
ruby-progressbar (~> 1.7)
|
|
162
166
|
unicode-display_width (>= 1.4.0, < 2.0)
|
|
163
|
-
rubocop-ast (1.
|
|
167
|
+
rubocop-ast (1.3.0)
|
|
164
168
|
parser (>= 2.7.1.5)
|
|
165
|
-
rubocop-performance (1.
|
|
166
|
-
rubocop (>= 0.
|
|
169
|
+
rubocop-performance (1.9.1)
|
|
170
|
+
rubocop (>= 0.90.0, < 2.0)
|
|
167
171
|
rubocop-ast (>= 0.4.0)
|
|
168
172
|
ruby-progressbar (1.10.1)
|
|
169
173
|
ruby2_keywords (0.0.2)
|
|
@@ -177,20 +181,19 @@ GEM
|
|
|
177
181
|
actionpack (>= 4.0)
|
|
178
182
|
activesupport (>= 4.0)
|
|
179
183
|
sprockets (>= 3.0.0)
|
|
180
|
-
standard (0.
|
|
181
|
-
rubocop (= 1.2
|
|
182
|
-
rubocop-performance (= 1.
|
|
184
|
+
standard (0.10.2)
|
|
185
|
+
rubocop (= 1.4.2)
|
|
186
|
+
rubocop-performance (= 1.9.1)
|
|
183
187
|
standardrb (1.0.0)
|
|
184
188
|
standard
|
|
185
189
|
thor (1.0.1)
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
thread_safe (~> 0.1)
|
|
190
|
+
tzinfo (2.0.3)
|
|
191
|
+
concurrent-ruby (~> 1.0)
|
|
189
192
|
unicode-display_width (1.7.0)
|
|
190
193
|
websocket-driver (0.7.3)
|
|
191
194
|
websocket-extensions (>= 0.1.0)
|
|
192
195
|
websocket-extensions (0.1.5)
|
|
193
|
-
zeitwerk (2.4.
|
|
196
|
+
zeitwerk (2.4.2)
|
|
194
197
|
|
|
195
198
|
PLATFORMS
|
|
196
199
|
ruby
|
data/README.md
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
<img alt="License: MIT" src="https://img.shields.io/badge/license-MIT-brightgreen.svg" target="_blank" />
|
|
12
12
|
</a>
|
|
13
13
|
<a href="http://blog.codinghorror.com/the-best-code-is-no-code-at-all/" target="_blank">
|
|
14
|
-
<img alt="Lines of Code" src="https://img.shields.io/badge/lines_of_code-
|
|
14
|
+
<img alt="Lines of Code" src="https://img.shields.io/badge/lines_of_code-451-brightgreen.svg?style=flat" />
|
|
15
15
|
</a>
|
|
16
16
|
<a href="https://cableready.stimulusreflex.com" target="_blank">
|
|
17
17
|
<img alt="Documentation" src="https://img.shields.io/badge/documentation-yes-brightgreen.svg" />
|
|
@@ -30,9 +30,6 @@
|
|
|
30
30
|
<a href="https://www.codacy.com/manual/hopsoft/cable_ready/dashboard?utm_source=github.com&utm_medium=referral&utm_content=hopsoft/cable_ready&utm_campaign=Badge_Grade" target="_blank">
|
|
31
31
|
<img alt="Code Quality" src="https://app.codacy.com/project/badge/Grade/8e6971e3410347eaaa16be2555160b9c"/>
|
|
32
32
|
</a>
|
|
33
|
-
<a href="https://codeclimate.com/github/hopsoft/cable_ready/maintainability" target="_blank">
|
|
34
|
-
<img alt="Maintainability" src="https://api.codeclimate.com/v1/badges/83ddf1fee4af7e51a681/maintainability" />
|
|
35
|
-
</a>
|
|
36
33
|
<a target="_blank" rel="noopener noreferrer" href="https://github.com/hopsoft/cable_ready/workflows/Prettier-Standard/badge.svg">
|
|
37
34
|
<img src="https://github.com/hopsoft/cable_ready/workflows/Prettier-Standard/badge.svg" alt="Prettier-Standard" style="max-width:100%;">
|
|
38
35
|
</a>
|
data/lib/cable_ready/channel.rb
CHANGED
|
@@ -28,11 +28,11 @@ module CableReady
|
|
|
28
28
|
end
|
|
29
29
|
|
|
30
30
|
def broadcast(clear = true)
|
|
31
|
-
CableReady::Channels.instance.broadcast(identifier, clear)
|
|
31
|
+
CableReady::Channels.instance.broadcast(identifier, clear: clear)
|
|
32
32
|
end
|
|
33
33
|
|
|
34
34
|
def broadcast_to(model, clear = true)
|
|
35
|
-
CableReady::Channels.instance.broadcast_to(model, identifier, clear)
|
|
35
|
+
CableReady::Channels.instance.broadcast_to(model, identifier, clear: clear)
|
|
36
36
|
end
|
|
37
37
|
|
|
38
38
|
private
|
data/lib/cable_ready/channels.rb
CHANGED
|
@@ -16,6 +16,7 @@ module CableReady
|
|
|
16
16
|
@operations = {}
|
|
17
17
|
%i[
|
|
18
18
|
add_css_class
|
|
19
|
+
clear_storage
|
|
19
20
|
console_log
|
|
20
21
|
dispatch_event
|
|
21
22
|
inner_html
|
|
@@ -28,11 +29,13 @@ module CableReady
|
|
|
28
29
|
remove
|
|
29
30
|
remove_attribute
|
|
30
31
|
remove_css_class
|
|
32
|
+
remove_storage_item
|
|
31
33
|
set_attribute
|
|
32
34
|
set_cookie
|
|
33
35
|
set_dataset_property
|
|
34
36
|
set_focus
|
|
35
37
|
set_property
|
|
38
|
+
set_storage_item
|
|
36
39
|
set_style
|
|
37
40
|
set_styles
|
|
38
41
|
set_value
|
data/lib/cable_ready/version.rb
CHANGED
data/package.json
CHANGED
data/yarn.lock
CHANGED
|
@@ -116,9 +116,9 @@
|
|
|
116
116
|
integrity sha512-tHq6qdbT9U1IRSGf14CL0pUlULksvY9OZ+5eEgl1N7t+OA3tGvNpxJCzuKQlsNgCVwbAs670L1vcVQi8j9HjnA==
|
|
117
117
|
|
|
118
118
|
"@types/node@*":
|
|
119
|
-
version "14.14.
|
|
120
|
-
resolved "https://registry.yarnpkg.com/@types/node/-/node-14.14.
|
|
121
|
-
integrity sha512-
|
|
119
|
+
version "14.14.9"
|
|
120
|
+
resolved "https://registry.yarnpkg.com/@types/node/-/node-14.14.9.tgz#04afc9a25c6ff93da14deabd65dc44485b53c8d6"
|
|
121
|
+
integrity sha512-JsoLXFppG62tWTklIoO4knA+oDTYsmqWxHRvd4lpmfQRNhX6osheUOWETP2jMoV/2bEHuMra8Pp3Dmo/stBFcw==
|
|
122
122
|
|
|
123
123
|
"@types/unist@^2.0.0", "@types/unist@^2.0.2":
|
|
124
124
|
version "2.0.3"
|
|
@@ -515,9 +515,9 @@ date-fns@^1.27.2:
|
|
|
515
515
|
integrity sha512-hBSVCvSmWC+QypYObzwGOd9wqdDpOt+0wl0KbU+R+uuZBS1jN8VsD1ss3irQDknRj5NvxiTF6oj/nDRnN/UQNw==
|
|
516
516
|
|
|
517
517
|
debug@^4.0.1, debug@^4.1.1:
|
|
518
|
-
version "4.
|
|
519
|
-
resolved "https://registry.yarnpkg.com/debug/-/debug-4.
|
|
520
|
-
integrity sha512-
|
|
518
|
+
version "4.3.1"
|
|
519
|
+
resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.1.tgz#f0d229c505e0c6d8c49ac553d1b13dc183f6b2ee"
|
|
520
|
+
integrity sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==
|
|
521
521
|
dependencies:
|
|
522
522
|
ms "2.1.2"
|
|
523
523
|
|
|
@@ -2356,9 +2356,9 @@ type-fest@^0.8.1:
|
|
|
2356
2356
|
integrity sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==
|
|
2357
2357
|
|
|
2358
2358
|
uglify-js@^3.1.4:
|
|
2359
|
-
version "3.
|
|
2360
|
-
resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.
|
|
2361
|
-
integrity sha512-
|
|
2359
|
+
version "3.12.0"
|
|
2360
|
+
resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.12.0.tgz#b943f129275c41d435eb54b643bbffee71dccf57"
|
|
2361
|
+
integrity sha512-8lBMSkFZuAK7gGF8LswsXmir8eX8d2AAMOnxSDWjKBx/fBR6MypQjs78m6ML9zQVp1/hD4TBdfeMZMC7nW1TAA==
|
|
2362
2362
|
|
|
2363
2363
|
unherit@^1.0.4:
|
|
2364
2364
|
version "1.1.3"
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cable_ready
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 4.4.
|
|
4
|
+
version: 4.4.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Nathan Hopkins
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-
|
|
11
|
+
date: 2020-12-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|
|
@@ -150,9 +150,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
150
150
|
version: '0'
|
|
151
151
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
152
152
|
requirements:
|
|
153
|
-
- - "
|
|
153
|
+
- - ">="
|
|
154
154
|
- !ruby/object:Gem::Version
|
|
155
|
-
version:
|
|
155
|
+
version: '0'
|
|
156
156
|
requirements: []
|
|
157
157
|
rubygems_version: 3.1.2
|
|
158
158
|
signing_key:
|