lib/startblock/app_builder.rb in startblock-1.1 vs lib/startblock/app_builder.rb in startblock-1.2

- old
+ new

@@ -88,27 +88,28 @@ 'app/views/layouts/application.html.erb', force: true end def configure_action_mailer - action_mailer_host "development", %{"localhost:1205"} + config = "config.action_mailer.delivery_method = :letter_opener" + configure_environment("development", config) action_mailer_host "test", %{"www.example.com"} end def setup_foreman copy_file 'sample.env', '.sample.env' copy_file 'Procfile', 'Procfile' end def setup_stylesheets remove_file 'app/assets/stylesheets/application.css' - copy_file 'application.css.scss', - 'app/assets/stylesheets/application.css.scss' + copy_file 'application.scss', + 'app/assets/stylesheets/application.scss' end def setup_javascripts - remove_file "app/assets/javascript/application.js" - copy_file "application.js", "app/assets/javascript/application.js" + remove_file "app/assets/javascripts/application.js" + copy_file "application.js", "app/assets/javascripts/application.js" end def remove_routes_comment_lines replace_in_file 'config/routes.rb', /Rails\.application\.routes\.draw do.*end/m,