cable_ready 4.0.8 → 4.0.9

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: ae0c3f85371453e8fd03d33b157a35ec8a3fdb2cf50dd3c1f0b1cf59073c7ca5
4
- data.tar.gz: 9d12e6bf55aed8a0e419d0b0f8d7abde22cea11e529f03a956596d35e020afcb
3
+ metadata.gz: 32986b01f278fab7298ee1ce8403f07ad6754041aae129a3149959ed6476dd61
4
+ data.tar.gz: c3b446220cfea1f07228a744be354448c604822563d5f10f6f44835ef8904ee0
5
5
  SHA512:
6
- metadata.gz: 69386e5cd74b5852ebc95de7d236b7f791fd9bc1ef127815df929cea8491899a0e1ea991bc92e7cfff5f7df3de3ffc20bf9fb21d36c9463619b055e419959766
7
- data.tar.gz: e00ec01c81d4adf99ccd5657fcc0f5fc531c53f1a035cebeb1204543e3857ab4f7fd02d0e83d32859bdc4d480d7276c97283875f218af89aad067725e1916b88
6
+ metadata.gz: 89ed3f5aae070a1b1f7418f31e3ce3e16df3db599a22e69e211f380dd18c42479fd86e980f391b3cbb22eabe7ec6ec6ac9d7c81aefee7fd52fe4b89319f669f5
7
+ data.tar.gz: c7be525d646a2a031f083ae3b1b4fdf9ddfc0d76a94de3c2128b774e4b1b42b488118820df7c5e0afeab47f9637848a896a15c3b8311cb4ba40bf4bc5a8748ef
data/Gemfile.lock CHANGED
@@ -1,79 +1,79 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cable_ready (4.0.8)
4
+ cable_ready (4.0.9)
5
5
  rails (>= 5.2)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- actioncable (6.0.0)
11
- actionpack (= 6.0.0)
10
+ actioncable (6.0.2.1)
11
+ actionpack (= 6.0.2.1)
12
12
  nio4r (~> 2.0)
13
13
  websocket-driver (>= 0.6.1)
14
- actionmailbox (6.0.0)
15
- actionpack (= 6.0.0)
16
- activejob (= 6.0.0)
17
- activerecord (= 6.0.0)
18
- activestorage (= 6.0.0)
19
- activesupport (= 6.0.0)
14
+ actionmailbox (6.0.2.1)
15
+ actionpack (= 6.0.2.1)
16
+ activejob (= 6.0.2.1)
17
+ activerecord (= 6.0.2.1)
18
+ activestorage (= 6.0.2.1)
19
+ activesupport (= 6.0.2.1)
20
20
  mail (>= 2.7.1)
21
- actionmailer (6.0.0)
22
- actionpack (= 6.0.0)
23
- actionview (= 6.0.0)
24
- activejob (= 6.0.0)
21
+ actionmailer (6.0.2.1)
22
+ actionpack (= 6.0.2.1)
23
+ actionview (= 6.0.2.1)
24
+ activejob (= 6.0.2.1)
25
25
  mail (~> 2.5, >= 2.5.4)
26
26
  rails-dom-testing (~> 2.0)
27
- actionpack (6.0.0)
28
- actionview (= 6.0.0)
29
- activesupport (= 6.0.0)
30
- rack (~> 2.0)
27
+ actionpack (6.0.2.1)
28
+ actionview (= 6.0.2.1)
29
+ activesupport (= 6.0.2.1)
30
+ rack (~> 2.0, >= 2.0.8)
31
31
  rack-test (>= 0.6.3)
32
32
  rails-dom-testing (~> 2.0)
33
33
  rails-html-sanitizer (~> 1.0, >= 1.2.0)
34
- actiontext (6.0.0)
35
- actionpack (= 6.0.0)
36
- activerecord (= 6.0.0)
37
- activestorage (= 6.0.0)
38
- activesupport (= 6.0.0)
34
+ actiontext (6.0.2.1)
35
+ actionpack (= 6.0.2.1)
36
+ activerecord (= 6.0.2.1)
37
+ activestorage (= 6.0.2.1)
38
+ activesupport (= 6.0.2.1)
39
39
  nokogiri (>= 1.8.5)
40
- actionview (6.0.0)
41
- activesupport (= 6.0.0)
40
+ actionview (6.0.2.1)
41
+ activesupport (= 6.0.2.1)
42
42
  builder (~> 3.1)
43
43
  erubi (~> 1.4)
44
44
  rails-dom-testing (~> 2.0)
45
45
  rails-html-sanitizer (~> 1.1, >= 1.2.0)
46
- activejob (6.0.0)
47
- activesupport (= 6.0.0)
46
+ activejob (6.0.2.1)
47
+ activesupport (= 6.0.2.1)
48
48
  globalid (>= 0.3.6)
