stimulus_reflex 3.4.0.pre3 → 3.4.0.pre4
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of stimulus_reflex might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/CHANGELOG.md +28 -1
- data/Gemfile.lock +4 -4
- data/app/channels/stimulus_reflex/channel.rb +14 -5
- data/lib/generators/stimulus_reflex/templates/config/initializers/stimulus_reflex.rb +10 -0
- data/lib/stimulus_reflex.rb +2 -0
- data/lib/stimulus_reflex/broadcasters/broadcaster.rb +9 -2
- data/lib/stimulus_reflex/broadcasters/nothing_broadcaster.rb +4 -0
- data/lib/stimulus_reflex/broadcasters/page_broadcaster.rb +6 -1
- data/lib/stimulus_reflex/broadcasters/selector_broadcaster.rb +10 -0
- data/lib/stimulus_reflex/configuration.rb +4 -1
- data/lib/stimulus_reflex/logger.rb +106 -0
- data/lib/stimulus_reflex/reflex.rb +8 -5
- data/lib/stimulus_reflex/sanity_checker.rb +14 -5
- data/lib/stimulus_reflex/utils/colorize.rb +23 -0
- data/lib/stimulus_reflex/version.rb +1 -1
- data/lib/tasks/stimulus_reflex/install.rake +3 -3
- data/package.json +8 -14
- data/stimulus_reflex.gemspec +1 -1
- data/test/broadcasters/broadcaster_test.rb +15 -0
- data/test/broadcasters/nothing_broadcaster_test.rb +34 -0
- data/test/broadcasters/page_broadcaster_test.rb +69 -0
- data/test/broadcasters/selector_broadcaster_test.rb +83 -0
- data/test/test_helper.rb +2 -0
- data/test/tmp/app/reflexes/{user_reflex.rb → posts_reflex.rb} +1 -10
- data/yarn.lock +42 -1613
- metadata +25 -15
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stimulus_reflex
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.4.0.
|
4
|
+
version: 3.4.0.pre4
|
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-
|
11
|
+
date: 2020-11-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rack
|
@@ -67,33 +67,33 @@ dependencies:
|
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
70
|
+
name: cable_ready
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- - "
|
73
|
+
- - ">="
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version:
|
76
|
-
type: :
|
75
|
+
version: 4.3.0
|
76
|
+
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- - "
|
80
|
+
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version:
|
82
|
+
version: 4.3.0
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
|
-
name:
|
84
|
+
name: bundler
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- - "
|
87
|
+
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version:
|
89
|
+
version: '2.0'
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- - "
|
94
|
+
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version:
|
96
|
+
version: '2.0'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: pry-nav
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -185,17 +185,23 @@ files:
|
|
185
185
|
- lib/stimulus_reflex/broadcasters/selector_broadcaster.rb
|
186
186
|
- lib/stimulus_reflex/configuration.rb
|
187
187
|
- lib/stimulus_reflex/element.rb
|
188
|
+
- lib/stimulus_reflex/logger.rb
|
188
189
|
- lib/stimulus_reflex/reflex.rb
|
189
190
|
- lib/stimulus_reflex/sanity_checker.rb
|
191
|
+
- lib/stimulus_reflex/utils/colorize.rb
|
190
192
|
- lib/stimulus_reflex/version.rb
|
191
193
|
- lib/tasks/stimulus_reflex/install.rake
|
192
194
|
- package.json
|
193
195
|
- stimulus_reflex.gemspec
|
194
196
|
- tags
|
197
|
+
- test/broadcasters/broadcaster_test.rb
|
198
|
+
- test/broadcasters/nothing_broadcaster_test.rb
|
199
|
+
- test/broadcasters/page_broadcaster_test.rb
|
200
|
+
- test/broadcasters/selector_broadcaster_test.rb
|
195
201
|
- test/generators/stimulus_reflex_generator_test.rb
|
196
202
|
- test/test_helper.rb
|
197
203
|
- test/tmp/app/reflexes/application_reflex.rb
|
198
|
-
- test/tmp/app/reflexes/
|
204
|
+
- test/tmp/app/reflexes/posts_reflex.rb
|
199
205
|
- yarn.lock
|
200
206
|
homepage: https://github.com/hopsoft/stimulus_reflex
|
201
207
|
licenses:
|
@@ -233,4 +239,8 @@ test_files:
|
|
233
239
|
- test/test_helper.rb
|
234
240
|
- test/generators/stimulus_reflex_generator_test.rb
|
235
241
|
- test/tmp/app/reflexes/application_reflex.rb
|
236
|
-
- test/tmp/app/reflexes/
|
242
|
+
- test/tmp/app/reflexes/posts_reflex.rb
|
243
|
+
- test/broadcasters/broadcaster_test.rb
|
244
|
+
- test/broadcasters/selector_broadcaster_test.rb
|
245
|
+
- test/broadcasters/page_broadcaster_test.rb
|
246
|
+
- test/broadcasters/nothing_broadcaster_test.rb
|