stimulus_reflex 3.5.0.rc2 → 3.5.0.rc4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (32) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +22 -18
  3. data/app/assets/javascripts/stimulus_reflex.js +8 -6
  4. data/app/assets/javascripts/stimulus_reflex.umd.js +8 -5
  5. data/app/channels/stimulus_reflex/channel.rb +49 -53
  6. data/lib/generators/stimulus_reflex/stimulus_reflex_generator.rb +6 -18
  7. data/lib/generators/stimulus_reflex/templates/app/javascript/config/cable_ready.js.tt +6 -2
  8. data/lib/generators/stimulus_reflex/templates/app/javascript/config/index.js.tt +7 -2
  9. data/lib/generators/stimulus_reflex/templates/app/javascript/config/stimulus_reflex.js.tt +5 -0
  10. data/lib/generators/stimulus_reflex/templates/app/javascript/controllers/%file_name%_controller.js.tt +6 -2
  11. data/lib/generators/stimulus_reflex/templates/app/javascript/controllers/application.js.tt +5 -1
  12. data/lib/generators/stimulus_reflex/templates/app/javascript/controllers/index.js.importmap.tt +7 -1
  13. data/lib/install/config.rb +5 -5
  14. data/lib/install/esbuild.rb +1 -1
  15. data/lib/install/importmap.rb +2 -2
  16. data/lib/install/mrujs.rb +10 -5
  17. data/lib/install/npm_packages.rb +1 -1
  18. data/lib/install/shakapacker.rb +1 -1
  19. data/lib/install/vite.rb +1 -1
  20. data/lib/install/webpacker.rb +1 -1
  21. data/lib/install/yarn.rb +4 -4
  22. data/lib/stimulus_reflex/cable_readiness.rb +1 -7
  23. data/lib/stimulus_reflex/installer.rb +88 -7
  24. data/lib/stimulus_reflex/reflex.rb +14 -29
  25. data/lib/stimulus_reflex/reflex_data.rb +17 -17
  26. data/lib/stimulus_reflex/reflex_factory.rb +49 -26
  27. data/lib/stimulus_reflex/version.rb +1 -1
  28. data/lib/tasks/stimulus_reflex/stimulus_reflex.rake +21 -52
  29. data/package.json +3 -3
  30. data/stimulus_reflex.gemspec +2 -2
  31. data/yarn.lock +518 -444
  32. metadata +10 -10
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.5.0.rc2
4
+ version: 3.5.0.rc4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Hopkins
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-03-27 00:00:00.000000000 Z
11
+ date: 2024-03-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actioncable
@@ -114,16 +114,16 @@ dependencies:
114
114
  name: cable_ready
115
115
  requirement: !ruby/object:Gem::Requirement
116
116
  requirements:
117
- - - ">="
117
+ - - "~>"
118
118
  - !ruby/object:Gem::Version
119
- version: 5.0.0.rc2
119
+ version: '5.0'
120
120
  type: :runtime
121
121
  prerelease: false
122
122
  version_requirements: !ruby/object:Gem::Requirement
123
123
  requirements:
124
- - - ">="
124
+ - - "~>"
125
125
  - !ruby/object:Gem::Version
126
- version: 5.0.0.rc2
126
+ version: '5.0'
127
127
  - !ruby/object:Gem::Dependency
128
128
  name: nokogiri
129
129
  requirement: !ruby/object:Gem::Requirement
@@ -396,14 +396,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
396
396
  requirements:
397
397
  - - ">="
398
398
  - !ruby/object:Gem::Version
399
- version: 2.7.0
399
+ version: 3.0.0
400
400
  required_rubygems_version: !ruby/object:Gem::Requirement
401
401
  requirements:
402
- - - ">"
402
+ - - ">="
403
403
  - !ruby/object:Gem::Version
404
- version: 1.3.1
404
+ version: '0'
405
405
  requirements: []
406
- rubygems_version: 3.4.1
406
+ rubygems_version: 3.5.5
407
407
  signing_key:
408
408
  specification_version: 4
409
409
  summary: Build reactive applications with the Rails tooling you already know and love.