cable_ready 4.0.5 → 4.0.6
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 +4 -4
- data/Gemfile.lock +8 -8
- data/README.md +6 -5
- data/bin/loc +3 -0
- data/bin/standardize +2 -2
- data/lib/cable_ready/channel.rb +1 -0
- data/lib/cable_ready/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1b121b1e33a62d1196e08b55b1a2c8a89d53e54ec1d5880264624714aaf57cdd
|
|
4
|
+
data.tar.gz: 8218ea4e5fce9728eee4b5979df81f7e4a6752f1f7dcea33746d38b460d45321
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fbee1b6a0cdcadbb565441617e9c8f09bb13b915fb8858cdc3b6d13ef9bc22b79d7a9b5149d9c6f5834356cd9b884197ba92cd6a4e9b6d9b9d73b3ae903e7191
|
|
7
|
+
data.tar.gz: d407c484474ed1f3acf46adaed5c96af4067d58f75252bcf395eaa98fa7c857cc8438f68735d6b15e7852ef8d326258b09ad6a4bc4c8da2e0caac5eca371a2f6
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
cable_ready (4.0.
|
|
4
|
+
cable_ready (4.0.6)
|
|
5
5
|
rails (>= 5.2)
|
|
6
6
|
|
|
7
7
|
GEM
|
|
@@ -67,13 +67,13 @@ GEM
|
|
|
67
67
|
coderay (1.1.2)
|
|
68
68
|
concurrent-ruby (1.1.5)
|
|
69
69
|
crass (1.0.4)
|
|
70
|
-
erubi (1.
|
|
70
|
+
erubi (1.9.0)
|
|
71
71
|
globalid (0.4.2)
|
|
72
72
|
activesupport (>= 4.2.0)
|
|
73
73
|
i18n (1.6.0)
|
|
74
74
|
concurrent-ruby (~> 1.0)
|
|
75
75
|
jaro_winkler (1.5.3)
|
|
76
|
-
loofah (2.
|
|
76
|
+
loofah (2.3.0)
|
|
77
77
|
crass (~> 1.0.2)
|
|
78
78
|
nokogiri (>= 1.5.9)
|
|
79
79
|
mail (2.7.1)
|
|
@@ -84,12 +84,12 @@ GEM
|
|
|
84
84
|
mimemagic (0.3.3)
|
|
85
85
|
mini_mime (1.0.2)
|
|
86
86
|
mini_portile2 (2.4.0)
|
|
87
|
-
minitest (5.
|
|
88
|
-
nio4r (2.5.
|
|
87
|
+
minitest (5.12.2)
|
|
88
|
+
nio4r (2.5.2)
|
|
89
89
|
nokogiri (1.10.4)
|
|
90
90
|
mini_portile2 (~> 2.4.0)
|
|
91
91
|
parallel (1.17.0)
|
|
92
|
-
parser (2.6.
|
|
92
|
+
parser (2.6.5.0)
|
|
93
93
|
ast (~> 2.4.0)
|
|
94
94
|
pry (0.12.2)
|
|
95
95
|
coderay (~> 1.1.0)
|
|
@@ -126,7 +126,7 @@ GEM
|
|
|
126
126
|
rake (>= 0.8.7)
|
|
127
127
|
thor (>= 0.20.3, < 2.0)
|
|
128
128
|
rainbow (3.0.0)
|
|
129
|
-
rake (
|
|
129
|
+
rake (13.0.0)
|
|
130
130
|
rubocop (0.72.0)
|
|
131
131
|
jaro_winkler (~> 1.5.1)
|
|
132
132
|
parallel (~> 1.10)
|
|
@@ -144,7 +144,7 @@ GEM
|
|
|
144
144
|
actionpack (>= 4.0)
|
|
145
145
|
activesupport (>= 4.0)
|
|
146
146
|
sprockets (>= 3.0.0)
|
|
147
|
-
standard (0.1.
|
|
147
|
+
standard (0.1.4)
|
|
148
148
|
rubocop (~> 0.72.0)
|
|
149
149
|
rubocop-performance (~> 1.4.0)
|
|
150
150
|
standardrb (1.0.0)
|
data/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[](http://blog.codinghorror.com/the-best-code-is-no-code-at-all/)
|
|
2
2
|
[](https://codeclimate.com/github/hopsoft/cable_ready/maintainability)
|
|
3
3
|
|
|
4
4
|
# CableReady
|
|
@@ -114,10 +114,11 @@ cable_ready["MyChannel"].dispatch_event(
|
|
|
114
114
|
|
|
115
115
|
```ruby
|
|
116
116
|
cable_ready["MyChannel"].morph(
|
|
117
|
-
selector: "string",
|
|
118
|
-
html: "string"
|
|
119
|
-
children_only: true|false
|
|
120
|
-
|
|
117
|
+
selector: "string", # required - string containing a CSS selector or XPath expression
|
|
118
|
+
html: "string", # [null] - the HTML to assign
|
|
119
|
+
children_only: true|false, # [null] - indicates if only child nodes should be morphed... skipping the parent element
|
|
120
|
+
permanent_attribute_name: "string", # [null] - an attribute name that prevents elements from being updated i.e. "data-permanent"
|
|
121
|
+
focus_selector: "string", # [null] - string containing a CSS selector
|
|
121
122
|
)
|
|
122
123
|
```
|
|
123
124
|
|
data/bin/loc
ADDED
data/bin/standardize
CHANGED
data/lib/cable_ready/channel.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.0.
|
|
4
|
+
version: 4.0.6
|
|
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
|
+
date: 2019-10-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|
|
@@ -93,6 +93,7 @@ files:
|
|
|
93
93
|
- README.md
|
|
94
94
|
- Rakefile
|
|
95
95
|
- bin/console
|
|
96
|
+
- bin/loc
|
|
96
97
|
- bin/setup
|
|
97
98
|
- bin/standardize
|
|
98
99
|
- lib/cable_ready.rb
|