cable_ready 4.4.3 → 4.4.5

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: 6d8a5869e532577a273e312f83e5f61eb576c6d873758a0b96588a0aafb903ba
4
- data.tar.gz: 8f945cd61299c9bee1f2bd8d4d3b4310dd8ccd99e309ee84473265c4d7b48dd9
3
+ metadata.gz: 96bc60edaabbac6fd8eaa8ea84d85d7a80a8967dd3aa5b1b1f119038f3d95ed6
4
+ data.tar.gz: a46b3c7475ebf03f4e1183eeaf1b1d456382dfd905ec2365af1b7b67920f0cf0
5
5
  SHA512:
6
- metadata.gz: ce5561230f04527527d20e945face070adf1171727bc454e2dcf4fe603ad9cb1eec9f91b62068b5db989633341f4333b80db3b97e96e10c9af7d3320e2f0f898
7
- data.tar.gz: b4ff356e41e4cb04d93a2af3a9742c85cab968fb4726ef2e9d5ed859af2b5cf4fb3fec61f83ab8f5d604dd72744948af947952afbd4a175c8ed2ea0802c0d3c4
6
+ metadata.gz: f0dbfe223d6ea0a2c2ba21a3f4d9f71a6c1214131dcc4016f5ec2500b5eec0eaa2a218a538607bf3dfbf302992557233bf2db75410738335d1637542babc5280
7
+ data.tar.gz: 0d5012c06c18aae8b1b7e8d08342e5ad1c08d53fa408d6832795c42247280c69b40f62a7bd66a3e509f03ca3a0545d84571bba60227d23c3d5ca1cb3ae0d892a
data/CHANGELOG.md CHANGED
@@ -1,8 +1,16 @@
1
1
  # Changelog
2
2
 
3
- ## [Unreleased](https://github.com/hopsoft/cable_ready/tree/HEAD)
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.2...HEAD)
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)
6
14
 
7
15
  **Merged pull requests:**
8
16
 
