cable_ready 4.1.2 → 4.2.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b3b524261f179ef36351139f62eac34d6e3f4ad90b5626eb71ebc9bd368524aa
4
- data.tar.gz: be0dffbea3c713678a1e4887930556ced3435090f84bdf7e8d8b7f626ff9ddc9
3
+ metadata.gz: e576813856258661e5734171c7b318a2cb175555380b930ecd7e39070c8ccf0c
4
+ data.tar.gz: 3a1523ab640bade41097d06b92e9ee30280c6cab87b5a76b0d213107e096d289
5
5
  SHA512:
6
- metadata.gz: b283d70fd3de8232d790a0bf9567bbb1ed61966a3fdf97b67fc76da447ce8b3a7f1d8330a5bfe66c6089bef76a9cde7b5a009c4f22f4850a2b665fe6ed0919b1
7
- data.tar.gz: a424e5a43efb594c4bb40544072a841f5578a5bda7ea20f54e8db62ff4371779474a76c9a9066d6c44b1b88bddcfb07142d41445c4a5b6d8ce0efedbaebebfa3
6
+ metadata.gz: 5a28688ca371e11cb503f6fcd7e390911488885ee50bae435963eaa42f4d641568766470121d7b7c7bf2d90d1a74dd48faa52c9a22a860fa1d91d26cf059b17f
7
+ data.tar.gz: 74a88801ef990880f5d8d2724f9f37cdf510a195979474d1f78ea15d73b2dfe4e9ff26c99dca4638cf916d5f5162c6aad4ad9b5c711157f7c93138459f311dc1
data/Gemfile CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  source "https://rubygems.org"
2
4
 
3
5
  # Specify your gem's dependencies in cable_ready.gemspec
@@ -1,70 +1,70 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cable_ready (4.1.2)
4
+ cable_ready (4.2.0)
5
5
  rails (>= 5.2)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- actioncable (6.0.2.2)
11
- actionpack (= 6.0.2.2)
10
+ actioncable (6.0.3.1)
11
+ actionpack (= 6.0.3.1)
12
12
  nio4r (~> 2.0)
13
13
  websocket-driver (>= 0.6.1)
14
- actionmailbox (6.0.2.2)
15
- actionpack (= 6.0.2.2)
16
- activejob (= 6.0.2.2)
17
- activerecord (= 6.0.2.2)
18
- activestorage (= 6.0.2.2)
19
- activesupport (= 6.0.2.2)
14
+ actionmailbox (6.0.3.1)
15
+ actionpack (= 6.0.3.1)
16
+ activejob (= 6.0.3.1)
17
+ activerecord (= 6.0.3.1)
18
+ activestorage (= 6.0.3.1)
19
+ activesupport (= 6.0.3.1)
20
20
  mail (>= 2.7.1)
21
- actionmailer (6.0.2.2)
22
- actionpack (= 6.0.2.2)
23
- actionview (= 6.0.2.2)
24
- activejob (= 6.0.2.2)
21
+ actionmailer (6.0.3.1)
22
+ actionpack (= 6.0.3.1)
23
+ actionview (= 6.0.3.1)
24
+ activejob (= 6.0.3.1)
25
25
  mail (~> 2.5, >= 2.5.4)
26
26
  rails-dom-testing (~> 2.0)
27
- actionpack (6.0.2.2)
28
- actionview (= 6.0.2.2)
29
- activesupport (= 6.0.2.2)
27
+ actionpack (6.0.3.1)
28
+ actionview (= 6.0.3.1)
29
+ activesupport (= 6.0.3.1)
30
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.2.2)
35
- actionpack (= 6.0.2.2)
36
- activerecord (= 6.0.2.2)
37
- activestorage (= 6.0.2.2)
38
- activesupport (= 6.0.2.2)
34
+ actiontext (6.0.3.1)
35
+ actionpack (= 6.0.3.1)
36
+ activerecord (= 6.0.3.1)
37
+ activestorage (= 6.0.3.1)
38
+ activesupport (= 6.0.3.1)
39
39
  nokogiri (>= 1.8.5)
40
- actionview (6.0.2.2)
41
- activesupport (= 6.0.2.2)
40
+ actionview (6.0.3.1)
41
+ activesupport (= 6.0.3.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.2.2)
47
- activesupport (= 6.0.2.2)
46
+ activejob (6.0.3.1)
47
+ activesupport (= 6.0.3.1)
48
48
  globalid (>= 0.3.6)
