Sha256: da91341c146ac3dc738db78c492a7893dda4a3b6a50320f508b386848bc0cfb9

Contents?: true

Size: 361 Bytes

Versions: 4

Compression:

Stored size: 361 Bytes

Contents

# application.rb
# stop scaffold from generating css, js, helper, test for helper, test for views
inject_into_file 'config/application.rb', after: "# scaffold\n" do
<<-EOS
    config.generators do |g|
      g.stylesheets false
      g.javascripts false
      g.helper false
      g.test_framework :rspec, view_specs: false, request_specs: false
    end
EOS
end

Version data entries

4 entries across 4 versions & 1 rubygems

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