rails-stimulus-generator 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/generators/rails/USAGE +9 -0
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7edfbd5bc8a92c04ff06e8fe95529250bf408a6f3e2cd7c0d1150f9d8277e1f8
|
4
|
+
data.tar.gz: 3ccc1bb4e015bff71bbfd8e2813567217efe364e3475e5de74dbabad15e4142f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d2f5fdaa11af043fac1d33f1b6477d959bb96a891b036f0f32ab08d853183581faeb987c93b3c502add406a338efb99b72a49bfedfbf7f79e32819e0a5b39750
|
7
|
+
data.tar.gz: e9c2f900d706320e32712dbfbe733d91a21f424fa3f07154ae3be774096e1459f62bba180ed40ea1d28414228edbd4174352c4dd47f53a2f7adc822af1fc299e
|
@@ -0,0 +1,9 @@
|
|
1
|
+
Description:
|
2
|
+
Stubs out a new Stimulus controller.
|
3
|
+
|
4
|
+
This generator accepts one argument, the name of the controller, CamelCased or under_scored.
|
5
|
+
|
6
|
+
Example:
|
7
|
+
`rails generate stimulus Thing`
|
8
|
+
|
9
|
+
This will create a new Stimulus controller at `app/javascript/controllers/thing_controller.js`
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails-stimulus-generator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Colby
|
@@ -16,6 +16,7 @@ executables: []
|
|
16
16
|
extensions: []
|
17
17
|
extra_rdoc_files: []
|
18
18
|
files:
|
19
|
+
- lib/generators/rails/USAGE
|
19
20
|
- lib/generators/rails/stimulus_generator.rb
|
20
21
|
- lib/generators/rails/templates/controller.js
|
21
22
|
homepage: https://github.com/DavidColby/rails-stimulus-generator
|