stimulus_reflex 3.4.0.pre6 → 3.4.1
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 +96 -8
- data/CODE_OF_CONDUCT.md +6 -0
- data/Gemfile.lock +92 -85
- data/README.md +6 -5
- data/app/channels/stimulus_reflex/channel.rb +24 -2
- data/lib/generators/stimulus_reflex/templates/app/reflexes/%file_name%_reflex.rb.tt +1 -0
- data/lib/generators/stimulus_reflex/templates/config/initializers/stimulus_reflex.rb +10 -1
- data/lib/stimulus_reflex.rb +2 -1
- data/lib/stimulus_reflex/broadcasters/page_broadcaster.rb +1 -0
- data/lib/stimulus_reflex/cable_ready_channels.rb +16 -6
- data/lib/stimulus_reflex/callbacks.rb +48 -0
- data/lib/stimulus_reflex/configuration.rb +2 -1
- data/lib/stimulus_reflex/logger.rb +6 -6
- data/lib/stimulus_reflex/reflex.rb +31 -45
- data/lib/stimulus_reflex/sanity_checker.rb +7 -0
- data/lib/stimulus_reflex/version.rb +1 -1
- data/lib/tasks/stimulus_reflex/install.rake +8 -3
- data/package.json +3 -3
- data/stimulus_reflex.gemspec +3 -1
- data/tags +30 -13
- data/test/broadcasters/broadcaster_test.rb +2 -0
- data/test/broadcasters/broadcaster_test_case.rb +2 -0
- data/test/broadcasters/nothing_broadcaster_test.rb +2 -0
- data/test/broadcasters/page_broadcaster_test.rb +2 -0
- data/test/broadcasters/selector_broadcaster_test.rb +2 -0
- data/test/reflex_test.rb +32 -0
- data/test/test_helper.rb +6 -0
- data/test/tmp/app/reflexes/application_reflex.rb +1 -1
- data/test/tmp/app/reflexes/{demo_reflex.rb → user_reflex.rb} +10 -1
- data/yarn.lock +279 -303
- metadata +12 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6f74577e73a2f026446a9992c687779adc90905fc20d7023c0020079608e365c
|
4
|
+
data.tar.gz: ea5c955d176363fdfd7634e51025c3b6948577b814f318e5674f7e7136d6a4a1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f9410027ca56f055ef6cbf630cd1ecb6c1110d2021be6e1d1a854721525a2ab49bcc413b91d4d29ed4f952afba85d0168a2622dd3b1c06a7f87465dd01e7aaf1
|
7
|
+
data.tar.gz: c1a0e8e3a4ed13bed29beee77c866877a9cbf781e85140d105168ba2e8574bb9f43cf8db7f6eba6249e07e673aa1efab541d84f5778a36bc34dd6c53e804c5b1
|
data/CHANGELOG.md
CHANGED
@@ -2,14 +2,105 @@
|
|
2
2
|
|
3
3
|
## [Unreleased](https://github.com/hopsoft/stimulus_reflex/tree/HEAD)
|
4
4
|
|
5
|
-
[Full Changelog](https://github.com/hopsoft/stimulus_reflex/compare/v3.4.0
|
5
|
+
[Full Changelog](https://github.com/hopsoft/stimulus_reflex/compare/v3.4.0...HEAD)
|
6
|
+
|
7
|
+
**Implemented enhancements:**
|
8
|
+
|
9
|
+
- controller element holds Reflex metadata [\#417](https://github.com/hopsoft/stimulus_reflex/pull/417) ([leastbad](https://github.com/leastbad))
|
10
|
+
|
11
|
+
**Fixed bugs:**
|
12
|
+
|
13
|
+
- life-cycle callbacks return correct element reference [\#431](https://github.com/hopsoft/stimulus_reflex/pull/431) ([leastbad](https://github.com/leastbad))
|
14
|
+
- encode form data for chars like '&' and '=' [\#418](https://github.com/hopsoft/stimulus_reflex/pull/418) ([RolandStuder](https://github.com/RolandStuder))
|
15
|
+
- Bug fix: Updating changelog generator to push to master, not main [\#416](https://github.com/hopsoft/stimulus_reflex/pull/416) ([MikeRogers0](https://github.com/MikeRogers0))
|
16
|
+
- Prefix dom\_id with hash/pound [\#410](https://github.com/hopsoft/stimulus_reflex/pull/410) ([hopsoft](https://github.com/hopsoft))
|
17
|
+
|
18
|
+
**Closed issues:**
|
19
|
+
|
20
|
+
- Form serialisation does not escape input values [\#430](https://github.com/hopsoft/stimulus_reflex/issues/430)
|
21
|
+
- dispatchEvent before morph in reflex actions [\#428](https://github.com/hopsoft/stimulus_reflex/issues/428)
|
22
|
+
- Multiple text inputs with the same name lose value in Reflex [\#425](https://github.com/hopsoft/stimulus_reflex/issues/425)
|
23
|
+
- Lifecycle events not being issued correctly [\#413](https://github.com/hopsoft/stimulus_reflex/issues/413)
|
24
|
+
- If the element no longer exists, try to find it. [\#412](https://github.com/hopsoft/stimulus_reflex/issues/412)
|
25
|
+
|
26
|
+
**Merged pull requests:**
|
27
|
+
|
28
|
+
- Fixes bug where multiple inputs with the same name lost element value [\#426](https://github.com/hopsoft/stimulus_reflex/pull/426) ([jonsgreen](https://github.com/jonsgreen))
|
29
|
+
- Update to work with mutatable CR config [\#421](https://github.com/hopsoft/stimulus_reflex/pull/421) ([hopsoft](https://github.com/hopsoft))
|
30
|
+
- Bump nokogiri from 1.10.10 to 1.11.1 [\#420](https://github.com/hopsoft/stimulus_reflex/pull/420) ([dependabot[bot]](https://github.com/apps/dependabot))
|
31
|
+
- Add matrix strategy to ruby tests [\#415](https://github.com/hopsoft/stimulus_reflex/pull/415) ([julianrubisch](https://github.com/julianrubisch))
|
32
|
+
- fix 'operartion' typo [\#411](https://github.com/hopsoft/stimulus_reflex/pull/411) ([marcoroth](https://github.com/marcoroth))
|
33
|
+
|
34
|
+
## [v3.4.0](https://github.com/hopsoft/stimulus_reflex/tree/v3.4.0) (2020-12-18)
|
35
|
+
|
36
|
+
[Full Changelog](https://github.com/hopsoft/stimulus_reflex/compare/v3.4.0.pre9...v3.4.0)
|
37
|
+
|
38
|
+
**Closed issues:**
|
39
|
+
|
40
|
+
- uninitialized constant StimulusReflex::Channel [\#408](https://github.com/hopsoft/stimulus_reflex/issues/408)
|
41
|
+
- StimulusReflex \(3.4.0.pre9\) was unable to find an element [\#406](https://github.com/hopsoft/stimulus_reflex/issues/406)
|
42
|
+
|
43
|
+
## [v3.4.0.pre9](https://github.com/hopsoft/stimulus_reflex/tree/v3.4.0.pre9) (2020-12-13)
|
44
|
+
|
45
|
+
[Full Changelog](https://github.com/hopsoft/stimulus_reflex/compare/v3.4.0.pre8...v3.4.0.pre9)
|
46
|
+
|
47
|
+
**Implemented enhancements:**
|
48
|
+
|
49
|
+
- Allow StimulusReflex to process Rack middlewares [\#399](https://github.com/hopsoft/stimulus_reflex/pull/399) ([marcoroth](https://github.com/marcoroth))
|
50
|
+
- Support for Stimulus 2 [\#398](https://github.com/hopsoft/stimulus_reflex/pull/398) ([marcoroth](https://github.com/marcoroth))
|
51
|
+
|
52
|
+
**Fixed bugs:**
|
53
|
+
|
54
|
+
- fix up install task [\#401](https://github.com/hopsoft/stimulus_reflex/pull/401) ([leastbad](https://github.com/leastbad))
|
55
|
+
- Fix multiple broadcasts from within the same reflex [\#400](https://github.com/hopsoft/stimulus_reflex/pull/400) ([hopsoft](https://github.com/hopsoft))
|
56
|
+
|
57
|
+
**Closed issues:**
|
58
|
+
|
59
|
+
- Sanity checker will fail if node\_modules folder isn't present [\#402](https://github.com/hopsoft/stimulus_reflex/issues/402)
|
60
|
+
- stimulus\_reflex.js:388 Uncaught TypeError: Cannot read property 'completedOperations' of undefined [\#394](https://github.com/hopsoft/stimulus_reflex/issues/394)
|
61
|
+
- Rendering issue [\#289](https://github.com/hopsoft/stimulus_reflex/issues/289)
|
62
|
+
|
63
|
+
**Merged pull requests:**
|
64
|
+
|
65
|
+
- Add dom\_id to the reflex [\#405](https://github.com/hopsoft/stimulus_reflex/pull/405) ([hopsoft](https://github.com/hopsoft))
|
66
|
+
- Don't run sanity checker in production [\#404](https://github.com/hopsoft/stimulus_reflex/pull/404) ([joshleblanc](https://github.com/joshleblanc))
|
67
|
+
- Check package version from yarn.lock if node\_modules folder is not av… [\#403](https://github.com/hopsoft/stimulus_reflex/pull/403) ([RolandStuder](https://github.com/RolandStuder))
|
68
|
+
|
69
|
+
## [v3.4.0.pre8](https://github.com/hopsoft/stimulus_reflex/tree/v3.4.0.pre8) (2020-12-02)
|
70
|
+
|
71
|
+
[Full Changelog](https://github.com/hopsoft/stimulus_reflex/compare/v3.4.0.pre7...v3.4.0.pre8)
|
72
|
+
|
73
|
+
**Closed issues:**
|
74
|
+
|
75
|
+
- DirectUpload URL not set using morphs [\#396](https://github.com/hopsoft/stimulus_reflex/issues/396)
|
76
|
+
|
77
|
+
**Merged pull requests:**
|
78
|
+
|
79
|
+
- Delegate render to controller [\#397](https://github.com/hopsoft/stimulus_reflex/pull/397) ([hopsoft](https://github.com/hopsoft))
|
80
|
+
|
81
|
+
## [v3.4.0.pre7](https://github.com/hopsoft/stimulus_reflex/tree/v3.4.0.pre7) (2020-12-01)
|
82
|
+
|
83
|
+
[Full Changelog](https://github.com/hopsoft/stimulus_reflex/compare/v3.4.0.pre6...v3.4.0.pre7)
|
84
|
+
|
85
|
+
**Closed issues:**
|
86
|
+
|
87
|
+
- Multiple reflex submissions can lead to unexpected behaviour. [\#391](https://github.com/hopsoft/stimulus_reflex/issues/391)
|
88
|
+
|
89
|
+
**Merged pull requests:**
|
90
|
+
|
91
|
+
- Trigger piggy back operations after SR operations [\#395](https://github.com/hopsoft/stimulus_reflex/pull/395) ([hopsoft](https://github.com/hopsoft))
|
92
|
+
- `invokeLifecycleMethod\(\)`: handle undefined `element` parameter [\#393](https://github.com/hopsoft/stimulus_reflex/pull/393) ([marcoroth](https://github.com/marcoroth))
|
93
|
+
- don't warn folks twice [\#392](https://github.com/hopsoft/stimulus_reflex/pull/392) ([leastbad](https://github.com/leastbad))
|
94
|
+
|
95
|
+
## [v3.4.0.pre6](https://github.com/hopsoft/stimulus_reflex/tree/v3.4.0.pre6) (2020-11-29)
|
96
|
+
|
97
|
+
[Full Changelog](https://github.com/hopsoft/stimulus_reflex/compare/v3.4.0.pre5...v3.4.0.pre6)
|
6
98
|
|
7
99
|
**Merged pull requests:**
|
8
100
|
|
9
101
|
- Update templates for new stage etc [\#390](https://github.com/hopsoft/stimulus_reflex/pull/390) ([leastbad](https://github.com/leastbad))
|
10
102
|
- reflexError and received refactor [\#389](https://github.com/hopsoft/stimulus_reflex/pull/389) ([leastbad](https://github.com/leastbad))
|
11
103
|
- add jQuery support to SR library events [\#388](https://github.com/hopsoft/stimulus_reflex/pull/388) ([leastbad](https://github.com/leastbad))
|
12
|
-
- dont exit in sanity checker on `stimulus\_reflex:install` [\#387](https://github.com/hopsoft/stimulus_reflex/pull/387) ([marcoroth](https://github.com/marcoroth))
|
13
104
|
- Allow `success` and `after` lifecycle methods on replaced elements [\#386](https://github.com/hopsoft/stimulus_reflex/pull/386) ([marcoroth](https://github.com/marcoroth))
|
14
105
|
- split SR operations from data.operations [\#385](https://github.com/hopsoft/stimulus_reflex/pull/385) ([leastbad](https://github.com/leastbad))
|
15
106
|
- don't show findElement warnings unless debugging [\#384](https://github.com/hopsoft/stimulus_reflex/pull/384) ([leastbad](https://github.com/leastbad))
|
@@ -26,6 +117,7 @@
|
|
26
117
|
|
27
118
|
**Merged pull requests:**
|
28
119
|
|
120
|
+
- dont exit in sanity checker on `stimulus\_reflex:install` [\#387](https://github.com/hopsoft/stimulus_reflex/pull/387) ([marcoroth](https://github.com/marcoroth))
|
29
121
|
- Move package.json to root of project [\#380](https://github.com/hopsoft/stimulus_reflex/pull/380) ([hopsoft](https://github.com/hopsoft))
|
30
122
|
- make element.reflexController a dictionary [\#379](https://github.com/hopsoft/stimulus_reflex/pull/379) ([existentialmutt](https://github.com/existentialmutt))
|
31
123
|
- fixed bug preventing callbacks for multiple morphs [\#378](https://github.com/hopsoft/stimulus_reflex/pull/378) ([leastbad](https://github.com/leastbad))
|
@@ -113,7 +205,6 @@
|
|
113
205
|
- ActionController::RoutingError with Rails 6 Engines [\#342](https://github.com/hopsoft/stimulus_reflex/issues/342)
|
114
206
|
- Wrong input name parsing [\#321](https://github.com/hopsoft/stimulus_reflex/issues/321)
|
115
207
|
- Stimulus' controllers are not reconnecting after reflex, why? [\#314](https://github.com/hopsoft/stimulus_reflex/issues/314)
|
116
|
-
- Rendering issue [\#289](https://github.com/hopsoft/stimulus_reflex/issues/289)
|
117
208
|
- Documentation Request for a Rails 6.x app with 5.2 defaults [\#265](https://github.com/hopsoft/stimulus_reflex/issues/265)
|
118
209
|
|
119
210
|
**Merged pull requests:**
|
@@ -270,6 +361,7 @@
|
|
270
361
|
**Implemented enhancements:**
|
271
362
|
|
272
363
|
- Returns more helpful error message if Reflex doesn't exist [\#254](https://github.com/hopsoft/stimulus_reflex/pull/254) ([leastbad](https://github.com/leastbad))
|
364
|
+
- Update install.rake to handle Typescript [\#241](https://github.com/hopsoft/stimulus_reflex/pull/241) ([iv-mexx](https://github.com/iv-mexx))
|
273
365
|
- Morph Modes: page, selector and nothing [\#211](https://github.com/hopsoft/stimulus_reflex/pull/211) ([leastbad](https://github.com/leastbad))
|
274
366
|
|
275
367
|
**Fixed bugs:**
|
@@ -310,10 +402,6 @@
|
|
310
402
|
|
311
403
|
[Full Changelog](https://github.com/hopsoft/stimulus_reflex/compare/v3.2.2...v3.2.3)
|
312
404
|
|
313
|
-
**Implemented enhancements:**
|
314
|
-
|
315
|
-
- Update install.rake to handle Typescript [\#241](https://github.com/hopsoft/stimulus_reflex/pull/241) ([iv-mexx](https://github.com/iv-mexx))
|
316
|
-
|
317
405
|
**Fixed bugs:**
|
318
406
|
|
319
407
|
- Add more smarts to \_\_perform [\#235](https://github.com/hopsoft/stimulus_reflex/pull/235) ([hopsoft](https://github.com/hopsoft))
|
@@ -384,7 +472,6 @@
|
|
384
472
|
- Loosen Rails requirement to 5.2 with instructions [\#205](https://github.com/hopsoft/stimulus_reflex/pull/205) ([jasoncharnes](https://github.com/jasoncharnes))
|
385
473
|
- Fix undefined is not an object for Object.keys in log.js [\#201](https://github.com/hopsoft/stimulus_reflex/pull/201) ([marcoroth](https://github.com/marcoroth))
|
386
474
|
- Small typo/grammar fix in quickstart doc. [\#198](https://github.com/hopsoft/stimulus_reflex/pull/198) ([acoffman](https://github.com/acoffman))
|
387
|
-
- Add halted lifecycle event [\#193](https://github.com/hopsoft/stimulus_reflex/pull/193) ([websebdev](https://github.com/websebdev))
|
388
475
|
- 147 extract multiple checkbox values [\#175](https://github.com/hopsoft/stimulus_reflex/pull/175) ([julianrubisch](https://github.com/julianrubisch))
|
389
476
|
|
390
477
|
## [v3.2.1](https://github.com/hopsoft/stimulus_reflex/tree/v3.2.1) (2020-05-09)
|
@@ -436,6 +523,7 @@
|
|
436
523
|
|
437
524
|
**Merged pull requests:**
|
438
525
|
|
526
|
+
- Add halted lifecycle event [\#193](https://github.com/hopsoft/stimulus_reflex/pull/193) ([websebdev](https://github.com/websebdev))
|
439
527
|
- Some housekeeping [\#189](https://github.com/hopsoft/stimulus_reflex/pull/189) ([hopsoft](https://github.com/hopsoft))
|
440
528
|
- Allow to call stimulate without a reflex target [\#188](https://github.com/hopsoft/stimulus_reflex/pull/188) ([marcoroth](https://github.com/marcoroth))
|
441
529
|
- Fix bug in super documentation [\#174](https://github.com/hopsoft/stimulus_reflex/pull/174) ([silva96](https://github.com/silva96))
|
data/CODE_OF_CONDUCT.md
CHANGED
@@ -61,6 +61,12 @@ is deemed necessary and appropriate to the circumstances. The project team is
|
|
61
61
|
obligated to maintain confidentiality with regard to the reporter of an incident.
|
62
62
|
Further details of specific enforcement policies may be posted separately.
|
63
63
|
|
64
|
+
### General Policy
|
65
|
+
|
66
|
+
- 1st offense - user will be warned that they violated the CoC
|
67
|
+
- 2nd offense - user will be publicly flagged as a CoC violator
|
68
|
+
- 3rd offense - user will be banned from the community
|
69
|
+
|
64
70
|
Project maintainers who do not follow or enforce the Code of Conduct in good
|
65
71
|
faith may face temporary or permanent repercussions as determined by other
|
66
72
|
members of the project's leadership.
|
data/Gemfile.lock
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
stimulus_reflex (3.4.
|
5
|
-
cable_ready (>= 4.
|
4
|
+
stimulus_reflex (3.4.1)
|
5
|
+
cable_ready (>= 4.5)
|
6
6
|
nokogiri
|
7
7
|
rack
|
8
8
|
rails (>= 5.2)
|
@@ -11,74 +11,79 @@ PATH
|
|
11
11
|
GEM
|
12
12
|
remote: https://rubygems.org/
|
13
13
|
specs:
|
14
|
-
actioncable (6.
|
15
|
-
actionpack (= 6.
|
14
|
+
actioncable (6.1.1)
|
15
|
+
actionpack (= 6.1.1)
|
16
|
+
activesupport (= 6.1.1)
|
16
17
|
nio4r (~> 2.0)
|
17
18
|
websocket-driver (>= 0.6.1)
|
18
|
-
actionmailbox (6.
|
19
|
-
actionpack (= 6.
|
20
|
-
activejob (= 6.
|
21
|
-
activerecord (= 6.
|
22
|
-
activestorage (= 6.
|
23
|
-
activesupport (= 6.
|
19
|
+
actionmailbox (6.1.1)
|
20
|
+
actionpack (= 6.1.1)
|
21
|
+
activejob (= 6.1.1)
|
22
|
+
activerecord (= 6.1.1)
|
23
|
+
activestorage (= 6.1.1)
|
24
|
+
activesupport (= 6.1.1)
|
24
25
|
mail (>= 2.7.1)
|
25
|
-
actionmailer (6.
|
26
|
-
actionpack (= 6.
|
27
|
-
actionview (= 6.
|
28
|
-
activejob (= 6.
|
26
|
+
actionmailer (6.1.1)
|
27
|
+
actionpack (= 6.1.1)
|
28
|
+
actionview (= 6.1.1)
|
29
|
+
activejob (= 6.1.1)
|
30
|
+
activesupport (= 6.1.1)
|
29
31
|
mail (~> 2.5, >= 2.5.4)
|
30
32
|
rails-dom-testing (~> 2.0)
|
31
|
-
actionpack (6.
|
32
|
-
actionview (= 6.
|
33
|
-
activesupport (= 6.
|
34
|
-
rack (~> 2.0, >= 2.0.
|
33
|
+
actionpack (6.1.1)
|
34
|
+
actionview (= 6.1.1)
|
35
|
+
activesupport (= 6.1.1)
|
36
|
+
rack (~> 2.0, >= 2.0.9)
|
35
37
|
rack-test (>= 0.6.3)
|
36
38
|
rails-dom-testing (~> 2.0)
|
37
39
|
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
38
|
-
actiontext (6.
|
39
|
-
actionpack (= 6.
|
40
|
-
activerecord (= 6.
|
41
|
-
activestorage (= 6.
|
42
|
-
activesupport (= 6.
|
40
|
+
actiontext (6.1.1)
|
41
|
+
actionpack (= 6.1.1)
|
42
|
+
activerecord (= 6.1.1)
|
43
|
+
activestorage (= 6.1.1)
|
44
|
+
activesupport (= 6.1.1)
|
43
45
|
nokogiri (>= 1.8.5)
|
44
|
-
actionview (6.
|
45
|
-
activesupport (= 6.
|
46
|
+
actionview (6.1.1)
|
47
|
+
activesupport (= 6.1.1)
|
46
48
|
builder (~> 3.1)
|
47
49
|
erubi (~> 1.4)
|
48
50
|
rails-dom-testing (~> 2.0)
|
49
51
|
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
50
|
-
activejob (6.
|
51
|
-
activesupport (= 6.
|
52
|
+
activejob (6.1.1)
|
53
|
+
activesupport (= 6.1.1)
|
52
54
|
globalid (>= 0.3.6)
|
53
|
-
activemodel (6.
|
54
|
-
activesupport (= 6.
|
55
|
-
activerecord (6.
|
56
|
-
activemodel (= 6.
|
57
|
-
activesupport (= 6.
|
58
|
-
activestorage (6.
|
59
|
-
actionpack (= 6.
|
60
|
-
activejob (= 6.
|
61
|
-
activerecord (= 6.
|
55
|
+
activemodel (6.1.1)
|
56
|
+
activesupport (= 6.1.1)
|
57
|
+
activerecord (6.1.1)
|
58
|
+
activemodel (= 6.1.1)
|
59
|
+
activesupport (= 6.1.1)
|
60
|
+
activestorage (6.1.1)
|
61
|
+
actionpack (= 6.1.1)
|
62
|
+
activejob (= 6.1.1)
|
63
|
+
activerecord (= 6.1.1)
|
64
|
+
activesupport (= 6.1.1)
|
62
65
|
marcel (~> 0.3.1)
|
63
|
-
|
66
|
+
mimemagic (~> 0.3.2)
|
67
|
+
activesupport (6.1.1)
|
64
68
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
65
|
-
i18n (>=
|
66
|
-
minitest (
|
67
|
-
tzinfo (~>
|
68
|
-
zeitwerk (~> 2.
|
69
|
-
ast (2.4.
|
69
|
+
i18n (>= 1.6, < 2)
|
70
|
+
minitest (>= 5.1)
|
71
|
+
tzinfo (~> 2.0)
|
72
|
+
zeitwerk (~> 2.3)
|
73
|
+
ast (2.4.2)
|
70
74
|
builder (3.2.4)
|
71
|
-
cable_ready (4.
|
75
|
+
cable_ready (4.5.0)
|
72
76
|
rails (>= 5.2)
|
77
|
+
thread-local (>= 1.1.0)
|
73
78
|
coderay (1.1.3)
|
74
|
-
concurrent-ruby (1.1.
|
79
|
+
concurrent-ruby (1.1.8)
|
75
80
|
crass (1.0.6)
|
76
81
|
erubi (1.10.0)
|
77
82
|
globalid (0.4.2)
|
78
83
|
activesupport (>= 4.2.0)
|
79
|
-
i18n (1.8.
|
84
|
+
i18n (1.8.7)
|
80
85
|
concurrent-ruby (~> 1.0)
|
81
|
-
loofah (2.
|
86
|
+
loofah (2.9.0)
|
82
87
|
crass (~> 1.0.2)
|
83
88
|
nokogiri (>= 1.5.9)
|
84
89
|
mail (2.7.1)
|
@@ -88,68 +93,70 @@ GEM
|
|
88
93
|
method_source (0.9.2)
|
89
94
|
mimemagic (0.3.5)
|
90
95
|
mini_mime (1.0.2)
|
91
|
-
mini_portile2 (2.
|
92
|
-
minitest (5.14.
|
96
|
+
mini_portile2 (2.5.0)
|
97
|
+
minitest (5.14.3)
|
93
98
|
nio4r (2.5.4)
|
94
|
-
nokogiri (1.
|
95
|
-
mini_portile2 (~> 2.
|
99
|
+
nokogiri (1.11.1)
|
100
|
+
mini_portile2 (~> 2.5.0)
|
101
|
+
racc (~> 1.4)
|
96
102
|
parallel (1.20.1)
|
97
|
-
parser (
|
103
|
+
parser (3.0.0.0)
|
98
104
|
ast (~> 2.4.1)
|
99
105
|
pry (0.12.2)
|
100
106
|
coderay (~> 1.1.0)
|
101
107
|
method_source (~> 0.9.0)
|
102
108
|
pry-nav (0.3.0)
|
103
109
|
pry (>= 0.9.10, < 0.13.0)
|
110
|
+
racc (1.5.2)
|
104
111
|
rack (2.2.3)
|
105
112
|
rack-test (1.1.0)
|
106
113
|
rack (>= 1.0, < 3)
|
107
|
-
rails (6.
|
108
|
-
actioncable (= 6.
|
109
|
-
actionmailbox (= 6.
|
110
|
-
actionmailer (= 6.
|
111
|
-
actionpack (= 6.
|
112
|
-
actiontext (= 6.
|
113
|
-
actionview (= 6.
|
114
|
-
activejob (= 6.
|
115
|
-
activemodel (= 6.
|
116
|
-
activerecord (= 6.
|
117
|
-
activestorage (= 6.
|
118
|
-
activesupport (= 6.
|
119
|
-
bundler (>= 1.
|
120
|
-
railties (= 6.
|
114
|
+
rails (6.1.1)
|
115
|
+
actioncable (= 6.1.1)
|
116
|
+
actionmailbox (= 6.1.1)
|
117
|
+
actionmailer (= 6.1.1)
|
118
|
+
actionpack (= 6.1.1)
|
119
|
+
actiontext (= 6.1.1)
|
120
|
+
actionview (= 6.1.1)
|
121
|
+
activejob (= 6.1.1)
|
122
|
+
activemodel (= 6.1.1)
|
123
|
+
activerecord (= 6.1.1)
|
124
|
+
activestorage (= 6.1.1)
|
125
|
+
activesupport (= 6.1.1)
|
126
|
+
bundler (>= 1.15.0)
|
127
|
+
railties (= 6.1.1)
|
121
128
|
sprockets-rails (>= 2.0.0)
|
122
129
|
rails-dom-testing (2.0.3)
|
123
130
|
activesupport (>= 4.2.0)
|
124
131
|
nokogiri (>= 1.6)
|
125
132
|
rails-html-sanitizer (1.3.0)
|
126
133
|
loofah (~> 2.3)
|
127
|
-
railties (6.
|
128
|
-
actionpack (= 6.
|
129
|
-
activesupport (= 6.
|
134
|
+
railties (6.1.1)
|
135
|
+
actionpack (= 6.1.1)
|
136
|
+
activesupport (= 6.1.1)
|
130
137
|
method_source
|
131
138
|
rake (>= 0.8.7)
|
132
|
-
thor (
|
139
|
+
thor (~> 1.0)
|
133
140
|
rainbow (3.0.0)
|
134
|
-
rake (13.0.
|
141
|
+
rake (13.0.3)
|
135
142
|
redis (4.2.5)
|
136
|
-
regexp_parser (2.0.
|
143
|
+
regexp_parser (2.0.3)
|
137
144
|
rexml (3.2.4)
|
138
|
-
rubocop (1.
|
145
|
+
rubocop (1.7.0)
|
139
146
|
parallel (~> 1.10)
|
140
147
|
parser (>= 2.7.1.5)
|
141
148
|
rainbow (>= 2.2.2, < 4.0)
|
142
|
-
regexp_parser (>= 1.8)
|
149
|
+
regexp_parser (>= 1.8, < 3.0)
|
143
150
|
rexml
|
144
|
-
rubocop-ast (>= 1.0.
|
151
|
+
rubocop-ast (>= 1.2.0, < 2.0)
|
145
152
|
ruby-progressbar (~> 1.7)
|
146
153
|
unicode-display_width (>= 1.4.0, < 2.0)
|
147
|
-
rubocop-ast (1.
|
154
|
+
rubocop-ast (1.4.1)
|
148
155
|
parser (>= 2.7.1.5)
|
149
|
-
rubocop-performance (1.
|
150
|
-
rubocop (>= 0.
|
156
|
+
rubocop-performance (1.9.2)
|
157
|
+
rubocop (>= 0.90.0, < 2.0)
|
151
158
|
rubocop-ast (>= 0.4.0)
|
152
|
-
ruby-progressbar (1.
|
159
|
+
ruby-progressbar (1.11.0)
|
153
160
|
sprockets (4.0.2)
|
154
161
|
concurrent-ruby (~> 1.0)
|
155
162
|
rack (> 1, < 3)
|
@@ -157,15 +164,15 @@ GEM
|
|
157
164
|
actionpack (>= 4.0)
|
158
165
|
activesupport (>= 4.0)
|
159
166
|
sprockets (>= 3.0.0)
|
160
|
-
standard (0.
|
161
|
-
rubocop (= 1.
|
162
|
-
rubocop-performance (= 1.
|
167
|
+
standard (0.11.0)
|
168
|
+
rubocop (= 1.7.0)
|
169
|
+
rubocop-performance (= 1.9.2)
|
163
170
|
standardrb (1.0.0)
|
164
171
|
standard
|
165
|
-
thor (1.0
|
166
|
-
|
167
|
-
tzinfo (
|
168
|
-
|
172
|
+
thor (1.1.0)
|
173
|
+
thread-local (1.1.0)
|
174
|
+
tzinfo (2.0.4)
|
175
|
+
concurrent-ruby (~> 1.0)
|
169
176
|
unicode-display_width (1.7.0)
|
170
177
|
websocket-driver (0.7.3)
|
171
178
|
websocket-extensions (>= 0.1.0)
|
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-1726-brightgreen.svg?style=flat" />
|
15
15
|
</a>
|
16
16
|
<a href="https://docs.stimulusreflex.com/" target="_blank">
|
17
17
|
<img alt="Documentation" src="https://img.shields.io/badge/documentation-yes-brightgreen.svg" />
|
@@ -65,6 +65,7 @@ This project strives to live up to the vision outlined in [The Rails Doctrine](h
|
|
65
65
|
|
66
66
|
- [StimulusReflex Documentation](https://docs.stimulusreflex.com)
|
67
67
|
- [CableReady Documentation](https://cableready.stimulusreflex.com)
|
68
|
+
- [StimulusReflex Cheatsheet](https://devhints.io/stimulus-reflex)
|
68
69
|
|
69
70
|
## ✨ Demos
|
70
71
|
|
@@ -74,7 +75,7 @@ This project strives to live up to the vision outlined in [The Rails Doctrine](h
|
|
74
75
|
|
75
76
|
## 👩👩👧 Discord Community
|
76
77
|
|
77
|
-
Please join over
|
78
|
+
Please join over 1000 of us on [Discord](https://discord.gg/XveN625) for support getting started, as well as active discussions around Rails, StimulusJS and CableReady.
|
78
79
|
|
79
80
|
![](https://img.shields.io/discord/629472241427415060)
|
80
81
|
|
@@ -82,13 +83,13 @@ Stop by #newcomers and introduce yourselves!
|
|
82
83
|
|
83
84
|
## 💙 Support
|
84
85
|
|
85
|
-
Your best bet is to ask for help on Discord before filing an issue on Github. We are happy to help, and we ask people to come with all relevant code to look at. A git repo is preferred, but Gists
|
86
|
+
Your best bet is to ask for help on Discord before filing an issue on Github. We are happy to help, and we ask people who need help to come with all relevant code to look at. A git repo is preferred, but Gists are fine, too. If you need an MVCE template, try [this](https://github.com/leastbad/stimulus_reflex_harness).
|
86
87
|
|
87
88
|
Please note that we are not actively providing support on Stack Overflow. If you post there, we likely won't see it.
|
88
89
|
|
89
|
-
## 🚀
|
90
|
+
## 🚀 Installation and upgrading
|
90
91
|
|
91
|
-
CLI and manual setup procedures are fully detailed in the [official docs](https://docs.stimulusreflex.com/setup).
|
92
|
+
CLI and manual setup procedures are fully detailed in the [official docs](https://docs.stimulusreflex.com/setup). For information on upgrading existing projects to v3.4, read [this](https://docs.stimulusreflex.com/setup#upgrading-to-v-3-4-0).
|
92
93
|
|
93
94
|
## 🙏 Contributing
|
94
95
|
|