@@ -141,6 +149,8 @@
141
149
  - Make morph emit after event [\#48](https://github.com/hopsoft/cable_ready/pull/48) ([julianrubisch](https://github.com/julianrubisch))
142
150
  - Customize operations via initializer [\#47](https://github.com/hopsoft/cable_ready/pull/47) ([leastbad](https://github.com/leastbad))
143
151
  - Correct method 'outerHtml' to 'outer\_html' in documentation [\#39](https://github.com/hopsoft/cable_ready/pull/39) ([pskarlas](https://github.com/pskarlas))
152
+ - Add setStyles [\#37](https://github.com/hopsoft/cable_ready/pull/37) ([excid3](https://github.com/excid3))
153
+ - Fix typo in method name outerHTML -\> outer\_html [\#35](https://github.com/hopsoft/cable_ready/pull/35) ([back2war](https://github.com/back2war))
144
154
 
145
155
  ## [v4.2.0](https://github.com/hopsoft/cable_ready/tree/v4.2.0) (2020-06-02)
146
156
 
@@ -155,7 +165,6 @@
155
165
  - after-outer-html emitted from new element [\#46](https://github.com/hopsoft/cable_ready/pull/46) ([leastbad](https://github.com/leastbad))
156
166
  - Fix `outer\_html` notation [\#45](https://github.com/hopsoft/cable_ready/pull/45) ([julianrubisch](https://github.com/julianrubisch))
157
167
  - Print out the selector for easier debugging perform errors [\#36](https://github.com/hopsoft/cable_ready/pull/36) ([excid3](https://github.com/excid3))
158
- - add set\_property method to library [\#34](https://github.com/hopsoft/cable_ready/pull/34) ([leastbad](https://github.com/leastbad))
159
168
 
160
169
  ## [v4.1.2](https://github.com/hopsoft/cable_ready/tree/v4.1.2) (2020-04-27)
161
170
 
@@ -165,6 +174,10 @@
165
174
 
166
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))
167
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
+
168
181
  ## [v4.1.1](https://github.com/hopsoft/cable_ready/tree/v4.1.1) (2020-04-20)
169
182
 
170
183
  [Full Changelog](https://github.com/hopsoft/cable_ready/compare/v4.1.0...v4.1.1)
@@ -175,9 +188,7 @@
175
188
 
176
189
  **Merged pull requests:**
177
190
 
178
- - Fix typo in method name outerHTML -\> outer\_html [\#35](https://github.com/hopsoft/cable_ready/pull/35) ([back2war](https://github.com/back2war))
179
191
  - Add funding file [\#31](https://github.com/hopsoft/cable_ready/pull/31) ([andrewmcodes](https://github.com/andrewmcodes))
180
- - update README and package.json [\#30](https://github.com/hopsoft/cable_ready/pull/30) ([andrewmcodes](https://github.com/andrewmcodes))
181
192
 
182
193
  ## [v4.1.0](https://github.com/hopsoft/cable_ready/tree/v4.1.0) (2020-04-05)
183
194
 
@@ -185,7 +196,7 @@
185
196
 
186
197
  **Merged pull requests:**
187
198
 
188
- - Add setStyles [\#37](https://github.com/hopsoft/cable_ready/pull/37) ([excid3](https://github.com/excid3))
199
+ - add set\_property method to library [\#34](https://github.com/hopsoft/cable_ready/pull/34) ([leastbad](https://github.com/leastbad))
189
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))
190
201
  - Set cookie support [\#28](https://github.com/hopsoft/cable_ready/pull/28) ([hopsoft](https://github.com/hopsoft))
191
202
  - README.md: Fix typo [\#27](https://github.com/hopsoft/cable_ready/pull/27) ([henrik](https://github.com/henrik))
data/Gemfile.lock CHANGED
@@ -1,67 +1,71 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cable_ready (4.4.3)
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.3.4)
11
- actionpack (= 6.0.3.4)
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.3.4)
15
- actionpack (= 6.0.3.4)
16
- activejob (= 6.0.3.4)
17
- activerecord (= 6.0.3.4)
18
- activestorage (= 6.0.3.4)
19
- activesupport (= 6.0.3.4)
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.3.4)
22
- actionpack (= 6.0.3.4)
23
- actionview (= 6.0.3.4)
24
- activejob (= 6.0.3.4)
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.3.4)
28
- actionview (= 6.0.3.4)
29
- activesupport (= 6.0.3.4)
30
- rack (~> 2.0, >= 2.0.8)
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.3.4)
35
- actionpack (= 6.0.3.4)
36
- activerecord (= 6.0.3.4)
37
- activestorage (= 6.0.3.4)
38
- activesupport (= 6.0.3.4)
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.3.4)
41
- activesupport (= 6.0.3.4)
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.3.4)
47
- activesupport (= 6.0.3.4)
48
+ activejob (6.1.0)
49
+ activesupport (= 6.1.0)
48
50
  globalid (>= 0.3.6)
49
- activemodel (6.0.3.4)
50
- activesupport (= 6.0.3.4)
51
- activerecord (6.0.3.4)
52
- activemodel (= 6.0.3.4)
53
- activesupport (= 6.0.3.4)
54
- activestorage (6.0.3.4)
55
- actionpack (= 6.0.3.4)
56
- activejob (= 6.0.3.4)
57
- activerecord (= 6.0.3.4)
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
- activesupport (6.0.3.4)
62
+ mimemagic (~> 0.3.2)
63
+ activesupport (6.1.0)
60
64
  concurrent-ruby (~> 1.0, >= 1.0.2)
61
- i18n (>= 0.7, < 2)
62
- minitest (~> 5.1)
63
- tzinfo (~> 1.1)
64
- zeitwerk (~> 2.2, >= 2.2.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)
@@ -120,32 +124,32 @@ GEM
120
124
  rack (2.2.3)
121
125
  rack-test (1.1.0)
122
126
  rack (>= 1.0, < 3)
123
- rails (6.0.3.4)
124
- actioncable (= 6.0.3.4)
125
- actionmailbox (= 6.0.3.4)
126
- actionmailer (= 6.0.3.4)
127
- actionpack (= 6.0.3.4)
128
- actiontext (= 6.0.3.4)
129
- actionview (= 6.0.3.4)
130
- activejob (= 6.0.3.4)
131
- activemodel (= 6.0.3.4)
132
- activerecord (= 6.0.3.4)
133
- activestorage (= 6.0.3.4)
134
- activesupport (= 6.0.3.4)
135
- bundler (>= 1.3.0)
136
- railties (= 6.0.3.4)
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.3.4)
144
- actionpack (= 6.0.3.4)
145
- activesupport (= 6.0.3.4)
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 (>= 0.20.3, < 2.0)
152
+ thor (~> 1.0)
149
153
  rainbow (3.0.0)
150
154
  rake (13.0.1)
151
155
  regexp_parser (2.0.0)
@@ -160,7 +164,7 @@ GEM
160
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.2.0)
167
+ rubocop-ast (1.3.0)
164
168
  parser (>= 2.7.1.5)
165
169
  rubocop-performance (1.9.1)
166
170
  rubocop (>= 0.90.0, < 2.0)
@@ -177,15 +181,14 @@ GEM
177
181
  actionpack (>= 4.0)
178
182
  activesupport (>= 4.0)
179
183
  sprockets (>= 3.0.0)
180
- standard (0.10.1)
184
+ standard (0.10.2)
181
185
  rubocop (= 1.4.2)
182
186
  rubocop-performance (= 1.9.1)
183
187
  standardrb (1.0.0)
184
188
  standard
185
189
  thor (1.0.1)
186
- thread_safe (0.3.6)
187
- tzinfo (1.2.8)
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)
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-427-brightgreen.svg?style=flat" />
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" />
@@ -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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CableReady
4
- VERSION = "4.4.3"
4
+ VERSION = "4.4.5"
5
5
  end
data/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cable_ready",
3
- "version": "4.4.2",
3
+ "version": "4.4.4",
4
4
  "description": "CableReady helps you create great real-time user experiences by making it simple to trigger client-side DOM changes from server-side Ruby.",
5
5
  "keywords": [
6
6
  "ruby",
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.3
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-12-01 00:00:00.000000000 Z
11
+ date: 2020-12-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails