Sha256: 716105ef86d8985088e7fd406611f33d67bbf3c9a342ad733b27f6f0297d2411
Contents?: true
Size: 912 Bytes
Versions: 33
Compression:
Stored size: 912 Bytes
Contents
# frozen_string_literal: true # RuboCop is a Ruby code style checking and code formatting tool. # # exe/rag addons/rubocop self.local_template_path = File.dirname(__FILE__) gac 'base rails 7 image created' prepare_environment add_controller('home', 'index') route("root 'home#index'") after_bundle do # There are linting errors in the controller that can be fixed manually with # rubocop -A --config .rubocop.yml force_copy copy_file 'app/controllers/home_controller.rb' , 'app/controllers/home_controller.rb' copy_file 'app/views/home/index.html.erb' , 'app/views/home/index.html.erb' copy_file 'app/assets/images/cop-output.png' , 'app/assets/images/cop-output.png' template 'app/views/layouts/application.html.erb' , 'app/views/layouts/application.html.erb' # Cleanup the generated files run('rubocop -A --config .rubocop.yml') end
Version data entries
33 entries across 33 versions & 1 rubygems