lib/voyage/generators/app_generator.rb in voyage-1.44.0.7 vs lib/voyage/generators/app_generator.rb in voyage-1.44.0.8
- old
+ new
@@ -31,15 +31,19 @@
invoke :generate_ruby_version_and_gemset
invoke :generate_data_migrations
invoke :add_high_voltage_static_pages
invoke :downgrade_neat_1_8_so_refills_media_mixin_works # this should be temporary until they get refills re-written to take advantage of Neat 2.0
invoke :generate_refills
+ invoke :add_app_css_file
+ invoke :update_flashes_css_file
invoke :overwrite_application_layout
invoke :generate_test_environment
invoke :update_test_environment
invoke :add_rubocop_config
invoke :add_auto_annotate_models_rake_task
+ invoke :update_delayed_job_migration_rails_5_1_specify_4_2
+ invoke :add_favicon
# Do these last
invoke :rake_db_setup
invoke :configure_rvm_prepend_bin_to_path
@@ -89,10 +93,18 @@
def generate_refills
build :generate_refills
end
+ def add_app_css_file
+ build :add_app_css_file
+ end
+
+ def update_flashes_css_file
+ build :update_flashes_css_file
+ end
+
def overwrite_application_layout
build :overwrite_application_layout
end
def generate_test_environment
@@ -107,9 +119,17 @@
build :add_rubocop_config
end
def add_auto_annotate_models_rake_task
build :add_auto_annotate_models_rake_task
+ end
+
+ def update_delayed_job_migration_rails_5_1_specify_4_2
+ build :update_delayed_job_migration_rails_5_1_specify_4_2
+ end
+
+ def add_favicon
+ build :add_favicon
end
def rake_db_setup
build :rake_db_setup
end