49
- activemodel (6.0.0)
50
- activesupport (= 6.0.0)
51
- activerecord (6.0.0)
52
- activemodel (= 6.0.0)
53
- activesupport (= 6.0.0)
54
- activestorage (6.0.0)
55
- actionpack (= 6.0.0)
56
- activejob (= 6.0.0)
57
- activerecord (= 6.0.0)
49
+ activemodel (6.0.2.1)
50
+ activesupport (= 6.0.2.1)
51
+ activerecord (6.0.2.1)
52
+ activemodel (= 6.0.2.1)
53
+ activesupport (= 6.0.2.1)
54
+ activestorage (6.0.2.1)
55
+ actionpack (= 6.0.2.1)
56
+ activejob (= 6.0.2.1)
57
+ activerecord (= 6.0.2.1)
58
58
  marcel (~> 0.3.1)
59
- activesupport (6.0.0)
59
+ activesupport (6.0.2.1)
60
60
  concurrent-ruby (~> 1.0, >= 1.0.2)
61
61
  i18n (>= 0.7, < 2)
62
62
  minitest (~> 5.1)
63
63
  tzinfo (~> 1.1)
64
- zeitwerk (~> 2.1, >= 2.1.8)
64
+ zeitwerk (~> 2.2)
65
65
  ast (2.4.0)
66
- builder (3.2.3)
66
+ builder (3.2.4)
67
67
  coderay (1.1.2)
68
68
  concurrent-ruby (1.1.5)
69
- crass (1.0.5)
69
+ crass (1.0.6)
70
70
  erubi (1.9.0)
71
71
  globalid (0.4.2)
72
72
  activesupport (>= 4.2.0)
73
- i18n (1.7.0)
73
+ i18n (1.8.2)
74
74
  concurrent-ruby (~> 1.0)
75
75
  jaro_winkler (1.5.4)
76
- loofah (2.3.1)
76
+ loofah (2.4.0)
77
77
  crass (~> 1.0.2)
78
78
  nokogiri (>= 1.5.9)
79
79
  mail (2.7.1)
@@ -84,57 +84,57 @@ GEM
84
84
  mimemagic (0.3.3)
85
85
  mini_mime (1.0.2)
86
86
  mini_portile2 (2.4.0)
87
- minitest (5.13.0)
87
+ minitest (5.14.0)
88
88
  nio4r (2.5.2)
89
- nokogiri (1.10.5)
89
+ nokogiri (1.10.7)
90
90
  mini_portile2 (~> 2.4.0)
91
- parallel (1.18.0)
92
- parser (2.6.5.0)
91
+ parallel (1.19.1)
92
+ parser (2.7.0.2)
93
93
  ast (~> 2.4.0)
94
94
  pry (0.12.2)
95
95
  coderay (~> 1.1.0)
96
96
  method_source (~> 0.9.0)
97
97
  pry-nav (0.3.0)
98
98
  pry (>= 0.9.10, < 0.13.0)
99
- rack (2.0.7)
99
+ rack (2.1.1)
100
100
  rack-test (1.1.0)
101
101
  rack (>= 1.0, < 3)
102
- rails (6.0.0)
103
- actioncable (= 6.0.0)
104
- actionmailbox (= 6.0.0)
105
- actionmailer (= 6.0.0)
106
- actionpack (= 6.0.0)
107
- actiontext (= 6.0.0)
108
- actionview (= 6.0.0)
109
- activejob (= 6.0.0)
110
- activemodel (= 6.0.0)
111
- activerecord (= 6.0.0)
112
- activestorage (= 6.0.0)
113
- activesupport (= 6.0.0)
102
+ rails (6.0.2.1)
103
+ actioncable (= 6.0.2.1)
104
+ actionmailbox (= 6.0.2.1)
105
+ actionmailer (= 6.0.2.1)
106
+ actionpack (= 6.0.2.1)
107
+ actiontext (= 6.0.2.1)
108
+ actionview (= 6.0.2.1)
109
+ activejob (= 6.0.2.1)
110
+ activemodel (= 6.0.2.1)
111
+ activerecord (= 6.0.2.1)
112
+ activestorage (= 6.0.2.1)
113
+ activesupport (= 6.0.2.1)
114
114
  bundler (>= 1.3.0)
115
- railties (= 6.0.0)
115
+ railties (= 6.0.2.1)
116
116
  sprockets-rails (>= 2.0.0)
117
117
  rails-dom-testing (2.0.3)
118
118
  activesupport (>= 4.2.0)
119
119
  nokogiri (>= 1.6)
120
120
  rails-html-sanitizer (1.3.0)
121
121
  loofah (~> 2.3)
122
- railties (6.0.0)
123
- actionpack (= 6.0.0)
124
- activesupport (= 6.0.0)
122
+ railties (6.0.2.1)
123
+ actionpack (= 6.0.2.1)
124
+ activesupport (= 6.0.2.1)
125
125
  method_source
126
126
  rake (>= 0.8.7)
127
127
  thor (>= 0.20.3, < 2.0)
128
128
  rainbow (3.0.0)
