GyozaGuy / dumpling_alpha.rb
0 likes
0 forks
1 files
Last active
Dumpling app template - Web Awesome alpha
| 1 | # Rails Application Template |
| 2 | # Apply all uncommitted changes |
| 3 | |
| 4 | # Download custom .rubocop.yml from URL |
| 5 | get 'https://gist.gyozaguy.dev/GyozaGuy/cdd6fa0cc913430d8951de685f840e6a/raw/HEAD/.rubocop.yml', '.rubocop.yml' |
| 6 | |
| 7 | # Remove omakase rubocop gem and add standard rubocop |
| 8 | gsub_file 'Gemfile', /^\s+# Omakase Ruby styling.*\n\s+gem ['"]rubocop-rails-omakase['"], require: false\n/m, '' |
| 9 | insert_into_file 'Gemfile', " gem 'rubocop'\n", after: "group :development do\n" |
Newer
Older