stimulus_reflex 3.3.0.pre0 → 3.3.0.pre5
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 +107 -4
- data/Gemfile.lock +72 -70
- data/README.md +26 -20
- data/lib/generators/templates/app/javascript/controllers/%file_name%_controller.js.tt +53 -21
- data/lib/generators/templates/app/javascript/controllers/application_controller.js.tt +11 -8
- data/lib/stimulus_reflex.rb +67 -5
- data/lib/stimulus_reflex/broadcasters/broadcaster.rb +56 -0
- data/lib/stimulus_reflex/{morph_mode/nothing_morph_mode.rb → broadcasters/nothing_broadcaster.rb} +8 -6
- data/lib/stimulus_reflex/broadcasters/page_broadcaster.rb +36 -0
- data/lib/stimulus_reflex/broadcasters/selector_broadcaster.rb +51 -0
- data/lib/stimulus_reflex/channel.rb +11 -8
- data/lib/stimulus_reflex/reflex.rb +11 -26
- data/lib/stimulus_reflex/version.rb +1 -1
- data/lib/tasks/stimulus_reflex/install.rake +13 -1
- metadata +25 -18
- data/lib/stimulus_reflex/broadcaster.rb +0 -53
- data/lib/stimulus_reflex/morph_mode.rb +0 -19
- data/lib/stimulus_reflex/morph_mode/page_morph_mode.rb +0 -15
- data/lib/stimulus_reflex/morph_mode/selector_morph_mode.rb +0 -15
- data/stimulus_reflex.gemspec +0 -39
- data/tags +0 -42
- data/test/tmp/app/reflexes/application_reflex.rb +0 -12
- data/test/tmp/app/reflexes/demo_reflex.rb +0 -25
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cc5d928ba770cb4cb0e167431b216953d3d024f60797ceeba8cb1e941c321f2f
|
4
|
+
data.tar.gz: 21ecfef7c3b45524547905728b8dffe13317f76e07685f1c41e9eb59ad20f1aa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d89100f1ae64da55040f3ed0435832f593b67ff78631def4bfbf2a02c6eb577b6803ad9ae84760d123e2b5e85a9e52a1d1923a5949b4c76ccdcb82489671d0e4
|
7
|
+
data.tar.gz: 7d1c3c338457b2f7c8895726cc381c273aec9c7b65158409dc6e2d7d146cd8d1c51102783dda302e241a207a8c09fd0ebd92b850d96f3bbf0c2e884700bf55e7
|
data/CHANGELOG.md
CHANGED
@@ -2,7 +2,110 @@
|
|
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.
|
5
|
+
[Full Changelog](https://github.com/hopsoft/stimulus_reflex/compare/v3.3.0.pre4...HEAD)
|
6
|
+
|
7
|
+
**Implemented enhancements:**
|
8
|
+
|
9
|
+
- Fail loudly if there's a version mismatch between the gem and the npm package. [\#294](https://github.com/hopsoft/stimulus_reflex/issues/294)
|
10
|
+
|
11
|
+
**Closed issues:**
|
12
|
+
|
13
|
+
- IE11 Support: "crypto" is undefined [\#308](https://github.com/hopsoft/stimulus_reflex/issues/308)
|
14
|
+
- Using `morph` gives error on missing Warden::Manager midddleware? [\#304](https://github.com/hopsoft/stimulus_reflex/issues/304)
|
15
|
+
- Update client controller template comments [\#298](https://github.com/hopsoft/stimulus_reflex/issues/298)
|
16
|
+
|
17
|
+
**Merged pull requests:**
|
18
|
+
|
19
|
+
- Support IE11 msCrypto \(\#308\) [\#310](https://github.com/hopsoft/stimulus_reflex/pull/310) ([chooselife22](https://github.com/chooselife22))
|
20
|
+
- Print warning and exit if caching is disabled or npm/gem versions are mismatched [\#309](https://github.com/hopsoft/stimulus_reflex/pull/309) ([excid3](https://github.com/excid3))
|
21
|
+
- ActionCable connectivity events [\#307](https://github.com/hopsoft/stimulus_reflex/pull/307) ([leastbad](https://github.com/leastbad))
|
22
|
+
- Copyedits [\#306](https://github.com/hopsoft/stimulus_reflex/pull/306) ([CodingItWrong](https://github.com/CodingItWrong))
|
23
|
+
- add redis to cable.yml in development mode [\#305](https://github.com/hopsoft/stimulus_reflex/pull/305) ([leastbad](https://github.com/leastbad))
|
24
|
+
- Update morph-modes.md [\#302](https://github.com/hopsoft/stimulus_reflex/pull/302) ([scottbarrow](https://github.com/scottbarrow))
|
25
|
+
- Enhance controller templates docs [\#300](https://github.com/hopsoft/stimulus_reflex/pull/300) ([pinzonjulian](https://github.com/pinzonjulian))
|
26
|
+
- Avoid mismatching client and server versions [\#297](https://github.com/hopsoft/stimulus_reflex/pull/297) ([piotrwodz](https://github.com/piotrwodz))
|
27
|
+
|
28
|
+
## [v3.3.0.pre4](https://github.com/hopsoft/stimulus_reflex/tree/v3.3.0.pre4) (2020-09-13)
|
29
|
+
|
30
|
+
[Full Changelog](https://github.com/hopsoft/stimulus_reflex/compare/v3.3.0.pre3...v3.3.0.pre4)
|
31
|
+
|
32
|
+
**Fixed bugs:**
|
33
|
+
|
34
|
+
- Lifecycle callbacks do not work [\#281](https://github.com/hopsoft/stimulus_reflex/issues/281)
|
35
|
+
- Fix timing issues with post-Reflex lifecycle callbacks [\#299](https://github.com/hopsoft/stimulus_reflex/pull/299) ([leastbad](https://github.com/leastbad))
|
36
|
+
|
37
|
+
**Closed issues:**
|
38
|
+
|
39
|
+
- self-referential data-reflex-root [\#301](https://github.com/hopsoft/stimulus_reflex/issues/301)
|
40
|
+
- data-reflex-permanent not working when using slim templates [\#295](https://github.com/hopsoft/stimulus_reflex/issues/295)
|
41
|
+
- undefined method `rescue\_with\_handler' whit reflex action such as "click-\>…" or "change-\>…" [\#287](https://github.com/hopsoft/stimulus_reflex/issues/287)
|
42
|
+
|
43
|
+
**Merged pull requests:**
|
44
|
+
|
45
|
+
- Fixed typo in sample code. [\#296](https://github.com/hopsoft/stimulus_reflex/pull/296) ([jclarke](https://github.com/jclarke))
|
46
|
+
|
47
|
+
## [v3.3.0.pre3](https://github.com/hopsoft/stimulus_reflex/tree/v3.3.0.pre3) (2020-08-31)
|
48
|
+
|
49
|
+
[Full Changelog](https://github.com/hopsoft/stimulus_reflex/compare/v3.3.0.pre2...v3.3.0.pre3)
|
50
|
+
|
51
|
+
**Fixed bugs:**
|
52
|
+
|
53
|
+
- First argument of type "object" in this.stimulate\(\) will always be assigned to options. [\#278](https://github.com/hopsoft/stimulus_reflex/issues/278)
|
54
|
+
- Allow morphs to run before triggering success/after [\#286](https://github.com/hopsoft/stimulus_reflex/pull/286) ([hopsoft](https://github.com/hopsoft))
|
55
|
+
|
56
|
+
**Closed issues:**
|
57
|
+
|
58
|
+
- Reflex ignores turbolinks cached pages [\#288](https://github.com/hopsoft/stimulus_reflex/issues/288)
|
59
|
+
- Issue with Stimulus Reflex and ViewComponent [\#284](https://github.com/hopsoft/stimulus_reflex/issues/284)
|
60
|
+
- controller inheritance does not seem to work [\#283](https://github.com/hopsoft/stimulus_reflex/issues/283)
|
61
|
+
- Cannot read property 'schema' of undefined [\#282](https://github.com/hopsoft/stimulus_reflex/issues/282)
|
62
|
+
- Reflex on form submit does not get parameter from input\[type="file"\] [\#277](https://github.com/hopsoft/stimulus_reflex/issues/277)
|
63
|
+
- jQuery Plugins [\#246](https://github.com/hopsoft/stimulus_reflex/issues/246)
|
64
|
+
- ActiveStorage variants performance [\#242](https://github.com/hopsoft/stimulus_reflex/issues/242)
|
65
|
+
- Unnecessary body update after text\_content [\#186](https://github.com/hopsoft/stimulus_reflex/issues/186)
|
66
|
+
- Warn about enabling Rails after running stimulus reflex' initializer [\#185](https://github.com/hopsoft/stimulus_reflex/issues/185)
|
67
|
+
- Integration tests for stimulus-reflex [\#162](https://github.com/hopsoft/stimulus_reflex/issues/162)
|
68
|
+
- Clearer explanation of quickstart example without javascript. [\#149](https://github.com/hopsoft/stimulus_reflex/issues/149)
|
69
|
+
- Webpack compilation fails with rails/webpacker 3.6 [\#83](https://github.com/hopsoft/stimulus_reflex/issues/83)
|
70
|
+
|
71
|
+
**Merged pull requests:**
|
72
|
+
|
73
|
+
- Check if reflex exists before using it [\#293](https://github.com/hopsoft/stimulus_reflex/pull/293) ([joshleblanc](https://github.com/joshleblanc))
|
74
|
+
- Add instructions for existing projects [\#291](https://github.com/hopsoft/stimulus_reflex/pull/291) ([gerrywastaken](https://github.com/gerrywastaken))
|
75
|
+
- Fix argument of type object always being assigned to options [\#279](https://github.com/hopsoft/stimulus_reflex/pull/279) ([shawnleong](https://github.com/shawnleong))
|
76
|
+
- Simplify devise authentication logic \(in docs\) [\#276](https://github.com/hopsoft/stimulus_reflex/pull/276) ([inner-whisper](https://github.com/inner-whisper))
|
77
|
+
- Bump lodash from 4.17.15 to 4.17.19 in /javascript [\#275](https://github.com/hopsoft/stimulus_reflex/pull/275) ([dependabot[bot]](https://github.com/apps/dependabot))
|
78
|
+
|
79
|
+
## [v3.3.0.pre2](https://github.com/hopsoft/stimulus_reflex/tree/v3.3.0.pre2) (2020-07-17)
|
80
|
+
|
81
|
+
[Full Changelog](https://github.com/hopsoft/stimulus_reflex/compare/v3.3.0.pre1...v3.3.0.pre2)
|
82
|
+
|
83
|
+
**Closed issues:**
|
84
|
+
|
85
|
+
- afterReflex not always firing on morph with selectors [\#269](https://github.com/hopsoft/stimulus_reflex/issues/269)
|
86
|
+
- Lifecycle hooks [\#266](https://github.com/hopsoft/stimulus_reflex/issues/266)
|
87
|
+
- Stimulus Reflex with Rspec not working [\#263](https://github.com/hopsoft/stimulus_reflex/issues/263)
|
88
|
+
|
89
|
+
**Merged pull requests:**
|
90
|
+
|
91
|
+
- Smarter warnings when element not found [\#274](https://github.com/hopsoft/stimulus_reflex/pull/274) ([hopsoft](https://github.com/hopsoft))
|
92
|
+
- Add the attributes to the warning message when element not found [\#273](https://github.com/hopsoft/stimulus_reflex/pull/273) ([hopsoft](https://github.com/hopsoft))
|
93
|
+
- Update find element to ignore SR attrs [\#272](https://github.com/hopsoft/stimulus_reflex/pull/272) ([hopsoft](https://github.com/hopsoft))
|
94
|
+
- Refactor of the morph feature [\#270](https://github.com/hopsoft/stimulus_reflex/pull/270) ([hopsoft](https://github.com/hopsoft))
|
95
|
+
- coerce html arguments to string type [\#268](https://github.com/hopsoft/stimulus_reflex/pull/268) ([leastbad](https://github.com/leastbad))
|
96
|
+
- Update deployment docs after the official AnyCable 1.0 release [\#267](https://github.com/hopsoft/stimulus_reflex/pull/267) ([rmacklin](https://github.com/rmacklin))
|
97
|
+
|
98
|
+
## [v3.3.0.pre1](https://github.com/hopsoft/stimulus_reflex/tree/v3.3.0.pre1) (2020-07-08)
|
99
|
+
|
100
|
+
[Full Changelog](https://github.com/hopsoft/stimulus_reflex/compare/v3.3.0.pre0...v3.3.0.pre1)
|
101
|
+
|
102
|
+
**Merged pull requests:**
|
103
|
+
|
104
|
+
- Fix selector morphs for updating partials and ViewComponents [\#262](https://github.com/hopsoft/stimulus_reflex/pull/262) ([leastbad](https://github.com/leastbad))
|
105
|
+
|
106
|
+
## [v3.3.0.pre0](https://github.com/hopsoft/stimulus_reflex/tree/v3.3.0.pre0) (2020-07-04)
|
107
|
+
|
108
|
+
[Full Changelog](https://github.com/hopsoft/stimulus_reflex/compare/v3.2.3...v3.3.0.pre0)
|
6
109
|
|
7
110
|
**Implemented enhancements:**
|
8
111
|
|
@@ -383,9 +486,7 @@
|
|
383
486
|
**Implemented enhancements:**
|
384
487
|
|
385
488
|
- Custom Stimulus schema breaks Reflex [\#91](https://github.com/hopsoft/stimulus_reflex/issues/91)
|
386
|
-
- Add schema support [\#94](https://github.com/hopsoft/stimulus_reflex/pull/94) ([hopsoft](https://github.com/hopsoft))
|
387
489
|
- inherit stimulus schema [\#92](https://github.com/hopsoft/stimulus_reflex/pull/92) ([nickyvanurk](https://github.com/nickyvanurk))
|
388
|
-
- Single source of truth [\#76](https://github.com/hopsoft/stimulus_reflex/pull/76) ([leastbad](https://github.com/leastbad))
|
389
490
|
|
390
491
|
**Fixed bugs:**
|
391
492
|
|
@@ -404,6 +505,7 @@
|
|
404
505
|
|
405
506
|
**Implemented enhancements:**
|
406
507
|
|
508
|
+
- Single source of truth [\#76](https://github.com/hopsoft/stimulus_reflex/pull/76) ([leastbad](https://github.com/leastbad))
|
407
509
|
- Add CodeFund sponsorship [\#75](https://github.com/hopsoft/stimulus_reflex/pull/75) ([coderberry](https://github.com/coderberry))
|
408
510
|
|
409
511
|
**Fixed bugs:**
|
@@ -417,9 +519,11 @@
|
|
417
519
|
**Implemented enhancements:**
|
418
520
|
|
419
521
|
- Create Rails generators [\#3](https://github.com/hopsoft/stimulus_reflex/issues/3)
|
522
|
+
- Add schema support [\#94](https://github.com/hopsoft/stimulus_reflex/pull/94) ([hopsoft](https://github.com/hopsoft))
|
420
523
|
- Update installer [\#71](https://github.com/hopsoft/stimulus_reflex/pull/71) ([hopsoft](https://github.com/hopsoft))
|
421
524
|
- Tweak generators [\#69](https://github.com/hopsoft/stimulus_reflex/pull/69) ([hopsoft](https://github.com/hopsoft))
|
422
525
|
- add generators [\#67](https://github.com/hopsoft/stimulus_reflex/pull/67) ([andrewmcodes](https://github.com/andrewmcodes))
|
526
|
+
- Add reflex name to the lifecycle args [\#62](https://github.com/hopsoft/stimulus_reflex/pull/62) ([hopsoft](https://github.com/hopsoft))
|
423
527
|
|
424
528
|
**Fixed bugs:**
|
425
529
|
|
@@ -448,7 +552,6 @@
|
|
448
552
|
- Client side call-backs? [\#34](https://github.com/hopsoft/stimulus_reflex/issues/34)
|
449
553
|
- Scoped register\(\)? [\#26](https://github.com/hopsoft/stimulus_reflex/issues/26)
|
450
554
|
- Add guard to verify same URL prior to morph [\#63](https://github.com/hopsoft/stimulus_reflex/pull/63) ([hopsoft](https://github.com/hopsoft))
|
451
|
-
- Add reflex name to the lifecycle args [\#62](https://github.com/hopsoft/stimulus_reflex/pull/62) ([hopsoft](https://github.com/hopsoft))
|
452
555
|
- Refactor some helper methods out of main file [\#61](https://github.com/hopsoft/stimulus_reflex/pull/61) ([hopsoft](https://github.com/hopsoft))
|
453
556
|
- Documentation update [\#58](https://github.com/hopsoft/stimulus_reflex/pull/58) ([leastbad](https://github.com/leastbad))
|
454
557
|
- \# Support for data-reflex-permanent [\#57](https://github.com/hopsoft/stimulus_reflex/pull/57) ([hopsoft](https://github.com/hopsoft))
|
data/Gemfile.lock
CHANGED
@@ -1,65 +1,66 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
stimulus_reflex (3.3.0.
|
4
|
+
stimulus_reflex (3.3.0.pre4)
|
5
5
|
cable_ready (>= 4.1.2)
|
6
6
|
nokogiri
|
7
7
|
rack
|
8
8
|
rails (>= 5.2)
|
9
|
+
redis
|
9
10
|
|
10
11
|
GEM
|
11
12
|
remote: https://rubygems.org/
|
12
13
|
specs:
|
13
|
-
actioncable (6.0.3.
|
14
|
-
actionpack (= 6.0.3.
|
14
|
+
actioncable (6.0.3.3)
|
15
|
+
actionpack (= 6.0.3.3)
|
15
16
|
nio4r (~> 2.0)
|
16
17
|
websocket-driver (>= 0.6.1)
|
17
|
-
actionmailbox (6.0.3.
|
18
|
-
actionpack (= 6.0.3.
|
19
|
-
activejob (= 6.0.3.
|
20
|
-
activerecord (= 6.0.3.
|
21
|
-
activestorage (= 6.0.3.
|
22
|
-
activesupport (= 6.0.3.
|
18
|
+
actionmailbox (6.0.3.3)
|
19
|
+
actionpack (= 6.0.3.3)
|
20
|
+
activejob (= 6.0.3.3)
|
21
|
+
activerecord (= 6.0.3.3)
|
22
|
+
activestorage (= 6.0.3.3)
|
23
|
+
activesupport (= 6.0.3.3)
|
23
24
|
mail (>= 2.7.1)
|
24
|
-
actionmailer (6.0.3.
|
25
|
-
actionpack (= 6.0.3.
|
26
|
-
actionview (= 6.0.3.
|
27
|
-
activejob (= 6.0.3.
|
25
|
+
actionmailer (6.0.3.3)
|
26
|
+
actionpack (= 6.0.3.3)
|
27
|
+
actionview (= 6.0.3.3)
|
28
|
+
activejob (= 6.0.3.3)
|
28
29
|
mail (~> 2.5, >= 2.5.4)
|
29
30
|
rails-dom-testing (~> 2.0)
|
30
|
-
actionpack (6.0.3.
|
31
|
-
actionview (= 6.0.3.
|
32
|
-
activesupport (= 6.0.3.
|
31
|
+
actionpack (6.0.3.3)
|
32
|
+
actionview (= 6.0.3.3)
|
33
|
+
activesupport (= 6.0.3.3)
|
33
34
|
rack (~> 2.0, >= 2.0.8)
|
34
35
|
rack-test (>= 0.6.3)
|
35
36
|
rails-dom-testing (~> 2.0)
|
36
37
|
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
37
|
-
actiontext (6.0.3.
|
38
|
-
actionpack (= 6.0.3.
|
39
|
-
activerecord (= 6.0.3.
|
40
|
-
activestorage (= 6.0.3.
|
41
|
-
activesupport (= 6.0.3.
|
38
|
+
actiontext (6.0.3.3)
|
39
|
+
actionpack (= 6.0.3.3)
|
40
|
+
activerecord (= 6.0.3.3)
|
41
|
+
activestorage (= 6.0.3.3)
|
42
|
+
activesupport (= 6.0.3.3)
|
42
43
|
nokogiri (>= 1.8.5)
|
43
|
-
actionview (6.0.3.
|
44
|
-
activesupport (= 6.0.3.
|
44
|
+
actionview (6.0.3.3)
|
45
|
+
activesupport (= 6.0.3.3)
|
45
46
|
builder (~> 3.1)
|
46
47
|
erubi (~> 1.4)
|
47
48
|
rails-dom-testing (~> 2.0)
|
48
49
|
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
49
|
-
activejob (6.0.3.
|
50
|
-
activesupport (= 6.0.3.
|
50
|
+
activejob (6.0.3.3)
|
51
|
+
activesupport (= 6.0.3.3)
|
51
52
|
globalid (>= 0.3.6)
|
52
|
-
activemodel (6.0.3.
|
53
|
-
activesupport (= 6.0.3.
|
54
|
-
activerecord (6.0.3.
|
55
|
-
activemodel (= 6.0.3.
|
56
|
-
activesupport (= 6.0.3.
|
57
|
-
activestorage (6.0.3.
|
58
|
-
actionpack (= 6.0.3.
|
59
|
-
activejob (= 6.0.3.
|
60
|
-
activerecord (= 6.0.3.
|
53
|
+
activemodel (6.0.3.3)
|
54
|
+
activesupport (= 6.0.3.3)
|
55
|
+
activerecord (6.0.3.3)
|
56
|
+
activemodel (= 6.0.3.3)
|
57
|
+
activesupport (= 6.0.3.3)
|
58
|
+
activestorage (6.0.3.3)
|
59
|
+
actionpack (= 6.0.3.3)
|
60
|
+
activejob (= 6.0.3.3)
|
61
|
+
activerecord (= 6.0.3.3)
|
61
62
|
marcel (~> 0.3.1)
|
62
|
-
activesupport (6.0.3.
|
63
|
+
activesupport (6.0.3.3)
|
63
64
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
64
65
|
i18n (>= 0.7, < 2)
|
65
66
|
minitest (~> 5.1)
|
@@ -70,14 +71,14 @@ GEM
|
|
70
71
|
cable_ready (4.3.0)
|
71
72
|
rails (>= 5.2)
|
72
73
|
coderay (1.1.3)
|
73
|
-
concurrent-ruby (1.1.
|
74
|
+
concurrent-ruby (1.1.7)
|
74
75
|
crass (1.0.6)
|
75
76
|
erubi (1.9.0)
|
76
77
|
globalid (0.4.2)
|
77
78
|
activesupport (>= 4.2.0)
|
78
|
-
i18n (1.8.
|
79
|
+
i18n (1.8.5)
|
79
80
|
concurrent-ruby (~> 1.0)
|
80
|
-
loofah (2.
|
81
|
+
loofah (2.7.0)
|
81
82
|
crass (~> 1.0.2)
|
82
83
|
nokogiri (>= 1.5.9)
|
83
84
|
mail (2.7.1)
|
@@ -88,9 +89,9 @@ GEM
|
|
88
89
|
mimemagic (0.3.5)
|
89
90
|
mini_mime (1.0.2)
|
90
91
|
mini_portile2 (2.4.0)
|
91
|
-
minitest (5.14.
|
92
|
-
nio4r (2.5.
|
93
|
-
nokogiri (1.10.
|
92
|
+
minitest (5.14.2)
|
93
|
+
nio4r (2.5.4)
|
94
|
+
nokogiri (1.10.10)
|
94
95
|
mini_portile2 (~> 2.4.0)
|
95
96
|
parallel (1.19.2)
|
96
97
|
parser (2.7.1.4)
|
@@ -103,60 +104,61 @@ GEM
|
|
103
104
|
rack (2.2.3)
|
104
105
|
rack-test (1.1.0)
|
105
106
|
rack (>= 1.0, < 3)
|
106
|
-
rails (6.0.3.
|
107
|
-
actioncable (= 6.0.3.
|
108
|
-
actionmailbox (= 6.0.3.
|
109
|
-
actionmailer (= 6.0.3.
|
110
|
-
actionpack (= 6.0.3.
|
111
|
-
actiontext (= 6.0.3.
|
112
|
-
actionview (= 6.0.3.
|
113
|
-
activejob (= 6.0.3.
|
114
|
-
activemodel (= 6.0.3.
|
115
|
-
activerecord (= 6.0.3.
|
116
|
-
activestorage (= 6.0.3.
|
117
|
-
activesupport (= 6.0.3.
|
107
|
+
rails (6.0.3.3)
|
108
|
+
actioncable (= 6.0.3.3)
|
109
|
+
actionmailbox (= 6.0.3.3)
|
110
|
+
actionmailer (= 6.0.3.3)
|
111
|
+
actionpack (= 6.0.3.3)
|
112
|
+
actiontext (= 6.0.3.3)
|
113
|
+
actionview (= 6.0.3.3)
|
114
|
+
activejob (= 6.0.3.3)
|
115
|
+
activemodel (= 6.0.3.3)
|
116
|
+
activerecord (= 6.0.3.3)
|
117
|
+
activestorage (= 6.0.3.3)
|
118
|
+
activesupport (= 6.0.3.3)
|
118
119
|
bundler (>= 1.3.0)
|
119
|
-
railties (= 6.0.3.
|
120
|
+
railties (= 6.0.3.3)
|
120
121
|
sprockets-rails (>= 2.0.0)
|
121
122
|
rails-dom-testing (2.0.3)
|
122
123
|
activesupport (>= 4.2.0)
|
123
124
|
nokogiri (>= 1.6)
|
124
125
|
rails-html-sanitizer (1.3.0)
|
125
126
|
loofah (~> 2.3)
|
126
|
-
railties (6.0.3.
|
127
|
-
actionpack (= 6.0.3.
|
128
|
-
activesupport (= 6.0.3.
|
127
|
+
railties (6.0.3.3)
|
128
|
+
actionpack (= 6.0.3.3)
|
129
|
+
activesupport (= 6.0.3.3)
|
129
130
|
method_source
|
130
131
|
rake (>= 0.8.7)
|
131
132
|
thor (>= 0.20.3, < 2.0)
|
132
133
|
rainbow (3.0.0)
|
133
134
|
rake (13.0.1)
|
135
|
+
redis (4.2.2)
|
134
136
|
regexp_parser (1.7.1)
|
135
137
|
rexml (3.2.4)
|
136
|
-
rubocop (0.
|
138
|
+
rubocop (0.89.1)
|
137
139
|
parallel (~> 1.10)
|
138
|
-
parser (>= 2.7.
|
140
|
+
parser (>= 2.7.1.1)
|
139
141
|
rainbow (>= 2.2.2, < 4.0)
|
140
142
|
regexp_parser (>= 1.7)
|
141
143
|
rexml
|
142
|
-
rubocop-ast (>= 0.0.
|
144
|
+
rubocop-ast (>= 0.3.0, < 1.0)
|
143
145
|
ruby-progressbar (~> 1.7)
|
144
146
|
unicode-display_width (>= 1.4.0, < 2.0)
|
145
|
-
rubocop-ast (0.
|
146
|
-
parser (>= 2.7.
|
147
|
-
rubocop-performance (1.
|
148
|
-
rubocop (>= 0.
|
147
|
+
rubocop-ast (0.3.0)
|
148
|
+
parser (>= 2.7.1.4)
|
149
|
+
rubocop-performance (1.7.1)
|
150
|
+
rubocop (>= 0.82.0)
|
149
151
|
ruby-progressbar (1.10.1)
|
150
152
|
sprockets (4.0.2)
|
151
153
|
concurrent-ruby (~> 1.0)
|
152
154
|
rack (> 1, < 3)
|
153
|
-
sprockets-rails (3.2.
|
155
|
+
sprockets-rails (3.2.2)
|
154
156
|
actionpack (>= 4.0)
|
155
157
|
activesupport (>= 4.0)
|
156
158
|
sprockets (>= 3.0.0)
|
157
|
-
standard (0.
|
158
|
-
rubocop (~> 0.
|
159
|
-
rubocop-performance (~> 1.
|
159
|
+
standard (0.5.2)
|
160
|
+
rubocop (~> 0.89.1)
|
161
|
+
rubocop-performance (~> 1.7.1)
|
160
162
|
standardrb (1.0.0)
|
161
163
|
standard
|
162
164
|
thor (1.0.1)
|
@@ -164,10 +166,10 @@ GEM
|
|
164
166
|
tzinfo (1.2.7)
|
165
167
|
thread_safe (~> 0.1)
|
166
168
|
unicode-display_width (1.7.0)
|
167
|
-
websocket-driver (0.7.
|
169
|
+
websocket-driver (0.7.3)
|
168
170
|
websocket-extensions (>= 0.1.0)
|
169
171
|
websocket-extensions (0.1.5)
|
170
|
-
zeitwerk (2.
|
172
|
+
zeitwerk (2.4.0)
|
171
173
|
|
172
174
|
PLATFORMS
|
173
175
|
ruby
|
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-1098-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" />
|
@@ -44,45 +44,51 @@
|
|
44
44
|
<br />
|
45
45
|
|
46
46
|
|
47
|
-
### 🎉 **
|
47
|
+
### 🎉 **An exciting new way to build modern, reactive, real-time apps with Ruby on Rails.**
|
48
48
|
|
49
49
|
StimulusReflex eliminates the complexity imposed by full-stack frontend frameworks.
|
50
50
|
And, it's fast.
|
51
51
|
|
52
52
|
It works seamlessly with the Rails tooling you already know and love.
|
53
53
|
|
54
|
-
-
|
55
|
-
-
|
56
|
-
- [Russian doll caching](https://edgeguides.rubyonrails.org/caching_with_rails.html#russian-doll-caching)
|
57
|
-
- [
|
58
|
-
- [
|
59
|
-
- etc...
|
54
|
+
- Server-rendered HTML, delivered in miliseconds over the wire via Websockets
|
55
|
+
- ERB templates and partials, with first-class [ViewComponent](https://github.com/github/view_component) support
|
56
|
+
- [Russian doll caching](https://edgeguides.rubyonrails.org/caching_with_rails.html#russian-doll-caching) and [ActiveJob](https://guides.rubyonrails.org/active_job_basics.html)
|
57
|
+
- [StimulusJS](https://stimulusjs.org/) and [Turbolinks](https://www.youtube.com/watch?v=SWEts0rlezA)
|
58
|
+
- Built with [CableReady](https://www.youtube.com/watch?v=dPzv2qsj5L8), our secret power-move
|
60
59
|
|
61
|
-
**
|
60
|
+
**Our goal is to help small teams do big things with familiar tools.**
|
62
61
|
|
63
62
|
This project strives to live up to the vision outlined in [The Rails Doctrine](https://rubyonrails.org/doctrine/).
|
64
63
|
|
65
64
|
## 📚 Docs
|
66
65
|
|
67
|
-
- [
|
66
|
+
- [StimulusReflex Documentation](https://docs.stimulusreflex.com)
|
67
|
+
- [CableReady Documentation](https://cableready.stimulusreflex.com)
|
68
68
|
|
69
69
|
## ✨ Demos
|
70
70
|
|
71
|
-
-
|
72
|
-
-
|
71
|
+
- [StimulusReflex Expo](http://expo.stimulusreflex.com) - part showcase, part learning tool
|
72
|
+
- [Build a Twitter Clone in 10 Minutes](https://youtu.be/F5hA79vKE_E) (video)
|
73
|
+
- [BoxDrop](https://dropbox-clone-rails.herokuapp.com/) - a Dropbox-inspired [concept demo](https://github.com/marcoroth/boxdrop/)
|
73
74
|
|
74
|
-
##
|
75
|
+
## 👩👩👧 Discord Community
|
75
76
|
|
76
|
-
|
77
|
-
- [Discord](https://discord.gg/XveN625) - chat root
|
77
|
+
Please join over 500 of us on [Discord](https://discord.gg/XveN625) for support getting started, as well as active discussions around Rails, StimulusJS and CableReady.
|
78
78
|
|
79
|
-
|
79
|
+
![](https://img.shields.io/discord/629472241427415060)
|
80
|
+
|
81
|
+
Stop by #newcomers and introduce yourselves!
|
82
|
+
|
83
|
+
## 💙 Support
|
80
84
|
|
81
|
-
|
82
|
-
|
83
|
-
|
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 or posts on [Discourse](https://stimulus-reflex.discourse.group) are fine, too.
|
86
|
+
|
87
|
+
Please note that we are not actively providing support on Stack Overflow. If you post there, we likely won't see it.
|
88
|
+
|
89
|
+
## 🚀 Install
|
84
90
|
|
85
|
-
|
91
|
+
CLI and manual setup procedures are fully detailed in the [official docs](https://docs.stimulusreflex.com/setup).
|
86
92
|
|
87
93
|
## 🙏 Contributing
|
88
94
|
|