Enable all the rubicop perf cops
This commit is contained in:
parent
b76a7c9975
commit
379e7b74d6
9 changed files with 36 additions and 36 deletions
|
@ -12,7 +12,7 @@ namespace :dev do
|
|||
|
||||
task :generate_token_file do
|
||||
puts 'creating token.rb file'
|
||||
res = `rake secret`.gsub("\n", '')
|
||||
res = `rake secret`.delete("\n")
|
||||
file = File.new('config/initializers/token.rb', 'w+')
|
||||
comment = <<EOF
|
||||
EOF
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue