cable_ready 4.4.0.pre0 → 4.4.0.pre1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +2 -2
- data/Gemfile.lock +67 -66
- data/README.md +4 -1
- data/bin/standardize +1 -0
- data/lib/cable_ready/channels.rb +2 -0
- data/lib/cable_ready/version.rb +1 -1
- data/tags +34 -23
- 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: be824a0305f8417ebd3aee0bd8a64144e42b35a614f77f894b377c91613678e1
|
4
|
+
data.tar.gz: 5608ede1c9b6b00adf16e21eb4ebbe82ac6b5a1e1ef4ffabca235e00afadab23
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a0b76d5e5b31a40c17d949faf153f7490a5ad5cd9daded8b34812dc128d84125022c33ca9eb7ce0b0745f4d580356fa5cd780aa6e5e2edca1c9498d50aebbbc6
|
7
|
+
data.tar.gz: d8dae8b936daf39d8433048003e12c1397fce3594cfccbe1bfda400d8c738f7627152e0e71f241bae05ec2e8fc5b844225b6c99d8bdc558aa2d6cd2cd5a806df
|
data/CHANGELOG.md
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
-
## [
|
3
|
+
## [v4.4.0.pre0](https://github.com/hopsoft/cable_ready/tree/v4.4.0.pre0) (2020-09-02)
|
4
4
|
|
5
|
-
[Full Changelog](https://github.com/hopsoft/cable_ready/compare/v4.3.0...
|
5
|
+
[Full Changelog](https://github.com/hopsoft/cable_ready/compare/v4.3.0...v4.4.0.pre0)
|
6
6
|
|
7
7
|
**Implemented enhancements:**
|
8
8
|
|
data/Gemfile.lock
CHANGED
@@ -1,62 +1,62 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
cable_ready (4.4.0.
|
4
|
+
cable_ready (4.4.0.pre1)
|
5
5
|
rails (>= 5.2)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
|
-
actioncable (6.0.3.
|
11
|
-
actionpack (= 6.0.3.
|
10
|
+
actioncable (6.0.3.3)
|
11
|
+
actionpack (= 6.0.3.3)
|
12
12
|
nio4r (~> 2.0)
|
13
13
|
websocket-driver (>= 0.6.1)
|
14
|
-
actionmailbox (6.0.3.
|
15
|
-
actionpack (= 6.0.3.
|
16
|
-
activejob (= 6.0.3.
|
17
|
-
activerecord (= 6.0.3.
|
18
|
-
activestorage (= 6.0.3.
|
19
|
-
activesupport (= 6.0.3.
|
14
|
+
actionmailbox (6.0.3.3)
|
15
|
+
actionpack (= 6.0.3.3)
|
16
|
+
activejob (= 6.0.3.3)
|
17
|
+
activerecord (= 6.0.3.3)
|
18
|
+
activestorage (= 6.0.3.3)
|
19
|
+
activesupport (= 6.0.3.3)
|
20
20
|
mail (>= 2.7.1)
|
21
|
-
actionmailer (6.0.3.
|
22
|
-
actionpack (= 6.0.3.
|
23
|
-
actionview (= 6.0.3.
|
24
|
-
activejob (= 6.0.3.
|
21
|
+
actionmailer (6.0.3.3)
|
22
|
+
actionpack (= 6.0.3.3)
|
23
|
+
actionview (= 6.0.3.3)
|
24
|
+
activejob (= 6.0.3.3)
|
25
25
|
mail (~> 2.5, >= 2.5.4)
|
26
26
|
rails-dom-testing (~> 2.0)
|
27
|
-
actionpack (6.0.3.
|
28
|
-
actionview (= 6.0.3.
|
29
|
-
activesupport (= 6.0.3.
|
27
|
+
actionpack (6.0.3.3)
|
28
|
+
actionview (= 6.0.3.3)
|
29
|
+
activesupport (= 6.0.3.3)
|
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.3.
|
35
|
-
actionpack (= 6.0.3.
|
36
|
-
activerecord (= 6.0.3.
|
37
|
-
activestorage (= 6.0.3.
|
38
|
-
activesupport (= 6.0.3.
|
34
|
+
actiontext (6.0.3.3)
|
35
|
+
actionpack (= 6.0.3.3)
|
36
|
+
activerecord (= 6.0.3.3)
|
37
|
+
activestorage (= 6.0.3.3)
|
38
|
+
activesupport (= 6.0.3.3)
|
39
39
|
nokogiri (>= 1.8.5)
|
40
|
-
actionview (6.0.3.
|
41
|
-
activesupport (= 6.0.3.
|
40
|
+
actionview (6.0.3.3)
|
41
|
+
activesupport (= 6.0.3.3)
|
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.3.
|
47
|
-
activesupport (= 6.0.3.
|
46
|
+
activejob (6.0.3.3)
|
47
|
+
activesupport (= 6.0.3.3)
|
48
48
|
globalid (>= 0.3.6)
|
49
|
-
activemodel (6.0.3.
|
50
|
-
activesupport (= 6.0.3.
|
51
|
-
activerecord (6.0.3.
|
52
|
-
activemodel (= 6.0.3.
|
53
|
-
activesupport (= 6.0.3.
|
54
|
-
activestorage (6.0.3.
|
55
|
-
actionpack (= 6.0.3.
|
56
|
-
activejob (= 6.0.3.
|
57
|
-
activerecord (= 6.0.3.
|
49
|
+
activemodel (6.0.3.3)
|
50
|
+
activesupport (= 6.0.3.3)
|
51
|
+
activerecord (6.0.3.3)
|
52
|
+
activemodel (= 6.0.3.3)
|
53
|
+
activesupport (= 6.0.3.3)
|
54
|
+
activestorage (6.0.3.3)
|
55
|
+
actionpack (= 6.0.3.3)
|
56
|
+
activejob (= 6.0.3.3)
|
57
|
+
activerecord (= 6.0.3.3)
|
58
58
|
marcel (~> 0.3.1)
|
59
|
-
activesupport (6.0.3.
|
59
|
+
activesupport (6.0.3.3)
|
60
60
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
61
61
|
i18n (>= 0.7, < 2)
|
62
62
|
minitest (~> 5.1)
|
@@ -101,68 +101,69 @@ GEM
|
|
101
101
|
minitest (5.14.2)
|
102
102
|
multi_json (1.15.0)
|
103
103
|
multipart-post (2.1.1)
|
104
|
-
nio4r (2.5.
|
104
|
+
nio4r (2.5.4)
|
105
105
|
nokogiri (1.10.10)
|
106
106
|
mini_portile2 (~> 2.4.0)
|
107
107
|
octokit (4.18.0)
|
108
108
|
faraday (>= 0.9)
|
109
109
|
sawyer (~> 0.8.0, >= 0.5.3)
|
110
110
|
parallel (1.19.2)
|
111
|
-
parser (2.7.1.
|
111
|
+
parser (2.7.1.5)
|
112
112
|
ast (~> 2.4.1)
|
113
113
|
pry (0.12.2)
|
114
114
|
coderay (~> 1.1.0)
|
115
115
|
method_source (~> 0.9.0)
|
116
116
|
pry-nav (0.3.0)
|
117
117
|
pry (>= 0.9.10, < 0.13.0)
|
118
|
-
public_suffix (4.0.
|
118
|
+
public_suffix (4.0.6)
|
119
119
|
rack (2.2.3)
|
120
120
|
rack-test (1.1.0)
|
121
121
|
rack (>= 1.0, < 3)
|
122
|
-
rails (6.0.3.
|
123
|
-
actioncable (= 6.0.3.
|
124
|
-
actionmailbox (= 6.0.3.
|
125
|
-
actionmailer (= 6.0.3.
|
126
|
-
actionpack (= 6.0.3.
|
127
|
-
actiontext (= 6.0.3.
|
128
|
-
actionview (= 6.0.3.
|
129
|
-
activejob (= 6.0.3.
|
130
|
-
activemodel (= 6.0.3.
|
131
|
-
activerecord (= 6.0.3.
|
132
|
-
activestorage (= 6.0.3.
|
133
|
-
activesupport (= 6.0.3.
|
122
|
+
rails (6.0.3.3)
|
123
|
+
actioncable (= 6.0.3.3)
|
124
|
+
actionmailbox (= 6.0.3.3)
|
125
|
+
actionmailer (= 6.0.3.3)
|
126
|
+
actionpack (= 6.0.3.3)
|
127
|
+
actiontext (= 6.0.3.3)
|
128
|
+
actionview (= 6.0.3.3)
|
129
|
+
activejob (= 6.0.3.3)
|
130
|
+
activemodel (= 6.0.3.3)
|
131
|
+
activerecord (= 6.0.3.3)
|
132
|
+
activestorage (= 6.0.3.3)
|
133
|
+
activesupport (= 6.0.3.3)
|
134
134
|
bundler (>= 1.3.0)
|
135
|
-
railties (= 6.0.3.
|
135
|
+
railties (= 6.0.3.3)
|
136
136
|
sprockets-rails (>= 2.0.0)
|
137
137
|
rails-dom-testing (2.0.3)
|
138
138
|
activesupport (>= 4.2.0)
|
139
139
|
nokogiri (>= 1.6)
|
140
140
|
rails-html-sanitizer (1.3.0)
|
141
141
|
loofah (~> 2.3)
|
142
|
-
railties (6.0.3.
|
143
|
-
actionpack (= 6.0.3.
|
144
|
-
activesupport (= 6.0.3.
|
142
|
+
railties (6.0.3.3)
|
143
|
+
actionpack (= 6.0.3.3)
|
144
|
+
activesupport (= 6.0.3.3)
|
145
145
|
method_source
|
146
146
|
rake (>= 0.8.7)
|
147
147
|
thor (>= 0.20.3, < 2.0)
|
148
148
|
rainbow (3.0.0)
|
149
149
|
rake (13.0.1)
|
150
|
-
regexp_parser (1.
|
150
|
+
regexp_parser (1.8.0)
|
151
151
|
retriable (3.1.2)
|
152
152
|
rexml (3.2.4)
|
153
|
-
rubocop (0.
|
153
|
+
rubocop (0.92.0)
|
154
154
|
parallel (~> 1.10)
|
155
|
-
parser (>= 2.7.1.
|
155
|
+
parser (>= 2.7.1.5)
|
156
156
|
rainbow (>= 2.2.2, < 4.0)
|
157
157
|
regexp_parser (>= 1.7)
|
158
158
|
rexml
|
159
|
-
rubocop-ast (>= 0.
|
159
|
+
rubocop-ast (>= 0.5.0)
|
160
160
|
ruby-progressbar (~> 1.7)
|
161
161
|
unicode-display_width (>= 1.4.0, < 2.0)
|
162
|
-
rubocop-ast (0.
|
163
|
-
parser (>= 2.7.1.
|
164
|
-
rubocop-performance (1.
|
165
|
-
rubocop (>= 0.
|
162
|
+
rubocop-ast (0.5.1)
|
163
|
+
parser (>= 2.7.1.5)
|
164
|
+
rubocop-performance (1.8.1)
|
165
|
+
rubocop (>= 0.87.0)
|
166
|
+
rubocop-ast (>= 0.4.0)
|
166
167
|
ruby-progressbar (1.10.1)
|
167
168
|
sawyer (0.8.2)
|
168
169
|
addressable (>= 2.3.5)
|
@@ -170,13 +171,13 @@ GEM
|
|
170
171
|
sprockets (4.0.2)
|
171
172
|
concurrent-ruby (~> 1.0)
|
172
173
|
rack (> 1, < 3)
|
173
|
-
sprockets-rails (3.2.
|
174
|
+
sprockets-rails (3.2.2)
|
174
175
|
actionpack (>= 4.0)
|
175
176
|
activesupport (>= 4.0)
|
176
177
|
sprockets (>= 3.0.0)
|
177
|
-
standard (0.
|
178
|
-
rubocop (
|
179
|
-
rubocop-performance (
|
178
|
+
standard (0.7)
|
179
|
+
rubocop (= 0.92)
|
180
|
+
rubocop-performance (= 1.8.1)
|
180
181
|
standardrb (1.0.0)
|
181
182
|
standard
|
182
183
|
thor (1.0.1)
|
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-403-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" />
|
@@ -27,6 +27,9 @@
|
|
27
27
|
<img alt="JavaScript Code Style" src="https://img.shields.io/badge/JavaScript_Code_Style-prettier_standard-ff69b4.svg" />
|
28
28
|
</a>
|
29
29
|
<br />
|
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
|
+
<img alt="Code Quality" src="https://app.codacy.com/project/badge/Grade/8e6971e3410347eaaa16be2555160b9c"/>
|
32
|
+
</a>
|
30
33
|
<a href="https://codeclimate.com/github/hopsoft/cable_ready/maintainability" target="_blank">
|
31
34
|
<img alt="Maintainability" src="https://api.codeclimate.com/v1/badges/83ddf1fee4af7e51a681/maintainability" />
|
32
35
|
</a>
|
data/bin/standardize
CHANGED
data/lib/cable_ready/channels.rb
CHANGED
data/lib/cable_ready/version.rb
CHANGED
data/tags
CHANGED
@@ -13,31 +13,42 @@ CableReady lib/cable_ready/version.rb /^module CableReady$/;" m
|
|
13
13
|
Channel lib/cable_ready/channel.rb /^ class Channel$/;" c class:CableReady
|
14
14
|
Channels lib/cable_ready/channels.rb /^ class Channels$/;" c class:CableReady
|
15
15
|
Engine lib/cable_ready.rb /^ class Engine < Rails::Engine$/;" c class:CableReady
|
16
|
-
[] lib/cable_ready/channels.rb /^ def [](
|
17
|
-
add_css_class lib/cable_ready/channel.rb /^ def add_css_class(options = {})$/;" f class:CableReady.Channel
|
16
|
+
[] lib/cable_ready/channels.rb /^ def [](identifier)$/;" f class:CableReady.Channels
|
18
17
|
add_operation lib/cable_ready/channel.rb /^ def add_operation(key, options)$/;" f class:CableReady.Channel
|
19
|
-
|
20
|
-
broadcast lib/cable_ready/
|
18
|
+
add_operation lib/cable_ready/channels.rb /^ def add_operation(operation, &implementation)$/;" f class:CableReady.Channels
|
19
|
+
broadcast lib/cable_ready/channel.rb /^ def broadcast(clear)$/;" f class:CableReady.Channel
|
20
|
+
broadcast lib/cable_ready/channels.rb /^ def broadcast(*identifiers, clear: true)$/;" f class:CableReady.Channels
|
21
|
+
broadcast_to lib/cable_ready/channel.rb /^ def broadcast_to(model, clear)$/;" f class:CableReady.Channel
|
22
|
+
broadcast_to lib/cable_ready/channels.rb /^ def broadcast_to(model, *identifiers, clear: true)$/;" f class:CableReady.Channels
|
21
23
|
cable_ready lib/cable_ready/broadcaster.rb /^ def cable_ready$/;" f class:CableReady.Broadcaster
|
22
|
-
|
23
|
-
clear lib/cable_ready/channels.rb /^ def clear$/;" f class:CableReady.Channels
|
24
|
+
configure lib/cable_ready/channels.rb /^ def self.configure$/;" F class:CableReady.Channels
|
24
25
|
const.bubbles javascript/cable_ready.js /^ const init = { bubbles: true, cancelable: true }$/;" p
|
25
26
|
const.cancelable javascript/cable_ready.js /^ const init = { bubbles: true, cancelable: true }$/;" p
|
26
|
-
const.
|
27
|
-
|
28
|
-
|
27
|
+
const.color javascript/cable_ready.js /^ color: true,$/;" p
|
28
|
+
const.date javascript/cable_ready.js /^ date: true,$/;" p
|
29
|
+
const.datetime javascript/cable_ready.js /^ datetime: true,$/;" p
|
30
|
+
const.datetime-local javascript/cable_ready.js /^ 'datetime-local': true,$/;" p
|
31
|
+
const.email javascript/cable_ready.js /^ email: true,$/;" p
|
32
|
+
const.month javascript/cable_ready.js /^ month: true,$/;" p
|
33
|
+
const.number javascript/cable_ready.js /^ number: true,$/;" p
|
34
|
+
const.password javascript/cable_ready.js /^ password: true,$/;" p
|
35
|
+
const.pushState javascript/cable_ready.js /^ pushState: config => {$/;" p
|
36
|
+
const.range javascript/cable_ready.js /^ range: true,$/;" p
|
37
|
+
const.search javascript/cable_ready.js /^ search: true,$/;" p
|
38
|
+
const.select-multiple javascript/cable_ready.js /^ 'select-multiple': true,$/;" p
|
39
|
+
const.select-one javascript/cable_ready.js /^ 'select-one': true,$/;" p
|
40
|
+
const.tel javascript/cable_ready.js /^ tel: true,$/;" p
|
41
|
+
const.text javascript/cable_ready.js /^ text: true,$/;" p
|
42
|
+
const.textarea javascript/cable_ready.js /^ textarea: true,$/;" p
|
43
|
+
const.time javascript/cable_ready.js /^ time: true,$/;" p
|
44
|
+
const.url javascript/cable_ready.js /^ url: true,$/;" p
|
45
|
+
const.value javascript/cable_ready.js /^ const ignore = { value: true }$/;" p
|
46
|
+
const.week javascript/cable_ready.js /^ week: true$/;" p
|
47
|
+
dom_id lib/cable_ready/broadcaster.rb /^ def dom_id(record, prefix = nil)$/;" f class:CableReady.Broadcaster
|
48
|
+
import.INPUT javascript/cable_ready.js /^ INPUT: true,$/;" p
|
49
|
+
import.SELECT javascript/cable_ready.js /^ SELECT: true$/;" p
|
50
|
+
import.TEXTAREA javascript/cable_ready.js /^ TEXTAREA: true,$/;" p
|
51
|
+
initialize lib/cable_ready/channel.rb /^ def initialize(identifier, available_operations)$/;" f class:CableReady.Channel
|
29
52
|
initialize lib/cable_ready/channels.rb /^ def initialize$/;" f class:CableReady.Channels
|
30
|
-
|
31
|
-
|
32
|
-
insert_adjacent_text lib/cable_ready/channel.rb /^ def insert_adjacent_text(options = {})$/;" f class:CableReady.Channel
|
33
|
-
morph lib/cable_ready/channel.rb /^ def morph(options = {})$/;" f class:CableReady.Channel
|
34
|
-
outer_html lib/cable_ready/channel.rb /^ def outer_html(options = {})$/;" f class:CableReady.Channel
|
35
|
-
remove lib/cable_ready/channel.rb /^ def remove(options = {})$/;" f class:CableReady.Channel
|
36
|
-
remove_attribute lib/cable_ready/channel.rb /^ def remove_attribute(options = {})$/;" f class:CableReady.Channel
|
37
|
-
remove_css_class lib/cable_ready/channel.rb /^ def remove_css_class(options = {})$/;" f class:CableReady.Channel
|
38
|
-
set_attribute lib/cable_ready/channel.rb /^ def set_attribute(options = {})$/;" f class:CableReady.Channel
|
39
|
-
set_cookie lib/cable_ready/channel.rb /^ def set_cookie(value)$/;" f class:CableReady.Channel
|
40
|
-
set_dataset_property lib/cable_ready/channel.rb /^ def set_dataset_property(options = {})$/;" f class:CableReady.Channel
|
41
|
-
set_value lib/cable_ready/channel.rb /^ def set_value(options = {})$/;" f class:CableReady.Channel
|
42
|
-
stub lib/cable_ready/channel.rb /^ def stub$/;" f class:CableReady.Channel
|
43
|
-
text_content lib/cable_ready/channel.rb /^ def text_content(options = {})$/;" f class:CableReady.Channel
|
53
|
+
mutex lib/cable_ready/channels.rb /^ def mutex$/;" f class:CableReady.Channels
|
54
|
+
reset lib/cable_ready/channel.rb /^ def reset$/;" f class:CableReady.Channel
|
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.0.
|
4
|
+
version: 4.4.0.pre1
|
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-09-
|
11
|
+
date: 2020-09-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -152,7 +152,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
152
152
|
- !ruby/object:Gem::Version
|
153
153
|
version: 1.3.1
|
154
154
|
requirements: []
|
155
|
-
rubygems_version: 3.
|
155
|
+
rubygems_version: 3.1.2
|
156
156
|
signing_key:
|
157
157
|
specification_version: 4
|
158
158
|
summary: Out-of-Band Server Triggered DOM Operations
|