From 48958356cae940dbed7579527bf73bf58c68b112 Mon Sep 17 00:00:00 2001 From: Michael Brandt <mbrandt@colorado.edu> Date: Thu, 9 Jul 2015 10:57:19 -0600 Subject: [PATCH] Pin RuboCop to current version, regen todo config --- .rubocop_todo.yml | 51 +++++++++++++++++++++++++++++++++++++++++++---- vSphere.gemspec | 2 +- 2 files changed, 48 insertions(+), 5 deletions(-) diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index eecc15de..eb2f2b31 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -1,13 +1,17 @@ # This configuration was generated by `rubocop --auto-gen-config` -# on 2014-12-31 12:33:22 -0700 using RuboCop version 0.28.0. +# on 2015-07-09 10:56:49 -0600 using RuboCop version 0.32.1. # 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: 10 +# Offense count: 1 +Lint/NonLocalExitFromIterator: + Enabled: false + +# Offense count: 11 Metrics/AbcSize: - Max: 106 + Max: 105 # Offense count: 1 # Configuration parameters: CountComments. @@ -23,11 +27,16 @@ Metrics/CyclomaticComplexity: Metrics/LineLength: Max: 177 -# Offense count: 11 +# Offense count: 12 # Configuration parameters: CountComments. Metrics/MethodLength: Max: 54 +# Offense count: 1 +# Configuration parameters: CountComments. +Metrics/ModuleLength: + Max: 157 + # Offense count: 3 Metrics/PerceivedComplexity: Max: 16 @@ -35,3 +44,37 @@ Metrics/PerceivedComplexity: # Offense count: 24 Style/Documentation: Enabled: false + +# Offense count: 1 +# Cop supports --auto-correct. +Style/EmptyLiteral: + Enabled: false + +# Offense count: 1 +# Cop supports --auto-correct. +# Configuration parameters: EnforcedStyle, SupportedStyles. +Style/FirstParameterIndentation: + Enabled: false + +# Offense count: 1 +# Cop supports --auto-correct. +# Configuration parameters: EnforcedStyle, SupportedStyles, UseHashRocketsWithSymbolValues. +Style/HashSyntax: + Enabled: false + +# Offense count: 2 +# Cop supports --auto-correct. +# Configuration parameters: EnforcedStyle, SupportedStyles, AllowInnerSlashes. +Style/RegexpLiteral: + Enabled: false + +# Offense count: 3 +# Cop supports --auto-correct. +# Configuration parameters: MultiSpaceAllowedForOperators. +Style/SpaceAroundOperators: + Enabled: false + +# Offense count: 4 +# Cop supports --auto-correct. +Style/SymbolLiteral: + Enabled: false diff --git a/vSphere.gemspec b/vSphere.gemspec index ac685cb6..d7c3731d 100644 --- a/vSphere.gemspec +++ b/vSphere.gemspec @@ -21,7 +21,7 @@ Gem::Specification.new do |s| s.add_development_dependency 'rspec-core' s.add_development_dependency 'rspec-expectations' s.add_development_dependency 'rspec-mocks' - s.add_development_dependency 'rubocop', '~> 0.28' + s.add_development_dependency 'rubocop', '~> 0.32.1' s.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR) s.executables = s.files.grep(/^bin\//) { |f| File.basename(f) }