Sha256: b22c37ae9588859f0553782a27406456de0dd06a8036e1f368f58722c49cfa60

Contents?: true

Size: 653 Bytes

Versions: 1

Compression:

Stored size: 653 Bytes

Contents

generators = <<GENERATORS

    # Do not generate specs for views and requests. Also, do not generate assets.
    config.generators do |g|
      g.helper false
      g.view_specs false
      g.assets false
      g.integration_tool false
    end
    config.app_generators do |g|
      g.test_framework :rspec
    end

    # Prevent initializing your application and connect to the database on assets precompile.
    config.assets.initialize_on_precompile = false
GENERATORS

in_root do
  inject_into_file 'config/application.rb', generators, {after: "Rails::Application", verbose: false}
end

git add: 'config/application.rb'
git_commit 'Add generators.'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pah-0.0.13 lib/pah/partials/_generators.rb