plutonium 0.9.0 → 0.9.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -2
- data/Rakefile +10 -0
- data/app/assets/build/plutonium.js +5122 -0
- data/app/assets/javascripts/controllers/index.js +34 -0
- data/app/assets/javascripts/plutonium-app.js +7 -0
- data/app/assets/javascripts/plutonium.js +1 -0
- data/css.manifest +3 -0
- data/esbuild.config.js +44 -0
- data/lib/generators/pu/gen/component/component_generator.rb +13 -4
- data/lib/generators/pu/lib/plutonium_generators/concerns/actions.rb +86 -72
- data/lib/generators/pu/lib/plutonium_generators/model_generator.rb +1 -1
- data/lib/generators/pu/rodauth/install_generator.rb +1 -2
- data/lib/plutonium/core/fields/renderers/factory.rb +0 -1
- data/lib/plutonium/pkg/base.rb +0 -4
- data/lib/plutonium/railtie.rb +10 -2
- data/lib/plutonium/version.rb +1 -1
- data/lib/plutonium.rb +17 -14
- data/package-lock.json +0 -7
- data/package.json +5 -5
- data/postcss.config.js +1 -1
- data/public/plutonium-assets/plutonium-app-36KN5FVJ.js +6 -0
- data/public/plutonium-assets/plutonium-app-36KN5FVJ.js.map +7 -0
- data/public/plutonium-assets/plutonium.50232e35b5495f5ad90d.css +3415 -0
- data/tailwind.config.js +11 -12
- data/templates/base.rb +1 -1
- metadata +19 -22
- data/app/assets/js/controllers/application.js +0 -7
- data/app/assets/js/controllers/index.js +0 -30
- data/app/assets/js/plutonium.js +0 -2
- data/build.js +0 -12
- data/lib/generators/pu/gem/pagy/pagy_generator.rb +0 -25
- data/lib/generators/pu/gem/pagy/templates/config/initializers/pagy.rb +0 -4
- data/lib/generators/pu/gem/rabl/rabl_generator.rb +0 -25
- data/lib/generators/pu/gem/rabl/templates/.keep +0 -0
- data/lib/generators/pu/gem/rabl/templates/config/initializers/rabl.rb +0 -60
- data/lib/generators/pu/gem/simple_form/simple_form_generator.rb +0 -25
- data/lib/generators/pu/gem/simple_form/templates/.keep +0 -0
- data/lib/plutonium/core/fields/renderers/map_renderer.rb +0 -19
- /data/{lib/generators/pu/gem/pagy/templates → app/assets/build}/.keep +0 -0
- /data/app/assets/{js → javascripts}/controllers/resource_dismiss_controller.js +0 -0
- /data/app/assets/{js → javascripts}/controllers/resource_drop_down_controller.js +0 -0
- /data/app/assets/{js → javascripts}/turbo/index.js +0 -0
- /data/app/assets/{js → javascripts}/turbo/turbo_actions.js +0 -0
- /data/app/assets/{js → javascripts}/turbo/turbo_debug.js +0 -0
- /data/app/assets/{js → javascripts}/turbo/turbo_frame_monkey_patch.js +0 -0
- /data/app/assets/{css → stylesheets}/plutonium.css +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 47cf2f715486c7f59710a26ef271a033c8467395d81f173f091ece24658c2e7a
|
4
|
+
data.tar.gz: 8d3484eb6692d9f9c9e5442f3ed0177ff6ee22d5866c93598ac8fd9b7c5f3e40
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 611ad80aba4969b1d27a08ad2bd47f0c3f0044691e58a42da56eac2766ada500400accf3e42fdbed1bfa98c4a6d42e0adfefb3e5e88a68fe6f6d708d9a019ee7
|
7
|
+
data.tar.gz: f4b04d20f2a035c600c7c0414fdea59e5f5d46611dfc7a6c33cb240e5c9d15bed7283ff2e22c5ce9a08ff0b8024c9a4c104fffc2127f8fee0707b5c62a8a729d
|
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
|
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,13 @@ 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 ">>>>>>>"
|
12
|
+
`npm run js:prod`
|
13
|
+
end
|
14
|
+
|
15
|
+
Rake::Task["release"].enhance do
|
16
|
+
puts "%^%@#^&*&^&*&}"
|
17
|
+
Rake::Task["assets"].execute
|
18
|
+
end
|