Commit 2f7e58ad44cae962817993c3233734ac47ee2787

Authored by Laust Rud Jacobsen
1 parent 11b5881e
Exists in master and in 1 other branch production

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,12 +360,6 @@ Style/SpaceInsideHashLiteralBraces:
360 Style/StringLiterals: 360 Style/StringLiterals:
361 Enabled: false 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 # Offense count: 3 363 # Offense count: 3
370 # Cop supports --auto-correct. 364 # Cop supports --auto-correct.
371 # Configuration parameters: IgnoredMethods. 365 # Configuration parameters: IgnoredMethods.
lib/tasks/errbit/demo.rake
@@ -3,7 +3,7 @@ namespace :errbit do @@ -3,7 +3,7 @@ namespace :errbit do
3 task :demo => :environment do 3 task :demo => :environment do
4 require 'fabrication' 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 # Report a number of errors for the application 8 # Report a number of errors for the application
9 app.problems.delete_all 9 app.problems.delete_all