Commit 2f7e58ad44cae962817993c3233734ac47ee2787
1 parent
11b5881e
Exists in
master
and in
1 other branch
Rubocop: Prefer single-quoted strings inside interpolations.
Showing
2 changed files
with
1 additions
and
7 deletions
Show diff stats
.rubocop_todo.yml
... | ... | @@ -360,12 +360,6 @@ Style/SpaceInsideHashLiteralBraces: |
360 | 360 | Style/StringLiterals: |
361 | 361 | Enabled: false |
362 | 362 | |
363 | -# Offense count: 1 | |
364 | -# Cop supports --auto-correct. | |
365 | -# Configuration parameters: EnforcedStyle, SupportedStyles. | |
366 | -Style/StringLiteralsInInterpolation: | |
367 | - Enabled: false | |
368 | - | |
369 | 363 | # Offense count: 3 |
370 | 364 | # Cop supports --auto-correct. |
371 | 365 | # Configuration parameters: IgnoredMethods. | ... | ... |
lib/tasks/errbit/demo.rake
... | ... | @@ -3,7 +3,7 @@ namespace :errbit do |
3 | 3 | task :demo => :environment do |
4 | 4 | require 'fabrication' |
5 | 5 | |
6 | - app = Fabricate(:app, :name => "Demo App #{Time.zone.now.strftime("%N")}") | |
6 | + app = Fabricate(:app, :name => "Demo App #{Time.zone.now.strftime('%N')}") | |
7 | 7 | |
8 | 8 | # Report a number of errors for the application |
9 | 9 | app.problems.delete_all | ... | ... |