129
- rake (13.0.0)
130
- rubocop (0.75.1)
129
+ rake (13.0.1)
130
+ rubocop (0.77.0)
131
131
  jaro_winkler (~> 1.5.1)
132
132
  parallel (~> 1.10)
133
133
  parser (>= 2.6)
134
134
  rainbow (>= 2.2.2, < 4.0)
135
135
  ruby-progressbar (~> 1.7)
136
136
  unicode-display_width (>= 1.4.0, < 1.7)
137
- rubocop-performance (1.5.0)
137
+ rubocop-performance (1.5.2)
138
138
  rubocop (>= 0.71.0)
139
139
  ruby-progressbar (1.10.1)
140
140
  sprockets (4.0.0)
@@ -144,20 +144,20 @@ GEM
144
144
  actionpack (>= 4.0)
145
145
  activesupport (>= 4.0)
146
146
  sprockets (>= 3.0.0)
147
- standard (0.1.5)
148
- rubocop (~> 0.75.0)
149
- rubocop-performance (~> 1.5.0)
147
+ standard (0.1.7)
148
+ rubocop (~> 0.77.0)
149
+ rubocop-performance (~> 1.5.1)
150
150
  standardrb (1.0.0)
151
151
  standard
152
- thor (0.20.3)
152
+ thor (1.0.1)
153
153
  thread_safe (0.3.6)
154
- tzinfo (1.2.5)
154
+ tzinfo (1.2.6)
155
155
  thread_safe (~> 0.1)
156
- unicode-display_width (1.6.0)
156
+ unicode-display_width (1.6.1)
157
157
  websocket-driver (0.7.1)
158
158
  websocket-extensions (>= 0.1.0)
159
159
  websocket-extensions (0.1.4)
160
- zeitwerk (2.2.1)
160
+ zeitwerk (2.2.2)
161
161
 
162
162
  PLATFORMS
163
163
  ruby
@@ -170,4 +170,4 @@ DEPENDENCIES
170
170
  standardrb
171
171
 
172
172
  BUNDLED WITH
173
- 1.16.6
173
+ 1.17.2
@@ -113,63 +113,68 @@ module CableReady
113
113
  end
114
114
 
115
115
  def dispatch_event(options = {})
116
- operations[:dispatch_event] << options
116
+ add_operation(:dispatch_event, options)
117
117
  end
118
118
 
119
119
  def morph(options = {})
120
- operations[:morph] << options
120
+ add_operation(:morph, options)
121
121
  end
122
122
 
123
123
  def inner_html(options = {})
124
- operations[:inner_html] << options
124
+ add_operation(:inner_html, options)
125
125
  end
126
126
 
127
127
  def outer_html(options = {})
128
- operations[:outer_html] << options
128
+ add_operation(:outer_html, options)
129
129
  end
130
130
 
131
131
  def text_content(options = {})
132
- operations[:text_content] << options
132
+ add_operation(:text_content, options)
133
133
  end
134
134
 
135
135
  def insert_adjacent_html(options = {})
136
- operations[:insert_adjacent_html] << options
136
+ add_operation(:insert_adjacent_html, options)
137
137
  end
138
138
 
139
139
  def insert_adjacent_text(options = {})
140
- operations[:insert_adjacent_text] << options
140
+ add_operation(:insert_adjacent_text, options)
141
141
  end
142
142
 
143
143
  def remove(options = {})
144
- operations[:remove] << options
144
+ add_operation(:remove, options)
145
145
  end
146
146
 
147
147
  def set_value(options = {})
148
- operations[:set_value] << options
148
+ add_operation(:set_value, options)
149
149
  end
150
150
 
151
151
  def set_attribute(options = {})
152
- operations[:set_attribute] << options
152
+ add_operation(:set_attribute, options)
153
153
  end
154
154
 
155
155
  def remove_attribute(options = {})
156
- operations[:remove_attribute] << options
156
+ add_operation(:remove_attribute, options)
157
157
  end
158
158
 
159
159
  def add_css_class(options = {})
160
- operations[:add_css_class] << options
160
+ add_operation(:add_css_class, options)
161
161
  end
162
162
 
163
163
  def remove_css_class(options = {})
164
- operations[:remove_css_class] << options
164
+ add_operation(:remove_css_class, options)
165
165
  end
166
166
 
167
167
  def set_dataset_property(options = {})
168
- operations[:set_dataset_property] << options
168
+ add_operation(:set_dataset_property, options)
169
169
  end
170
170
 
171
171
  private
172
172
 
173
+ def add_operation(key, options)
174
+ operations[key] ||= []
175
+ operations[key] << options
176
+ end
177
+
173
178
  def stub
174
179
  {
175
180
  dispatch_event: [],
@@ -1,3 +1,3 @@
1
1
  module CableReady
2
- VERSION = "4.0.8"
2
+ VERSION = "4.0.9"
3
3
  end
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.0.8
4
+ version: 4.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Hopkins
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-11-04 00:00:00.000000000 Z
11
+ date: 2020-01-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails