cable_ready 4.1.2 → 4.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +2 -0
- data/Gemfile.lock +62 -64
- data/Rakefile +2 -0
- data/lib/cable_ready.rb +2 -0
- data/lib/cable_ready/broadcaster.rb +2 -0
- data/lib/cable_ready/channel.rb +13 -0
- data/lib/cable_ready/channels.rb +2 -0
- data/lib/cable_ready/version.rb +3 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e576813856258661e5734171c7b318a2cb175555380b930ecd7e39070c8ccf0c
|
4
|
+
data.tar.gz: 3a1523ab640bade41097d06b92e9ee30280c6cab87b5a76b0d213107e096d289
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5a28688ca371e11cb503f6fcd7e390911488885ee50bae435963eaa42f4d641568766470121d7b7c7bf2d90d1a74dd48faa52c9a22a860fa1d91d26cf059b17f
|
7
|
+
data.tar.gz: 74a88801ef990880f5d8d2724f9f37cdf510a195979474d1f78ea15d73b2dfe4e9ff26c99dca4638cf916d5f5162c6aad4ad9b5c711157f7c93138459f311dc1
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,70 +1,70 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
cable_ready (4.
|
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.
|
11
|
-
actionpack (= 6.0.
|
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.
|
15
|
-
actionpack (= 6.0.
|
16
|
-
activejob (= 6.0.
|
17
|
-
activerecord (= 6.0.
|
18
|
-
activestorage (= 6.0.
|
19
|
-
activesupport (= 6.0.
|
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.
|
22
|
-
actionpack (= 6.0.
|
23
|
-
actionview (= 6.0.
|
24
|
-
activejob (= 6.0.
|
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.
|
28
|
-
actionview (= 6.0.
|
29
|
-
activesupport (= 6.0.
|
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.
|
35
|
-
actionpack (= 6.0.
|
36
|
-
activerecord (= 6.0.
|
37
|
-
activestorage (= 6.0.
|
38
|
-
activesupport (= 6.0.
|
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.
|
41
|
-
activesupport (= 6.0.
|
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.
|
47
|
-
activesupport (= 6.0.
|
46
|
+
activejob (6.0.3.1)
|
47
|
+
activesupport (= 6.0.3.1)
|
48
48
|
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.
|
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.
|
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.
|
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.
|
83
|
+
mimemagic (0.3.5)
|
85
84
|
mini_mime (1.0.2)
|
86
85
|
mini_portile2 (2.4.0)
|
87
|
-
minitest (5.14.
|
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.
|
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.
|
103
|
-
actioncable (= 6.0.
|
104
|
-
actionmailbox (= 6.0.
|
105
|
-
actionmailer (= 6.0.
|
106
|
-
actionpack (= 6.0.
|
107
|
-
actiontext (= 6.0.
|
108
|
-
actionview (= 6.0.
|
109
|
-
activejob (= 6.0.
|
110
|
-
activemodel (= 6.0.
|
111
|
-
activerecord (= 6.0.
|
112
|
-
activestorage (= 6.0.
|
113
|
-
activesupport (= 6.0.
|
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.
|
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.
|
123
|
-
actionpack (= 6.0.
|
124
|
-
activesupport (= 6.0.
|
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.
|
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, <
|
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.
|
150
|
-
rubocop (~> 0.
|
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.
|
159
|
-
websocket-driver (0.7.
|
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
data/lib/cable_ready.rb
CHANGED
data/lib/cable_ready/channel.rb
CHANGED
@@ -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
|
}
|
data/lib/cable_ready/channels.rb
CHANGED
data/lib/cable_ready/version.rb
CHANGED
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
|
+
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-
|
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.
|
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
|