rails_app_generator 0.1.28 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.builders/generators/project-plan.rb +6 -3
- data/.rubocop.yml +2 -1
- data/CHANGELOG.md +29 -0
- data/after_templates/addons/acts_as_list/_.rb +0 -14
- data/after_templates/addons/mini_magick/_.rb +1 -1
- data/after_templates/application/printspeak/_.rb +55 -0
- data/after_templates/{rag_tailwind/component-section-begin.html → application/printspeak/app/assets/images/.keep} +0 -0
- data/after_templates/application/printspeak/app/assets/images/about/1.jpg +0 -0
- data/after_templates/application/printspeak/app/assets/images/about/2.jpg +0 -0
- data/after_templates/application/printspeak/app/assets/images/about/3.jpg +0 -0
- data/after_templates/application/printspeak/app/assets/images/about/4.jpg +0 -0
- data/after_templates/application/printspeak/app/assets/images/close-icon.svg +1 -0
- data/after_templates/application/printspeak/app/assets/images/header-bg.jpg +0 -0
- data/after_templates/application/printspeak/app/assets/images/logos/facebook.svg +34 -0
- data/after_templates/application/printspeak/app/assets/images/logos/google.svg +35 -0
- data/after_templates/application/printspeak/app/assets/images/logos/ibm.svg +24 -0
- data/after_templates/application/printspeak/app/assets/images/logos/microsoft.svg +42 -0
- data/after_templates/application/printspeak/app/assets/images/map-image.png +0 -0
- data/after_templates/application/printspeak/app/assets/images/navbar-logo.svg +1 -0
- data/after_templates/application/printspeak/app/assets/images/portfolio/1.jpg +0 -0
- data/after_templates/application/printspeak/app/assets/images/portfolio/2.jpg +0 -0
- data/after_templates/application/printspeak/app/assets/images/portfolio/3.jpg +0 -0
- data/after_templates/application/printspeak/app/assets/images/portfolio/4.jpg +0 -0
- data/after_templates/application/printspeak/app/assets/images/portfolio/5.jpg +0 -0
- data/after_templates/application/printspeak/app/assets/images/portfolio/6.jpg +0 -0
- data/after_templates/application/printspeak/app/assets/images/portfolio/alphagraphics.jpeg +0 -0
- data/after_templates/application/printspeak/app/assets/images/portfolio/brochure-transformed.jpeg +0 -0
- data/after_templates/application/printspeak/app/assets/images/portfolio/brochure.jpeg +0 -0
- data/after_templates/application/printspeak/app/assets/images/portfolio/kwikkopy.png +0 -0
- data/after_templates/application/printspeak/app/assets/images/portfolio/kwikkopy2.png +0 -0
- data/after_templates/application/printspeak/app/assets/images/printspeak-logo.svg +19 -0
- data/after_templates/application/printspeak/app/assets/images/team/1.jpg +0 -0
- data/after_templates/application/printspeak/app/assets/images/team/2.jpg +0 -0
- data/after_templates/application/printspeak/app/assets/images/team/3.jpg +0 -0
- data/after_templates/application/printspeak/app/assets/stylesheets/application.bootstrap.scss +3 -0
- data/after_templates/application/printspeak/app/assets/stylesheets/home/_global.scss +52 -0
- data/after_templates/application/printspeak/app/assets/stylesheets/home/_variables.scss +8 -0
- data/after_templates/application/printspeak/app/assets/stylesheets/home/components/_buttons.scss +24 -0
- data/after_templates/application/printspeak/app/assets/stylesheets/home/components/_navbar.scss +92 -0
- data/after_templates/application/printspeak/app/assets/stylesheets/home/sections/_contact.scss +71 -0
- data/after_templates/application/printspeak/app/assets/stylesheets/home/sections/_footer.scss +9 -0
- data/after_templates/application/printspeak/app/assets/stylesheets/home/sections/_masthead.scss +52 -0
- data/after_templates/application/printspeak/app/assets/stylesheets/home/sections/_portfolio.scss +108 -0
- data/after_templates/application/printspeak/app/assets/stylesheets/home/sections/_team.scss +24 -0
- data/after_templates/application/printspeak/app/assets/stylesheets/home/sections/_timeline.scss +214 -0
- data/after_templates/application/printspeak/app/assets/stylesheets/home/styles.scss +24 -0
- data/after_templates/application/printspeak/app/assets/stylesheets/home/variables/_colors.scss +15 -0
- data/after_templates/application/printspeak/app/assets/stylesheets/home/variables/_typography.scss +54 -0
- data/after_templates/application/printspeak/app/controllers/home_controller.rb +7 -0
- data/after_templates/application/printspeak/app/views/home/index.html.erb +321 -0
- data/after_templates/application/printspeak/app/views/layouts/_alerts.html.erb +2 -0
- data/after_templates/application/printspeak/app/views/layouts/_footer.html.erb +16 -0
- data/after_templates/application/printspeak/app/views/layouts/_navbar.html.erb +14 -0
- data/after_templates/application/printspeak/app/views/layouts/application.html.erb +29 -0
- data/after_templates/{rag_printspeak → application/printspeak/app/views}/page/_footer.html.erb +0 -0
- data/after_templates/{rag_printspeak → application/printspeak/app/views}/page/architecture.html.erb +0 -0
- data/after_templates/{rag_printspeak → application/printspeak/app/views}/page/blog.html.erb +0 -0
- data/after_templates/{rag_printspeak → application/printspeak/app/views}/page/faq.html.erb +0 -0
- data/after_templates/application/printspeak/app/views/page/page_controller.rb +27 -0
- data/after_templates/{rag_printspeak → application/printspeak/app/views}/page/readme.html.erb +0 -0
- data/after_templates/application/printspeak/db/seeds.rb +16 -0
- data/after_templates/printspeak_bak/_.rb +36 -0
- data/after_templates/{rag_printspeak → printspeak_bak}/application_controller.rb +0 -0
- data/after_templates/{rag_printspeak → printspeak_bak}/faq.html.erb +0 -0
- data/after_templates/{rag_printspeak → printspeak_bak}/layouts/_footer.html.erb +0 -0
- data/after_templates/{rag_printspeak → printspeak_bak}/layouts/_head.html.erb +0 -0
- data/after_templates/{rag_printspeak → printspeak_bak}/layouts/_navbar.html.erb +0 -0
- data/after_templates/{rag_printspeak → printspeak_bak}/layouts/application.html.erb +0 -0
- data/after_templates/printspeak_bak/page/_footer.html.erb +184 -0
- data/after_templates/printspeak_bak/page/architecture.html.erb +33 -0
- data/after_templates/printspeak_bak/page/blog.html.erb +44 -0
- data/after_templates/printspeak_bak/page/faq.html.erb +2 -0
- data/after_templates/{rag_printspeak → printspeak_bak}/page/home.html.erb +0 -0
- data/after_templates/{rag_printspeak → printspeak_bak}/page/page_controller.rb +0 -0
- data/after_templates/printspeak_bak/page/readme.html.erb +49 -0
- data/after_templates/{rag_bootstrap.rb → rag/bootstrap/_.rb} +1 -1
- data/after_templates/{rag_bootstrap → rag/bootstrap}/application-yield.html.erb +0 -0
- data/after_templates/{rag_bootstrap → rag/bootstrap}/application.html.erb +0 -0
- data/after_templates/{rag_bootstrap → rag/bootstrap}/component-cards-fancy.css +0 -0
- data/after_templates/{rag_bootstrap → rag/bootstrap}/component-cards-fancy.html +0 -0
- data/after_templates/{rag_bootstrap → rag/bootstrap}/component-cards-staff.css +0 -0
- data/after_templates/{rag_bootstrap → rag/bootstrap}/component-cards-staff.html +0 -0
- data/after_templates/{rag_bootstrap → rag/bootstrap}/component-cards-styled.html +0 -0
- data/after_templates/{rag_bootstrap → rag/bootstrap}/component-footer.html +0 -0
- data/after_templates/{rag_bootstrap → rag/bootstrap}/component-hero.html +0 -0
- data/after_templates/{rag_bootstrap → rag/bootstrap}/component-modal.html +0 -0
- data/after_templates/{rag_bootstrap → rag/bootstrap}/component-nav.html +0 -0
- data/after_templates/{rag_bootstrap → rag/bootstrap}/custom-bootstrap-import.scss +0 -0
- data/after_templates/{rag_bootstrap → rag/bootstrap}/custom-using-css.css +0 -0
- data/after_templates/{rag_bootstrap → rag/bootstrap}/custom-using-scss.scss +0 -0
- data/after_templates/{rag_bootstrap → rag/bootstrap}/manifest.js +0 -0
- data/after_templates/{rag_devise.rb → rag/devise/_.rb} +1 -1
- data/after_templates/{rag_devise → rag/devise}/application.html.erb +0 -0
- data/after_templates/{rag_devise → rag/devise}/application_controller.rb +0 -0
- data/after_templates/{rag_devise → rag/devise}/config/initializers/devise_turbo.rb +0 -0
- data/after_templates/{rag_devise → rag/devise}/layouts/_alerts.html.erb +0 -0
- data/after_templates/{rag_devise → rag/devise}/layouts/_footer.html.erb +0 -0
- data/after_templates/{rag_devise → rag/devise}/layouts/_navbar.html.erb +0 -0
- data/after_templates/{rag_devise → rag/devise}/layouts/application.html.erb +0 -0
- data/after_templates/{rag_devise → rag/devise}/post/_post.html.erb +0 -0
- data/after_templates/{rag_devise → rag/devise}/post/post.rb +0 -0
- data/after_templates/{rag_devise → rag/devise}/post/posts_controller.rb +0 -0
- data/after_templates/{rag_devise → rag/devise}/seed_data.rb +0 -0
- data/after_templates/{rag_devise → rag/devise}/turbo_controller.rb +0 -0
- data/after_templates/{rag_devise → rag/devise}/user.rb +0 -0
- data/after_templates/{rag_import_map.rb → rag/import_map/_.rb} +1 -1
- data/after_templates/{rag_import_map → rag/import_map}/component-sortable.html +0 -0
- data/after_templates/{rag_import_map → rag/import_map}/home.css +0 -0
- data/after_templates/{rag_import_map → rag/import_map}/position_controller.js +0 -0
- data/after_templates/{rag_simple.rb → rag/simple/_.rb} +1 -1
- data/after_templates/{rag_tailwind.rb → rag/tailwind/_.rb} +1 -1
- data/after_templates/{rag_tailwind → rag/tailwind}/component-cta.html +0 -0
- data/after_templates/{rag_tailwind → rag/tailwind}/component-faq.html +0 -0
- data/after_templates/{rag_tailwind → rag/tailwind}/component-footer.html +0 -0
- data/after_templates/{rag_tailwind → rag/tailwind}/component-hero.html +0 -0
- data/after_templates/{rag_tailwind → rag/tailwind}/component-nav.html +0 -0
- data/after_templates/{rag_tailwind/component-section-end.html → rag/tailwind/component-section-begin.html} +0 -0
- data/after_templates/{rag_tailwind_emulating_bootstrap/home/index.html.erb → rag/tailwind/component-section-end.html} +0 -0
- data/after_templates/{rag_tailwind_daisyui.rb → rag/tailwind_daisyui/_.rb} +1 -1
- data/after_templates/{rag_tailwind_daisyui → rag/tailwind_daisyui}/index.html.erb +0 -0
- data/after_templates/{rag_tailwind_emulating_bootstrap → rag/tailwind_emulating_bootstrap}/Procfile.dev +0 -0
- data/after_templates/{rag_tailwind_emulating_bootstrap.rb → rag/tailwind_emulating_bootstrap/_.rb} +1 -1
- data/after_templates/{rag_tailwind_emulating_bootstrap → rag/tailwind_emulating_bootstrap}/application.html.erb +0 -0
- data/after_templates/{rag_tailwind_emulating_bootstrap → rag/tailwind_emulating_bootstrap}/application.tailwind.css +0 -0
- data/after_templates/{rag_tailwind_emulating_bootstrap → rag/tailwind_emulating_bootstrap}/application_controller.rb +0 -0
- data/after_templates/{rag_tailwind_emulating_bootstrap → rag/tailwind_emulating_bootstrap}/home/_example.html.erb +0 -0
- data/after_templates/{rag_tailwind_emulating_bootstrap → rag/tailwind_emulating_bootstrap}/home/bootstrap.html.erb +0 -0
- data/after_templates/{rag_tailwind_emulating_bootstrap → rag/tailwind_emulating_bootstrap}/home/home_controller.rb +0 -0
- data/after_templates/rag/tailwind_emulating_bootstrap/home/index.html.erb +0 -0
- data/after_templates/{rag_tailwind_emulating_bootstrap → rag/tailwind_emulating_bootstrap}/home/tailwind.html.erb +0 -0
- data/after_templates/{rag_tailwind_hotwire.rb → rag/tailwind_hotwire/_.rb} +1 -1
- data/after_templates/{rag_tailwind_hotwire → rag/tailwind_hotwire}/home/controller.rb +0 -0
- data/after_templates/{rag_tailwind_hotwire → rag/tailwind_hotwire}/home/helper.rb +0 -0
- data/after_templates/{rag_tailwind_hotwire → rag/tailwind_hotwire}/home/increment.html.erb +0 -0
- data/after_templates/{rag_tailwind_hotwire → rag/tailwind_hotwire}/home/index.html +0 -0
- data/after_templates/{rag_tailwind_hotwire_flash.rb → rag/tailwind_hotwire_flash/_.rb} +1 -1
- data/after_templates/{rag_tailwind_hotwire_form.rb → rag/tailwind_hotwire_form/_.rb} +1 -1
- data/after_templates/{rag_tailwind_hotwire_form → rag/tailwind_hotwire_form}/_contact.html.erb +0 -0
- data/after_templates/{rag_tailwind_hotwire_form → rag/tailwind_hotwire_form}/_count.html.erb +0 -0
- data/after_templates/{rag_tailwind_hotwire_form → rag/tailwind_hotwire_form}/_flash.html.erb +0 -0
- data/after_templates/{rag_tailwind_hotwire_form → rag/tailwind_hotwire_form}/_form.html.erb +0 -0
- data/after_templates/{rag_tailwind_hotwire_form → rag/tailwind_hotwire_form}/_list.html.erb +0 -0
- data/after_templates/{rag_tailwind_hotwire_form → rag/tailwind_hotwire_form}/application.html.erb +0 -0
- data/after_templates/{rag_tailwind_hotwire_form → rag/tailwind_hotwire_form}/application.js +0 -0
- data/after_templates/{rag_tailwind_hotwire_form → rag/tailwind_hotwire_form}/application.tailwind.css +0 -0
- data/after_templates/{rag_tailwind_hotwire_form → rag/tailwind_hotwire_form}/application_helper.rb +0 -0
- data/after_templates/{rag_tailwind_hotwire_form → rag/tailwind_hotwire_form}/contact.rb +0 -0
- data/after_templates/{rag_tailwind_hotwire_form → rag/tailwind_hotwire_form}/contacts_controller.rb +0 -0
- data/after_templates/{rag_tailwind_hotwire_form → rag/tailwind_hotwire_form}/create.turbo_stream.erb +0 -0
- data/after_templates/{rag_tailwind_hotwire_form → rag/tailwind_hotwire_form}/edit.html.erb +0 -0
- data/after_templates/{rag_tailwind_hotwire_form → rag/tailwind_hotwire_form}/index.html.erb +0 -0
- data/after_templates/{rag_tailwind_hotwire_form → rag/tailwind_hotwire_form}/new.html.erb +0 -0
- data/after_templates/{rag_tailwind_hotwire_form → rag/tailwind_hotwire_form}/show.html.erb +0 -0
- data/after_templates/{rag_tailwind_hotwire_form → rag/tailwind_hotwire_form}/update.turbo_stream.erb +0 -0
- data/after_templates/{rag_tailwind_hotwire_form_search.rb → rag/tailwind_hotwire_form_search/_.rb} +1 -3
- data/after_templates/{rag_tailwind_hotwire_form_search → rag/tailwind_hotwire_form_search}/_contact.html.erb +0 -0
- data/after_templates/{rag_tailwind_hotwire_form_search → rag/tailwind_hotwire_form_search}/_count.html.erb +0 -0
- data/after_templates/{rag_tailwind_hotwire_form_search → rag/tailwind_hotwire_form_search}/_flash.html.erb +0 -0
- data/after_templates/{rag_tailwind_hotwire_form_search → rag/tailwind_hotwire_form_search}/_form.html.erb +0 -0
- data/after_templates/{rag_tailwind_hotwire_form_search → rag/tailwind_hotwire_form_search}/_list.html.erb +0 -0
- data/after_templates/{rag_tailwind_hotwire_form_search → rag/tailwind_hotwire_form_search}/_theme_changer.html.erb +0 -0
- data/after_templates/{rag_tailwind_hotwire_form_search → rag/tailwind_hotwire_form_search}/application.html.erb +0 -0
- data/after_templates/{rag_tailwind_hotwire_form_search → rag/tailwind_hotwire_form_search}/application.js +0 -0
- data/after_templates/{rag_tailwind_hotwire_form_search → rag/tailwind_hotwire_form_search}/application.tailwind.css +0 -0
- data/after_templates/{rag_tailwind_hotwire_form_search → rag/tailwind_hotwire_form_search}/application_helper.rb +0 -0
- data/after_templates/{rag_tailwind_hotwire_form_search → rag/tailwind_hotwire_form_search}/contact.rb +0 -0
- data/after_templates/{rag_tailwind_hotwire_form_search → rag/tailwind_hotwire_form_search}/contacts_controller.rb +0 -0
- data/after_templates/{rag_tailwind_hotwire_form_search → rag/tailwind_hotwire_form_search}/create.turbo_stream.erb +0 -0
- data/after_templates/{rag_tailwind_hotwire_form_search → rag/tailwind_hotwire_form_search}/edit.html.erb +0 -0
- data/after_templates/{rag_tailwind_hotwire_form_search → rag/tailwind_hotwire_form_search}/index.html.erb +0 -0
- data/after_templates/{rag_tailwind_hotwire_form_search → rag/tailwind_hotwire_form_search}/new.html.erb +0 -0
- data/after_templates/{rag_tailwind_hotwire_form_search → rag/tailwind_hotwire_form_search}/search_controller.js +0 -0
- data/after_templates/{rag_tailwind_hotwire_form_search → rag/tailwind_hotwire_form_search}/show.html.erb +0 -0
- data/after_templates/{rag_tailwind_hotwire_form_search → rag/tailwind_hotwire_form_search}/theme_changer_controller.js +0 -0
- data/after_templates/{rag_tailwind_hotwire_form_search → rag/tailwind_hotwire_form_search}/update.turbo_stream.erb +0 -0
- data/docs/last_run/app_generator_class.json +430 -0
- data/docs/last_run/app_generator_data.json +49 -0
- data/docs/last_run/rails_options_class.json +430 -0
- data/docs/last_run/rails_options_data.json +57 -0
- data/docs/project-plan/project.drawio +49 -46
- data/docs/project-plan/project_todo.svg +1 -1
- data/exe/rag +2 -0
- data/lib/rails_app_generator/addons/annotate.rb +0 -3
- data/lib/rails_app_generator/addons/twilio_ruby.rb +13 -0
- data/lib/rails_app_generator/app_generator.rb +37 -162
- data/lib/rails_app_generator/cli/profile.rb +3 -1
- data/lib/rails_app_generator/configuration/rag_configuration.rb +18 -0
- data/lib/rails_app_generator/configuration/rag_configuration_extension.rb +14 -0
- data/lib/rails_app_generator/options/build_option.rb +14 -9
- data/lib/rails_app_generator/options/options_builder.rb +57 -9
- data/lib/rails_app_generator/options/rails_options.rb +6 -68
- data/lib/rails_app_generator/rag_initializer.rb +252 -0
- data/lib/rails_app_generator/util.rb +26 -0
- data/lib/rails_app_generator/version.rb +1 -1
- data/lib/rails_app_generator.rb +4 -1
- data/package-lock.json +2 -2
- data/package.json +1 -1
- data/profiles/addons/mini_magick.json +2 -1
- data/profiles/application/printspeak.json +12 -0
- data/profiles/default/printspeak.json +12 -0
- data/profiles/{rag-printspeak.json → printspeak.json} +3 -2
- data/profiles/{rag-bootstrap.json → rag/bootstrap.json} +1 -1
- data/profiles/{rag-devise.json → rag/devise.json} +1 -1
- data/profiles/{rag-import-map.json → rag/import-map.json} +1 -1
- data/profiles/{rag-simple.json → rag/simple.json} +3 -2
- data/profiles/{rag-tailwind-daisyui.json → rag/tailwind-daisyui.json} +1 -1
- data/profiles/{rag-tailwind-emulating-bootstrap.json → rag/tailwind-emulating-bootstrap.json} +2 -3
- data/profiles/{rag-tailwind-hotwire-flash.json → rag/tailwind-hotwire-flash.json} +1 -1
- data/profiles/{rag-tailwind-hotwire-form-search.json → rag/tailwind-hotwire-form-search.json} +1 -1
- data/profiles/{rag-tailwind-hotwire-form.json → rag/tailwind-hotwire-form.json} +1 -1
- data/profiles/{rag-tailwind-hotwire.json → rag/tailwind-hotwire.json} +1 -1
- data/profiles/{rag-tailwind.json → rag/tailwind.json} +3 -2
- data/tasks/profile.thor +1 -1
- data/templates/thor_task/addon/addon.tt +2 -6
- data/templates/thor_task/profile/after_template.rb +1 -0
- metadata +208 -130
- data/after_templates/rag_printspeak.rb +0 -36
- data/profiles/rag-add-some-pages.json +0 -11
- data/profiles/rag-sample.json +0 -13
File without changes
|
File without changes
|
data/after_templates/{rag_tailwind_hotwire_form → rag/tailwind_hotwire_form}/update.turbo_stream.erb
RENAMED
File without changes
|
data/after_templates/{rag_tailwind_hotwire_form_search.rb → rag/tailwind_hotwire_form_search/_.rb}
RENAMED
@@ -15,9 +15,7 @@ require 'pry'
|
|
15
15
|
# This builds on top of: Ruby on Rails Forms With Hotwire
|
16
16
|
# https://www.youtube.com/watch?v=-n7IbUFKjoM
|
17
17
|
|
18
|
-
|
19
|
-
|
20
|
-
self.local_template_path = File.join(File.dirname(__FILE__), File.basename(__FILE__, '.*'))
|
18
|
+
self.local_template_path = File.dirname(__FILE__)
|
21
19
|
|
22
20
|
puts '----------------------------------------------------------------------'
|
23
21
|
puts "Using template: #{self.local_template_path}"
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -0,0 +1,430 @@
|
|
1
|
+
{
|
2
|
+
"class_option_keys": [
|
3
|
+
"skip_namespace",
|
4
|
+
"skip_collision_check",
|
5
|
+
"force",
|
6
|
+
"pretend",
|
7
|
+
"quiet",
|
8
|
+
"skip",
|
9
|
+
"ruby",
|
10
|
+
"template",
|
11
|
+
"database",
|
12
|
+
"skip_git",
|
13
|
+
"skip_keeps",
|
14
|
+
"skip_action_mailer",
|
15
|
+
"skip_action_mailbox",
|
16
|
+
"skip_action_text",
|
17
|
+
"skip_active_record",
|
18
|
+
"skip_active_job",
|
19
|
+
"skip_active_storage",
|
20
|
+
"skip_action_cable",
|
21
|
+
"skip_asset_pipeline",
|
22
|
+
"asset_pipeline",
|
23
|
+
"skip_javascript",
|
24
|
+
"skip_hotwire",
|
25
|
+
"skip_jbuilder",
|
26
|
+
"skip_test",
|
27
|
+
"skip_system_test",
|
28
|
+
"skip_bootsnap",
|
29
|
+
"dev",
|
30
|
+
"edge",
|
31
|
+
"main",
|
32
|
+
"rc",
|
33
|
+
"no_rc",
|
34
|
+
"help",
|
35
|
+
"version",
|
36
|
+
"api",
|
37
|
+
"minimal",
|
38
|
+
"javascript",
|
39
|
+
"css",
|
40
|
+
"skip_bundle",
|
41
|
+
"note",
|
42
|
+
"test",
|
43
|
+
"add_devise",
|
44
|
+
"add_annotate",
|
45
|
+
"add_acts_as_list",
|
46
|
+
"add_browser",
|
47
|
+
"add_chartkick",
|
48
|
+
"add_faker",
|
49
|
+
"add_groupdate",
|
50
|
+
"add_hexapdf",
|
51
|
+
"add_httparty",
|
52
|
+
"add_honeybadger",
|
53
|
+
"add_mini_magick",
|
54
|
+
"add_rails_html_sanitizer",
|
55
|
+
"add_twilio_ruby"
|
56
|
+
],
|
57
|
+
"class_options": [
|
58
|
+
{
|
59
|
+
"name": "skip_namespace",
|
60
|
+
"description": "Skip namespace (affects only isolated engines)",
|
61
|
+
"type": "boolean",
|
62
|
+
"default": false,
|
63
|
+
"required": false
|
64
|
+
},
|
65
|
+
{
|
66
|
+
"name": "skip_collision_check",
|
67
|
+
"description": "Skip collision check",
|
68
|
+
"type": "boolean",
|
69
|
+
"default": false,
|
70
|
+
"required": false
|
71
|
+
},
|
72
|
+
{
|
73
|
+
"name": "force",
|
74
|
+
"description": "Overwrite files that already exist",
|
75
|
+
"type": "boolean",
|
76
|
+
"default": null,
|
77
|
+
"required": false
|
78
|
+
},
|
79
|
+
{
|
80
|
+
"name": "pretend",
|
81
|
+
"description": "Run but do not make any changes",
|
82
|
+
"type": "boolean",
|
83
|
+
"default": null,
|
84
|
+
"required": false
|
85
|
+
},
|
86
|
+
{
|
87
|
+
"name": "quiet",
|
88
|
+
"description": "Suppress status output",
|
89
|
+
"type": "boolean",
|
90
|
+
"default": null,
|
91
|
+
"required": false
|
92
|
+
},
|
93
|
+
{
|
94
|
+
"name": "skip",
|
95
|
+
"description": "Skip files that already exist",
|
96
|
+
"type": "boolean",
|
97
|
+
"default": null,
|
98
|
+
"required": false
|
99
|
+
},
|
100
|
+
{
|
101
|
+
"name": "ruby",
|
102
|
+
"description": "Path to the Ruby binary of your choice",
|
103
|
+
"type": "string",
|
104
|
+
"default": "/Users/davidcruwys/.asdf/installs/ruby/2.7.6/bin/ruby",
|
105
|
+
"required": false
|
106
|
+
},
|
107
|
+
{
|
108
|
+
"name": "template",
|
109
|
+
"description": "Path to some application template (can be a filesystem path or URL)",
|
110
|
+
"type": "string",
|
111
|
+
"default": null,
|
112
|
+
"required": false
|
113
|
+
},
|
114
|
+
{
|
115
|
+
"name": "database",
|
116
|
+
"description": "Preconfigure for selected database (options: mysql/postgresql/sqlite3/oracle/sqlserver/jdbcmysql/jdbcsqlite3/jdbcpostgresql/jdbc)",
|
117
|
+
"type": "string",
|
118
|
+
"default": "sqlite3",
|
119
|
+
"required": false
|
120
|
+
},
|
121
|
+
{
|
122
|
+
"name": "skip_git",
|
123
|
+
"description": "Skip .gitignore file",
|
124
|
+
"type": "boolean",
|
125
|
+
"default": false,
|
126
|
+
"required": false
|
127
|
+
},
|
128
|
+
{
|
129
|
+
"name": "skip_keeps",
|
130
|
+
"description": "Skip source control .keep files",
|
131
|
+
"type": "boolean",
|
132
|
+
"default": false,
|
133
|
+
"required": false
|
134
|
+
},
|
135
|
+
{
|
136
|
+
"name": "skip_action_mailer",
|
137
|
+
"description": "Skip Action Mailer files",
|
138
|
+
"type": "boolean",
|
139
|
+
"default": false,
|
140
|
+
"required": false
|
141
|
+
},
|
142
|
+
{
|
143
|
+
"name": "skip_action_mailbox",
|
144
|
+
"description": "Skip Action Mailbox gem",
|
145
|
+
"type": "boolean",
|
146
|
+
"default": false,
|
147
|
+
"required": false
|
148
|
+
},
|
149
|
+
{
|
150
|
+
"name": "skip_action_text",
|
151
|
+
"description": "Skip Action Text gem",
|
152
|
+
"type": "boolean",
|
153
|
+
"default": false,
|
154
|
+
"required": false
|
155
|
+
},
|
156
|
+
{
|
157
|
+
"name": "skip_active_record",
|
158
|
+
"description": "Skip Active Record files",
|
159
|
+
"type": "boolean",
|
160
|
+
"default": false,
|
161
|
+
"required": false
|
162
|
+
},
|
163
|
+
{
|
164
|
+
"name": "skip_active_job",
|
165
|
+
"description": "Skip Active Job",
|
166
|
+
"type": "boolean",
|
167
|
+
"default": false,
|
168
|
+
"required": false
|
169
|
+
},
|
170
|
+
{
|
171
|
+
"name": "skip_active_storage",
|
172
|
+
"description": "Skip Active Storage files",
|
173
|
+
"type": "boolean",
|
174
|
+
"default": false,
|
175
|
+
"required": false
|
176
|
+
},
|
177
|
+
{
|
178
|
+
"name": "skip_action_cable",
|
179
|
+
"description": "Skip Action Cable files",
|
180
|
+
"type": "boolean",
|
181
|
+
"default": false,
|
182
|
+
"required": false
|
183
|
+
},
|
184
|
+
{
|
185
|
+
"name": "skip_asset_pipeline",
|
186
|
+
"description": "Indicates when to generate skip asset pipeline",
|
187
|
+
"type": "boolean",
|
188
|
+
"default": false,
|
189
|
+
"required": false
|
190
|
+
},
|
191
|
+
{
|
192
|
+
"name": "asset_pipeline",
|
193
|
+
"description": "Choose your asset pipeline [options: sprockets (default), propshaft]",
|
194
|
+
"type": "string",
|
195
|
+
"default": "sprockets",
|
196
|
+
"required": false
|
197
|
+
},
|
198
|
+
{
|
199
|
+
"name": "skip_javascript",
|
200
|
+
"description": "Skip JavaScript files",
|
201
|
+
"type": "boolean",
|
202
|
+
"default": false,
|
203
|
+
"required": false
|
204
|
+
},
|
205
|
+
{
|
206
|
+
"name": "skip_hotwire",
|
207
|
+
"description": "Skip Hotwire integration",
|
208
|
+
"type": "boolean",
|
209
|
+
"default": false,
|
210
|
+
"required": false
|
211
|
+
},
|
212
|
+
{
|
213
|
+
"name": "skip_jbuilder",
|
214
|
+
"description": "Skip jbuilder gem",
|
215
|
+
"type": "boolean",
|
216
|
+
"default": false,
|
217
|
+
"required": false
|
218
|
+
},
|
219
|
+
{
|
220
|
+
"name": "skip_test",
|
221
|
+
"description": "Skip test files",
|
222
|
+
"type": "boolean",
|
223
|
+
"default": false,
|
224
|
+
"required": false
|
225
|
+
},
|
226
|
+
{
|
227
|
+
"name": "skip_system_test",
|
228
|
+
"description": "Skip system test files",
|
229
|
+
"type": "boolean",
|
230
|
+
"default": false,
|
231
|
+
"required": false
|
232
|
+
},
|
233
|
+
{
|
234
|
+
"name": "skip_bootsnap",
|
235
|
+
"description": "Skip bootsnap gem",
|
236
|
+
"type": "boolean",
|
237
|
+
"default": false,
|
238
|
+
"required": false
|
239
|
+
},
|
240
|
+
{
|
241
|
+
"name": "dev",
|
242
|
+
"description": "Set up the application with Gemfile pointing to your Rails checkout",
|
243
|
+
"type": "boolean",
|
244
|
+
"default": false,
|
245
|
+
"required": false
|
246
|
+
},
|
247
|
+
{
|
248
|
+
"name": "edge",
|
249
|
+
"description": "Set up the application with Gemfile pointing to Rails repository",
|
250
|
+
"type": "boolean",
|
251
|
+
"default": false,
|
252
|
+
"required": false
|
253
|
+
},
|
254
|
+
{
|
255
|
+
"name": "main",
|
256
|
+
"description": "Set up the application with Gemfile pointing to Rails repository main branch",
|
257
|
+
"type": "boolean",
|
258
|
+
"default": false,
|
259
|
+
"required": false
|
260
|
+
},
|
261
|
+
{
|
262
|
+
"name": "rc",
|
263
|
+
"description": "Path to file containing extra configuration options for rails command",
|
264
|
+
"type": "string",
|
265
|
+
"default": null,
|
266
|
+
"required": false
|
267
|
+
},
|
268
|
+
{
|
269
|
+
"name": "no_rc",
|
270
|
+
"description": "Skip loading of extra configuration options from .railsrc file",
|
271
|
+
"type": "boolean",
|
272
|
+
"default": false,
|
273
|
+
"required": false
|
274
|
+
},
|
275
|
+
{
|
276
|
+
"name": "help",
|
277
|
+
"description": "Show this help message and quit",
|
278
|
+
"type": "boolean",
|
279
|
+
"default": null,
|
280
|
+
"required": false
|
281
|
+
},
|
282
|
+
{
|
283
|
+
"name": "version",
|
284
|
+
"description": "Show Rails version number and quit",
|
285
|
+
"type": "boolean",
|
286
|
+
"default": null,
|
287
|
+
"required": false
|
288
|
+
},
|
289
|
+
{
|
290
|
+
"name": "api",
|
291
|
+
"description": "Preconfigure smaller stack for API only apps",
|
292
|
+
"type": "boolean",
|
293
|
+
"default": false,
|
294
|
+
"required": false
|
295
|
+
},
|
296
|
+
{
|
297
|
+
"name": "minimal",
|
298
|
+
"description": "Preconfigure a minimal rails app",
|
299
|
+
"type": "boolean",
|
300
|
+
"default": null,
|
301
|
+
"required": false
|
302
|
+
},
|
303
|
+
{
|
304
|
+
"name": "javascript",
|
305
|
+
"description": "Choose JavaScript approach [options: importmap (default), webpack, esbuild, rollup]",
|
306
|
+
"type": "string",
|
307
|
+
"default": "importmap",
|
308
|
+
"required": false
|
309
|
+
},
|
310
|
+
{
|
311
|
+
"name": "css",
|
312
|
+
"description": "Choose CSS processor [options: tailwind, bootstrap, bulma, postcss, sass... check https://github.com/rails/cssbundling-rails]",
|
313
|
+
"type": "string",
|
314
|
+
"default": null,
|
315
|
+
"required": false
|
316
|
+
},
|
317
|
+
{
|
318
|
+
"name": "skip_bundle",
|
319
|
+
"description": "Don't run bundle install",
|
320
|
+
"type": "boolean",
|
321
|
+
"default": false,
|
322
|
+
"required": false
|
323
|
+
},
|
324
|
+
{
|
325
|
+
"name": "note",
|
326
|
+
"description": "Indicates when to generate note",
|
327
|
+
"type": "string",
|
328
|
+
"default": "",
|
329
|
+
"required": false
|
330
|
+
},
|
331
|
+
{
|
332
|
+
"name": "test",
|
333
|
+
"description": "Indicates when to generate test",
|
334
|
+
"type": "string",
|
335
|
+
"default": "rspec",
|
336
|
+
"required": false
|
337
|
+
},
|
338
|
+
{
|
339
|
+
"name": "add_devise",
|
340
|
+
"description": "Indicates when to generate add devise",
|
341
|
+
"type": "boolean",
|
342
|
+
"default": false,
|
343
|
+
"required": false
|
344
|
+
},
|
345
|
+
{
|
346
|
+
"name": "add_annotate",
|
347
|
+
"description": "Indicates when to generate add annotate",
|
348
|
+
"type": "boolean",
|
349
|
+
"default": false,
|
350
|
+
"required": false
|
351
|
+
},
|
352
|
+
{
|
353
|
+
"name": "add_acts_as_list",
|
354
|
+
"description": "Indicates when to generate add acts as list",
|
355
|
+
"type": "boolean",
|
356
|
+
"default": false,
|
357
|
+
"required": false
|
358
|
+
},
|
359
|
+
{
|
360
|
+
"name": "add_browser",
|
361
|
+
"description": "Indicates when to generate add browser",
|
362
|
+
"type": "boolean",
|
363
|
+
"default": false,
|
364
|
+
"required": false
|
365
|
+
},
|
366
|
+
{
|
367
|
+
"name": "add_chartkick",
|
368
|
+
"description": "Indicates when to generate add chartkick",
|
369
|
+
"type": "boolean",
|
370
|
+
"default": false,
|
371
|
+
"required": false
|
372
|
+
},
|
373
|
+
{
|
374
|
+
"name": "add_faker",
|
375
|
+
"description": "Indicates when to generate add faker",
|
376
|
+
"type": "boolean",
|
377
|
+
"default": false,
|
378
|
+
"required": false
|
379
|
+
},
|
380
|
+
{
|
381
|
+
"name": "add_groupdate",
|
382
|
+
"description": "Indicates when to generate add groupdate",
|
383
|
+
"type": "boolean",
|
384
|
+
"default": false,
|
385
|
+
"required": false
|
386
|
+
},
|
387
|
+
{
|
388
|
+
"name": "add_hexapdf",
|
389
|
+
"description": "Indicates when to generate add hexapdf",
|
390
|
+
"type": "boolean",
|
391
|
+
"default": false,
|
392
|
+
"required": false
|
393
|
+
},
|
394
|
+
{
|
395
|
+
"name": "add_httparty",
|
396
|
+
"description": "Indicates when to generate add httparty",
|
397
|
+
"type": "boolean",
|
398
|
+
"default": false,
|
399
|
+
"required": false
|
400
|
+
},
|
401
|
+
{
|
402
|
+
"name": "add_honeybadger",
|
403
|
+
"description": "Indicates when to generate add honeybadger",
|
404
|
+
"type": "boolean",
|
405
|
+
"default": false,
|
406
|
+
"required": false
|
407
|
+
},
|
408
|
+
{
|
409
|
+
"name": "add_mini_magick",
|
410
|
+
"description": "Indicates when to generate add mini magick",
|
411
|
+
"type": "boolean",
|
412
|
+
"default": false,
|
413
|
+
"required": false
|
414
|
+
},
|
415
|
+
{
|
416
|
+
"name": "add_rails_html_sanitizer",
|
417
|
+
"description": "Indicates when to generate add rails html sanitizer",
|
418
|
+
"type": "boolean",
|
419
|
+
"default": false,
|
420
|
+
"required": false
|
421
|
+
},
|
422
|
+
{
|
423
|
+
"name": "add_twilio_ruby",
|
424
|
+
"description": "Indicates when to generate add twilio ruby",
|
425
|
+
"type": "boolean",
|
426
|
+
"default": false,
|
427
|
+
"required": false
|
428
|
+
}
|
429
|
+
]
|
430
|
+
}
|
@@ -0,0 +1,49 @@
|
|
1
|
+
{
|
2
|
+
"options": {
|
3
|
+
"skip_namespace": false,
|
4
|
+
"skip_collision_check": false,
|
5
|
+
"ruby": "/Users/davidcruwys/.asdf/installs/ruby/2.7.6/bin/ruby",
|
6
|
+
"database": "sqlite3",
|
7
|
+
"skip_git": false,
|
8
|
+
"skip_keeps": false,
|
9
|
+
"skip_action_mailer": false,
|
10
|
+
"skip_action_mailbox": false,
|
11
|
+
"skip_action_text": false,
|
12
|
+
"skip_active_record": false,
|
13
|
+
"skip_active_job": false,
|
14
|
+
"skip_active_storage": false,
|
15
|
+
"skip_action_cable": false,
|
16
|
+
"skip_asset_pipeline": false,
|
17
|
+
"asset_pipeline": "sprockets",
|
18
|
+
"skip_javascript": false,
|
19
|
+
"skip_hotwire": false,
|
20
|
+
"skip_jbuilder": false,
|
21
|
+
"skip_test": true,
|
22
|
+
"skip_system_test": false,
|
23
|
+
"skip_bootsnap": false,
|
24
|
+
"dev": false,
|
25
|
+
"edge": false,
|
26
|
+
"main": false,
|
27
|
+
"no_rc": false,
|
28
|
+
"api": false,
|
29
|
+
"javascript": "importmap",
|
30
|
+
"skip_bundle": false,
|
31
|
+
"note": "",
|
32
|
+
"test": "rspec",
|
33
|
+
"add_devise": false,
|
34
|
+
"add_annotate": true,
|
35
|
+
"add_acts_as_list": false,
|
36
|
+
"add_browser": false,
|
37
|
+
"add_chartkick": false,
|
38
|
+
"add_faker": false,
|
39
|
+
"add_groupdate": false,
|
40
|
+
"add_hexapdf": false,
|
41
|
+
"add_httparty": false,
|
42
|
+
"add_honeybadger": false,
|
43
|
+
"add_mini_magick": false,
|
44
|
+
"add_rails_html_sanitizer": false,
|
45
|
+
"add_twilio_ruby": false,
|
46
|
+
"template": "/Users/davidcruwys/dev/kgems/rails_app_generator/after_templates/application/printspeak/_.rb",
|
47
|
+
"css": "bootstrap"
|
48
|
+
}
|
49
|
+
}
|