From 2f7e58ad44cae962817993c3233734ac47ee2787 Mon Sep 17 00:00:00 2001 From: Laust Rud Jacobsen Date: Sat, 31 Oct 2015 15:24:33 +0100 Subject: [PATCH] Rubocop: Prefer single-quoted strings inside interpolations. --- .rubocop_todo.yml | 6 ------ lib/tasks/errbit/demo.rake | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 30edd5a..e4e57bd 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -360,12 +360,6 @@ Style/SpaceInsideHashLiteralBraces: Style/StringLiterals: Enabled: false -# Offense count: 1 -# Cop supports --auto-correct. -# Configuration parameters: EnforcedStyle, SupportedStyles. -Style/StringLiteralsInInterpolation: - Enabled: false - # Offense count: 3 # Cop supports --auto-correct. # Configuration parameters: IgnoredMethods. diff --git a/lib/tasks/errbit/demo.rake b/lib/tasks/errbit/demo.rake index c809581..2e2de33 100644 --- a/lib/tasks/errbit/demo.rake +++ b/lib/tasks/errbit/demo.rake @@ -3,7 +3,7 @@ namespace :errbit do task :demo => :environment do require 'fabrication' - app = Fabricate(:app, :name => "Demo App #{Time.zone.now.strftime("%N")}") + app = Fabricate(:app, :name => "Demo App #{Time.zone.now.strftime('%N')}") # Report a number of errors for the application app.problems.delete_all -- libgit2 0.21.2