plutonium 0.9.0 → 0.9.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (47) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +3 -2
  3. data/Rakefile +9 -0
  4. data/app/assets/build/plutonium.js +5122 -0
  5. data/app/assets/javascripts/controllers/index.js +34 -0
  6. data/app/assets/javascripts/plutonium-app.js +7 -0
  7. data/app/assets/javascripts/plutonium.js +1 -0
  8. data/css.manifest +3 -0
  9. data/esbuild.config.js +44 -0
  10. data/lib/generators/pu/gen/component/component_generator.rb +13 -4
  11. data/lib/generators/pu/lib/plutonium_generators/concerns/actions.rb +86 -72
  12. data/lib/generators/pu/lib/plutonium_generators/model_generator.rb +1 -1
  13. data/lib/generators/pu/rodauth/install_generator.rb +1 -2
  14. data/lib/plutonium/core/fields/renderers/factory.rb +0 -1
  15. data/lib/plutonium/pkg/base.rb +0 -4
  16. data/lib/plutonium/railtie.rb +10 -2
  17. data/lib/plutonium/version.rb +1 -1
  18. data/lib/plutonium.rb +17 -14
  19. data/package-lock.json +0 -7
  20. data/package.json +5 -5
  21. data/postcss.config.js +1 -1
  22. data/public/plutonium-assets/plutonium-app-36KN5FVJ.js +6 -0
  23. data/public/plutonium-assets/plutonium-app-36KN5FVJ.js.map +7 -0
  24. data/public/plutonium-assets/plutonium.50232e35b5495f5ad90d.css +3415 -0
  25. data/tailwind.config.js +11 -12
  26. data/templates/base.rb +1 -1
  27. metadata +19 -22
  28. data/app/assets/js/controllers/application.js +0 -7
  29. data/app/assets/js/controllers/index.js +0 -30
  30. data/app/assets/js/plutonium.js +0 -2
  31. data/build.js +0 -12
  32. data/lib/generators/pu/gem/pagy/pagy_generator.rb +0 -25
  33. data/lib/generators/pu/gem/pagy/templates/config/initializers/pagy.rb +0 -4
  34. data/lib/generators/pu/gem/rabl/rabl_generator.rb +0 -25
  35. data/lib/generators/pu/gem/rabl/templates/.keep +0 -0
  36. data/lib/generators/pu/gem/rabl/templates/config/initializers/rabl.rb +0 -60
  37. data/lib/generators/pu/gem/simple_form/simple_form_generator.rb +0 -25
  38. data/lib/generators/pu/gem/simple_form/templates/.keep +0 -0
  39. data/lib/plutonium/core/fields/renderers/map_renderer.rb +0 -19
  40. /data/{lib/generators/pu/gem/pagy/templates → app/assets/build}/.keep +0 -0
  41. /data/app/assets/{js → javascripts}/controllers/resource_dismiss_controller.js +0 -0
  42. /data/app/assets/{js → javascripts}/controllers/resource_drop_down_controller.js +0 -0
  43. /data/app/assets/{js → javascripts}/turbo/index.js +0 -0
  44. /data/app/assets/{js → javascripts}/turbo/turbo_actions.js +0 -0
  45. /data/app/assets/{js → javascripts}/turbo/turbo_debug.js +0 -0
  46. /data/app/assets/{js → javascripts}/turbo/turbo_frame_monkey_patch.js +0 -0
  47. /data/app/assets/{css → stylesheets}/plutonium.css +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 158056c876d10803c634088f4133a012e7b378f533925ce9fec161734bcc4a39
4
- data.tar.gz: a6d0b5e28877477adf1e20a60deca2071861cb2625a263123f0b3536af6062d2
3
+ metadata.gz: 366e8cd49e552b8602a4767dd6e55406b92eddb9d83f5f38c4b89025a85bae2d
4
+ data.tar.gz: 810cbeae388ef71b27b102c1eb9e7a8dfa7c4a2a75f0215a6ec98b58a333db8a
5
5
  SHA512:
6
- metadata.gz: 0c0f9c9a2b24367f18e3f65f009265b1bb991e4080b5652a065186555be298b776710eec9ff4b7bc219b370ca22876cbceb20f175a8ea7d44521610f983e0e52
7
- data.tar.gz: 9978c7b3479f59ee8dc5716a61805fcab1632434ce5600acf267ad6f8c829e594529fa2e8a79f89cda43987b2caf7076cea3ce35116ee47775c66c3574eef788
6
+ metadata.gz: fbf757e37dfa65e33e7e6d77a377826066097066a572c165e159c3173540a203d7c8bd3ffe4dc2d981a30c6ce5aeb5b3de2c4da311e116cbda266bc4ef8e4642
7
+ data.tar.gz: 5d3685200e6db17a7e8433348b855e72256f1c1c3572c5e1e11f49e73822af164c72c6c27b55aa16d26d40a09bed41fa02673179b98be58a62a034549fa0e0d9
data/README.md CHANGED
@@ -78,10 +78,11 @@ gem "plutonium_generators", github: "radioactive-labs/plutonium-generators", gro
78
78
  # --skip-action-mailbox --skip-action-text --skip-active-storage --skip-action-cable --skip-jbuilder \
79
79
  # --skip-test --skip-system-test --javascript=esbuild --css=bootstrap --database=postgresql
80
80
 
81
- -->
82
81
 
83
82
  ```bash
84
83
  rails new pluton8_starter --name="Pluton8 Starter" --database=sqlite3 --skip-action-mailbox --skip-action-text --skip-active-storage --asset-pipeline=propshaft --skip-jbuilder --javascript=importmap --css=tailwind
85
84
 
86
- bin/rails app:template LOCATION=~/template.rb
85
+ bin/rails app:template LOCATION=/Users/stefan/code/plutonium/starters/vulcan/gems/plutonium/templates/base.rb
87
86
  ```
87
+
88
+ -->
data/Rakefile CHANGED
@@ -6,3 +6,12 @@ RSpec::Core::RakeTask.new(:spec)
6
6
  require "standard/rake"
7
7
 
8
8
  task default: %i[spec standard]
9
+
10
+ task :assets do
11
+ puts "assets >>>>>>>"
12
+ `npm run js:prod`
13
+ end
14
+
15
+ Rake::Task["release"].enhance [Rake::Task["assets"]] do
16
+ puts "after >>>>>>>>"
17
+ end