From f3ac5a66c0ce64f9300d283de358ef3bfc83c0cb Mon Sep 17 00:00:00 2001 From: dblock Date: Sun, 25 Aug 2019 11:13:21 -0400 Subject: [PATCH] Upgraded RuboCop to 0.74.0. --- .rubocop_todo.yml | 20 +++++++++++--------- Gemfile | 2 +- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 4b57fa4..d4eb36f 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -1,6 +1,6 @@ # This configuration was generated by # `rubocop --auto-gen-config` -# on 2018-01-05 16:54:58 -0500 using RuboCop version 0.50.0. +# on 2019-08-25 11:12:51 -0400 using RuboCop version 0.74.0. # The point is for the user to remove these configuration records # one by one as the offenses are removed from the code base. # Note that changes in the inspected code, or installation of new @@ -11,14 +11,8 @@ Metrics/ClassLength: Max: 103 -# Offense count: 94 -# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns. -# URISchemes: http, https -Metrics/LineLength: - Max: 142 - # Offense count: 3 -# Configuration parameters: CountComments. +# Configuration parameters: CountComments, ExcludedMethods. Metrics/MethodLength: Max: 25 @@ -28,7 +22,8 @@ Metrics/ModuleLength: Max: 265 # Offense count: 2 -# Configuration parameters: EnforcedStyle, SupportedStyles. +# Cop supports --auto-correct. +# Configuration parameters: AutoCorrect, EnforcedStyle. # SupportedStyles: nested, compact Style/ClassAndModuleChildren: Exclude: @@ -55,3 +50,10 @@ Style/DoubleNegation: Style/MethodMissingSuper: Exclude: - 'lib/hyperclient/collection.rb' + +# Offense count: 93 +# Cop supports --auto-correct. +# Configuration parameters: AutoCorrect, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns. +# URISchemes: http, https +Metrics/LineLength: + Max: 142 diff --git a/Gemfile b/Gemfile index 90abace..2949e93 100644 --- a/Gemfile +++ b/Gemfile @@ -16,7 +16,7 @@ end group :development, :test do gem 'rake' - gem 'rubocop', '~> 0.73.0', require: false + gem 'rubocop', '~> 0.74.0', require: false gem 'simplecov', require: false end