lib/crosstie/templates/skeleton.rb in crosstie-0.0.3 vs lib/crosstie/templates/skeleton.rb in crosstie-0.0.4

- old
+ new

@@ -1,29 +1,34 @@ -# user.rb -inject_into_file "app/models/user.rb", before: 'end' do +# application_controller.rb +inject_into_file "app/controllers/application_controller.rb", before: 'end' do <<-EOF - # crosstie skeleton + # controller_helpers - # ldap - - # username - # authentication_token # authorization EOF end -# application_controller.rb -inject_into_file "app/controllers/application_controller.rb", before: 'end' do +# application.rb +inject_into_file "config/application.rb", after: "class Application < Rails::Application\n" do <<-EOF - # controller_helpers + # timezone - # authentication_token + # scaffold - # authorization + # active_job + +EOF +end + +# routes.rb +inject_into_file "config/routes.rb", after: "Rails.application.routes.draw do\n" do +<<-EOF + + # active_job EOF end