Sha256: b8a64532eefca56f60e00404a61502155f66ada7ca2e524110ddc6a8b26110d1

Contents?: true

Size: 500 Bytes

Versions: 3

Compression:

Stored size: 500 Bytes

Contents

# application_controller.rb
inject_into_file "app/controllers/application_controller.rb", before: 'end' do
<<-EOF

  # controller_helpers

  # authentication_token

  # authorization

EOF
end

# application.rb
inject_into_file "config/application.rb", after: "class Application < Rails::Application\n" do
<<-EOF

    # timezone

    # scaffold

    # 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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
crosstie-0.0.6 lib/crosstie/templates/skeleton.rb
crosstie-0.0.5 lib/crosstie/templates/skeleton.rb
crosstie-0.0.4 lib/crosstie/templates/skeleton.rb