49
- activemodel (6.0.2.2)
50
- activesupport (= 6.0.2.2)
51
- activerecord (6.0.2.2)
52
- activemodel (= 6.0.2.2)
53
- activesupport (= 6.0.2.2)
54
- activestorage (6.0.2.2)
55
- actionpack (= 6.0.2.2)
56
- activejob (= 6.0.2.2)
57
- activerecord (= 6.0.2.2)
49
+ activemodel (6.0.3.1)
50
+ activesupport (= 6.0.3.1)
51
+ activerecord (6.0.3.1)
52
+ activemodel (= 6.0.3.1)
53
+ activesupport (= 6.0.3.1)
54
+ activestorage (6.0.3.1)
55
+ actionpack (= 6.0.3.1)
56
+ activejob (= 6.0.3.1)
57
+ activerecord (= 6.0.3.1)
58
58
  marcel (~> 0.3.1)
59
- activesupport (6.0.2.2)
59
+ activesupport (6.0.3.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.2)
64
+ zeitwerk (~> 2.2, >= 2.2.2)
65
65
  ast (2.4.0)
66
66
  builder (3.2.4)
67
- coderay (1.1.2)
67
+ coderay (1.1.3)
68
68
  concurrent-ruby (1.1.6)
69
69
  crass (1.0.6)
70
70
  erubi (1.9.0)
@@ -72,7 +72,6 @@ GEM
72
72
  activesupport (>= 4.2.0)
73
73
  i18n (1.8.2)
74
74
  concurrent-ruby (~> 1.0)
75
- jaro_winkler (1.5.4)
76
75
  loofah (2.5.0)
77
76
  crass (~> 1.0.2)
78
77
  nokogiri (>= 1.5.9)
@@ -81,15 +80,15 @@ GEM
81
80
  marcel (0.3.3)
82
81
  mimemagic (~> 0.3.2)
83
82
  method_source (0.9.2)
84
- mimemagic (0.3.4)
83
+ mimemagic (0.3.5)
85
84
  mini_mime (1.0.2)
86
85
  mini_portile2 (2.4.0)
87
- minitest (5.14.0)
86
+ minitest (5.14.1)
88
87
  nio4r (2.5.2)
89
88
  nokogiri (1.10.9)
90
89
  mini_portile2 (~> 2.4.0)
91
90
  parallel (1.19.1)
92
- parser (2.7.1.1)
91
+ parser (2.7.1.3)
93
92
  ast (~> 2.4.0)
94
93
  pry (0.12.2)
95
94
  coderay (~> 1.1.0)
@@ -99,43 +98,42 @@ GEM
99
98
  rack (2.2.2)
100
99
  rack-test (1.1.0)
101
100
  rack (>= 1.0, < 3)
102
- rails (6.0.2.2)
103
- actioncable (= 6.0.2.2)
104
- actionmailbox (= 6.0.2.2)
105
- actionmailer (= 6.0.2.2)
106
- actionpack (= 6.0.2.2)
107
- actiontext (= 6.0.2.2)
108
- actionview (= 6.0.2.2)
109
- activejob (= 6.0.2.2)
110
- activemodel (= 6.0.2.2)
111
- activerecord (= 6.0.2.2)
112
- activestorage (= 6.0.2.2)
113
- activesupport (= 6.0.2.2)
101
+ rails (6.0.3.1)
102
+ actioncable (= 6.0.3.1)
103
+ actionmailbox (= 6.0.3.1)
104
+ actionmailer (= 6.0.3.1)
105
+ actionpack (= 6.0.3.1)
106
+ actiontext (= 6.0.3.1)
107
+ actionview (= 6.0.3.1)
108
+ activejob (= 6.0.3.1)
109
+ activemodel (= 6.0.3.1)
110
+ activerecord (= 6.0.3.1)
111
+ activestorage (= 6.0.3.1)
112
+ activesupport (= 6.0.3.1)
114
113
  bundler (>= 1.3.0)
115
- railties (= 6.0.2.2)
114
+ railties (= 6.0.3.1)
116
115
  sprockets-rails (>= 2.0.0)
117
116
  rails-dom-testing (2.0.3)
118
117
  activesupport (>= 4.2.0)
