Sha256: 238623878cbc01291e89dc170fdda3847a1e1000fba2689db57ce52de83e72b6

Contents?: true

Size: 385 Bytes

Versions: 2

Compression:

Stored size: 385 Bytes

Contents

# application.rb
# stop scaffold from generating css, js, helper, test for helper, test for views
inject_into_file "config/application.rb", after: "# config.i18n.default_locale = :de\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

2 entries across 2 versions & 1 rubygems

Version Path
crosstie-0.0.3 lib/crosstie/templates/config_scaffold.rb
crosstie-0.0.2 lib/crosstie/templates/config_scaffold.rb