Sha256: c30affc5ddd1678ada3e2dbf7dec13f4831ad1efcbb801b8859603dad5899aa9

Contents?: true

Size: 636 Bytes

Versions: 2

Compression:

Stored size: 636 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

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

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pah-0.0.15 lib/pah/partials/_generators.rb
pah-0.0.14 lib/pah/partials/_generators.rb