119
118
  nokogiri (>= 1.6)
120
119
  rails-html-sanitizer (1.3.0)
121
120
  loofah (~> 2.3)
122
- railties (6.0.2.2)
123
- actionpack (= 6.0.2.2)
124
- activesupport (= 6.0.2.2)
121
+ railties (6.0.3.1)
122
+ actionpack (= 6.0.3.1)
123
+ activesupport (= 6.0.3.1)
125
124
  method_source
126
125
  rake (>= 0.8.7)
127
126
  thor (>= 0.20.3, < 2.0)
128
127
  rainbow (3.0.0)
129
128
  rake (13.0.1)
130
129
  rexml (3.2.4)
131
- rubocop (0.80.1)
132
- jaro_winkler (~> 1.5.1)
130
+ rubocop (0.83.0)
133
131
  parallel (~> 1.10)
134
132
  parser (>= 2.7.0.1)
135
133
  rainbow (>= 2.2.2, < 4.0)
136
134
  rexml
137
135
  ruby-progressbar (~> 1.7)
138
- unicode-display_width (>= 1.4.0, < 1.7)
136
+ unicode-display_width (>= 1.4.0, < 2.0)
139
137
  rubocop-performance (1.5.2)
140
138
  rubocop (>= 0.71.0)
141
139
  ruby-progressbar (1.10.1)
@@ -146,8 +144,8 @@ GEM
146
144
  actionpack (>= 4.0)
147
145
  activesupport (>= 4.0)
148
146
  sprockets (>= 3.0.0)
149
- standard (0.2.4)
150
- rubocop (~> 0.80.1)
147
+ standard (0.4.6)
148
+ rubocop (~> 0.83.0)
151
149
  rubocop-performance (~> 1.5.2)
152
150
  standardrb (1.0.0)
153
151
  standard
@@ -155,8 +153,8 @@ GEM
155
153
  thread_safe (0.3.6)
156
154
  tzinfo (1.2.7)
157
155
  thread_safe (~> 0.1)
158
- unicode-display_width (1.6.1)
159
- websocket-driver (0.7.1)
156
+ unicode-display_width (1.7.0)
157
+ websocket-driver (0.7.2)
160
158
  websocket-extensions (>= 0.1.0)
161
159
  websocket-extensions (0.1.4)
162
160
  zeitwerk (2.3.0)
data/Rakefile CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require "bundler/gem_tasks"
2
4
 
3
5
  task default: [:test]
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require "rails/engine"
2
4
  require "active_support/all"
3
5
  require "cable_ready/version"
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require_relative "channels"
2
4
 
3
5
  module CableReady
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module CableReady
2
4
  class Channel
3
5
  attr_reader :name, :operations
@@ -65,6 +67,12 @@ module CableReady
65
67
  # focus_selector: "string,
66
68
  # }, ...],
67
69
  #
70
+ # set_property: [{
71
+ # name: "string",
72
+ # selector: "string",
73
+ # value: "string"
74
+ # }, ...],
75
+ #
68
76
  # set_value: [{
69
77
  # selector: "string",
70
78
  # value: "string"
@@ -163,6 +171,10 @@ module CableReady
163
171
  add_operation(:remove, options)
164
172
  end
165
173
 
174
+ def set_property(options = {})
175
+ add_operation(:set_property, options)
176
+ end
177
+
166
178
  def set_value(options = {})
167
179
  add_operation(:set_value, options)
168
180
  end
@@ -214,6 +226,7 @@ module CableReady
214
226
  set_cookie: [],
215
227
  set_dataset_property: [],
216
228
  set_style: [],
229
+ set_property: [],
217
230
  set_value: [],
218
231
  text_content: []
219
232
  }
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require_relative "channel"
2
4
 
3
5
  module CableReady
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module CableReady
2
- VERSION = "4.1.2"
4
+ VERSION = "4.2.0"
3
5
  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.1.2
4
+ version: 4.2.0
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-04-27 00:00:00.000000000 Z
11
+ date: 2020-06-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -124,7 +124,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
124
124
  - !ruby/object:Gem::Version
125
125
  version: '0'
126
126
  requirements: []
127
- rubygems_version: 3.1.2
127
+ rubygems_version: 3.0.3
128
128
  signing_key:
129
129
  specification_version: 4
130
130
  summary: Out-of-Band Server Triggered DOM Operations