From bcca449f797710b827b36408cf93d122c378168a Mon Sep 17 00:00:00 2001 From: Kazuhiro Serizawa Date: Sat, 25 Feb 2017 23:19:09 +0900 Subject: [PATCH] rubocop --auto-gen-config --- .rubocop_todo.yml | 27 ++++++++++++++++++--------- 1 file changed, 18 insertions(+), 9 deletions(-) diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 834f1f9..5440c1f 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -1,32 +1,41 @@ # This configuration was generated by # `rubocop --auto-gen-config` -# on 2015-10-14 13:50:41 -0700 using RuboCop version 0.34.2. +# on 2017-02-25 23:23:21 +0900 using RuboCop version 0.46.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 # versions of RuboCop, may require this file to be generated again. -# Offense count: 4 +# Offense count: 5 +# Configuration parameters: Include. +# Include: **/Gemfile, **/gems.rb +Bundler/OrderedGems: + Exclude: + - 'Gemfile' + +# Offense count: 3 Metrics/AbcSize: Max: 27 -# Offense count: 1 -# Configuration parameters: CountComments. -Metrics/ClassLength: - Max: 109 - # Offense count: 1 Metrics/CyclomaticComplexity: Max: 7 -# Offense count: 16 +# Offense count: 18 # Configuration parameters: CountComments. Metrics/MethodLength: Max: 22 -# Offense count: 2 +# Offense count: 3 # Configuration parameters: EnforcedStyle, SupportedStyles. +# SupportedStyles: format, sprintf, percent Style/FormatString: Exclude: - 'lib/googleauth/user_authorizer.rb' - 'lib/googleauth/web_user_authorizer.rb' + +# Offense count: 1 +# Configuration parameters: MinBodyLength. +Style/GuardClause: + Exclude: + - 'lib/googleauth/web_user_authorizer.rb'