rails_app_generator 0.1.2 → 0.1.3

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.
Files changed (32) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +8 -0
  3. data/after_templates/rag_tailwind.rb +2 -4
  4. data/after_templates/rag_tailwind_daisyui/index.html.erb +181 -0
  5. data/after_templates/rag_tailwind_daisyui.rb +25 -0
  6. data/after_templates/rag_tailwind_hotwire_form/_contact.html.erb +8 -0
  7. data/after_templates/rag_tailwind_hotwire_form/_count.html.erb +1 -0
  8. data/after_templates/rag_tailwind_hotwire_form/_flash.html.erb +6 -0
  9. data/after_templates/rag_tailwind_hotwire_form/_form.html.erb +16 -0
  10. data/after_templates/rag_tailwind_hotwire_form/_list.html.erb +19 -0
  11. data/after_templates/rag_tailwind_hotwire_form/application.html.erb +24 -0
  12. data/after_templates/rag_tailwind_hotwire_form/application.js +30 -0
  13. data/after_templates/rag_tailwind_hotwire_form/application.tailwind.css +111 -0
  14. data/after_templates/rag_tailwind_hotwire_form/application_helper.rb +15 -0
  15. data/after_templates/rag_tailwind_hotwire_form/contact.rb +5 -0
  16. data/after_templates/rag_tailwind_hotwire_form/contacts_controller.rb +98 -0
  17. data/after_templates/rag_tailwind_hotwire_form/create.turbo_stream.erb +4 -0
  18. data/after_templates/rag_tailwind_hotwire_form/edit.html.erb +12 -0
  19. data/after_templates/rag_tailwind_hotwire_form/index.html.erb +5 -0
  20. data/after_templates/rag_tailwind_hotwire_form/new.html.erb +12 -0
  21. data/after_templates/rag_tailwind_hotwire_form/show.html.erb +16 -0
  22. data/after_templates/rag_tailwind_hotwire_form/update.turbo_stream.erb +2 -0
  23. data/after_templates/rag_tailwind_hotwire_form.rb +54 -0
  24. data/lib/rails_app_generator/app_generator.rb +21 -0
  25. data/lib/rails_app_generator/diff/open_in_editor.rb +1 -1
  26. data/lib/rails_app_generator/diff/processor.rb +7 -1
  27. data/lib/rails_app_generator/version.rb +1 -1
  28. data/package-lock.json +1019 -85
  29. data/package.json +4 -1
  30. data/profiles/rag-tailwind-daisyui.json +10 -0
  31. data/profiles/rag-tailwind-hotwire-form.json +13 -0
  32. metadata +24 -2
data/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rails_app_generator",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "Create new Rails Application with custom opinions",
5
5
  "scripts": {
6
6
  "release": "semantic-release"
@@ -10,5 +10,8 @@
10
10
  "@semantic-release/changelog": "^6.0.1",
11
11
  "@semantic-release/git": "^10.0.1",
12
12
  "semantic-release": "^19.0.3"
13
+ },
14
+ "dependencies": {
15
+ "daisyui": "^2.20.0"
13
16
  }
14
17
  }
@@ -0,0 +1,10 @@
1
+ {
2
+ "args": {
3
+ "app_path": "tailwind_daisyui",
4
+ "destination_root": "/Users/davidcruwys/dev/kgems/rails_app_generator/a/rag"
5
+ },
6
+ "opts": {
7
+ "skip_test": true,
8
+ "template": "/Users/davidcruwys/dev/kgems/rails_app_generator/after_templates/rag_tailwind_daisyui.rb"
9
+ }
10
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "args": {
3
+ "app_path": "tailwind_hotwire_form",
4
+ "destination_root": "/Users/davidcruwys/dev/kgems/rails_app_generator/a/rag"
5
+ },
6
+ "opts": {
7
+ "skip_test": true,
8
+ "template": "/Users/davidcruwys/dev/kgems/rails_app_generator/after_templates/rag_tailwind_hotwire_form.rb",
9
+ "note": "tailwind needed to be installed manually",
10
+ "XXX-css": "tailwind",
11
+ "javascript": "esbuild"
12
+ }
13
+ }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_app_generator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Cruwys
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-07-26 00:00:00.000000000 Z
11
+ date: 2022-07-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bootsnap
@@ -175,11 +175,31 @@ files:
175
175
  - after_templates/rag_tailwind/component-nav.html
176
176
  - after_templates/rag_tailwind/component-section-begin.html
177
177
  - after_templates/rag_tailwind/component-section-end.html
178
+ - after_templates/rag_tailwind_daisyui.rb
179
+ - after_templates/rag_tailwind_daisyui/index.html.erb
178
180
  - after_templates/rag_tailwind_hotwire.rb
179
181
  - after_templates/rag_tailwind_hotwire/home/controller.rb
180
182
  - after_templates/rag_tailwind_hotwire/home/helper.rb
181
183
  - after_templates/rag_tailwind_hotwire/home/increment.html.erb
182
184
  - after_templates/rag_tailwind_hotwire/home/index.html
185
+ - after_templates/rag_tailwind_hotwire_form.rb
186
+ - after_templates/rag_tailwind_hotwire_form/_contact.html.erb
187
+ - after_templates/rag_tailwind_hotwire_form/_count.html.erb
188
+ - after_templates/rag_tailwind_hotwire_form/_flash.html.erb
189
+ - after_templates/rag_tailwind_hotwire_form/_form.html.erb
190
+ - after_templates/rag_tailwind_hotwire_form/_list.html.erb
191
+ - after_templates/rag_tailwind_hotwire_form/application.html.erb
192
+ - after_templates/rag_tailwind_hotwire_form/application.js
193
+ - after_templates/rag_tailwind_hotwire_form/application.tailwind.css
194
+ - after_templates/rag_tailwind_hotwire_form/application_helper.rb
195
+ - after_templates/rag_tailwind_hotwire_form/contact.rb
196
+ - after_templates/rag_tailwind_hotwire_form/contacts_controller.rb
197
+ - after_templates/rag_tailwind_hotwire_form/create.turbo_stream.erb
198
+ - after_templates/rag_tailwind_hotwire_form/edit.html.erb
199
+ - after_templates/rag_tailwind_hotwire_form/index.html.erb
200
+ - after_templates/rag_tailwind_hotwire_form/new.html.erb
201
+ - after_templates/rag_tailwind_hotwire_form/show.html.erb
202
+ - after_templates/rag_tailwind_hotwire_form/update.turbo_stream.erb
183
203
  - bin/console
184
204
  - bin/setup
185
205
  - docs/project-plan.md
@@ -254,6 +274,8 @@ files:
254
274
  - profiles/rag-bootstrap.json
255
275
  - profiles/rag-import-map.json
256
276
  - profiles/rag-simple.json
277
+ - profiles/rag-tailwind-daisyui.json
278
+ - profiles/rag-tailwind-hotwire-form.json
257
279
  - profiles/rag-tailwind-hotwire.json
258
280
  - profiles/rag-tailwind.json
259
281
  - sig/rails_app_generator.rbs