stimulus_reflex 3.5.0.pre6 → 3.5.0.pre9

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.

Files changed (43) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +2 -1177
  3. data/Gemfile.lock +123 -100
  4. data/README.md +47 -6
  5. data/app/assets/javascripts/stimulus_reflex.js +969 -0
  6. data/app/assets/javascripts/stimulus_reflex.min.js +2 -0
  7. data/app/assets/javascripts/stimulus_reflex.min.js.map +1 -0
  8. data/app/assets/javascripts/stimulus_reflex.umd.js +904 -0
  9. data/app/assets/javascripts/stimulus_reflex.umd.min.js +905 -0
  10. data/app/assets/javascripts/stimulus_reflex.umd.min.js.map +1 -0
  11. data/app/channels/stimulus_reflex/channel.rb +21 -2
  12. data/lib/stimulus_reflex/broadcasters/nothing_broadcaster.rb +1 -0
  13. data/lib/stimulus_reflex/engine.rb +29 -0
  14. data/lib/stimulus_reflex/importmap.rb +4 -0
  15. data/lib/stimulus_reflex/open_struct_fix.rb +29 -0
  16. data/lib/stimulus_reflex/reflex.rb +10 -3
  17. data/lib/stimulus_reflex/reflex_data.rb +8 -0
  18. data/lib/stimulus_reflex/reflex_factory.rb +3 -1
  19. data/lib/stimulus_reflex/utils/logger.rb +2 -0
  20. data/lib/stimulus_reflex/utils/sanity_checker.rb +0 -58
  21. data/lib/stimulus_reflex/version.rb +1 -1
  22. data/lib/stimulus_reflex.rb +2 -6
  23. data/package.json +67 -0
  24. data/rollup.config.js +85 -0
  25. data/stimulus_reflex.gemspec +63 -0
  26. data/test/broadcasters/broadcaster_test_case.rb +1 -1
  27. data/test/broadcasters/nothing_broadcaster_test.rb +3 -1
  28. data/test/broadcasters/page_broadcaster_test.rb +4 -2
  29. data/test/broadcasters/selector_broadcaster_test.rb +12 -6
  30. data/test/callbacks_test.rb +23 -23
  31. data/test/reflex_test.rb +2 -2
  32. data/test/tmp/app/reflexes/application_reflex.rb +3 -10
  33. data/test/tmp/app/reflexes/{demo_reflex.rb → user_reflex.rb} +10 -2
  34. data/web-test-runner.config.mjs +12 -0
  35. data/yarn-error.log +4964 -0
  36. data/yarn.lock +4520 -0
  37. metadata +118 -38
  38. data/lib/generators/USAGE +0 -14
  39. data/lib/generators/stimulus_reflex/templates/app/javascript/controllers/%file_name%_controller.js.tt +0 -101
  40. data/lib/generators/stimulus_reflex/templates/app/javascript/controllers/application_controller.js.tt +0 -60
  41. data/lib/generators/stimulus_reflex/templates/app/reflexes/%file_name%_reflex.rb.tt +0 -41
  42. data/lib/generators/stimulus_reflex/templates/app/reflexes/application_reflex.rb.tt +0 -19
  43. data/lib/tasks/stimulus_reflex/install.rake +0 -116
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d3eeb7e68a619fd080de2586195c301fb1964ca228386a1cf382746361ba8ba8
4
- data.tar.gz: 941dd5eadad5a5b8a156875ec18b2a802c4beffdc8be89c066ab1ad0a49f9814
3
+ metadata.gz: d3d340a7c650e2c63d65c8e5156562d80d8f5a9515f8f9e7a1666895b5d9ef43
4
+ data.tar.gz: af7799ef55cf1c8826faf40e0869cba3b4780c99c53b8f66e98c212ec5e58546
5
5
  SHA512:
6
- metadata.gz: e42c7c8d0af3239055643cab1fc501bc48ea6c8c09238b2a3f9ed874cbd36bfafaa79e3c359642e6535f50a2d6c71b6d4110a5da4b935412c5708a0d24c7c5db
7
- data.tar.gz: 892930733782eab2fa08dd978a7bff83b2f31aea5f2b3b9f138b1aa2963cff249eca0c16e7929576e321c4fd17195539cc4bcc5b9de10f94ed7ccbb450c65f95
6
+ metadata.gz: 4d8f749fafc778428d0e5731ccbdcab3be5d7d91de58cec84590101af59be022c6c4ea1f093921df81546176102370ec1dd279bf8467030efe6e3767ca6e368f
7
+ data.tar.gz: 904db9ad9d50e942152dfb26f558b8fe037ce1bd472fd015cdbb4fa739f19b99ae34ae4668b2a9df1685235a1e6e9af2de1d7eb08d70d03dc29cdc22385fd814