.rubocop_todo.yml in chef-provisioning-vsphere-2.0.7 vs .rubocop_todo.yml in chef-provisioning-vsphere-2.0.8
- old
+ new
@@ -1,8 +1,8 @@
# This configuration was generated by
# `rubocop --auto-gen-config`
-# on 2017-04-20 16:38:44 -0500 using RuboCop version 0.47.1.
+# on 2017-10-20 14:57:28 -0700 using RuboCop version 0.49.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.
@@ -10,69 +10,68 @@
# Configuration parameters: AllowSafeAssignment.
Lint/AssignmentInCondition:
Exclude:
- 'lib/chef/provisioning/vsphere_driver/vsphere_helpers.rb'
-# Offense count: 2
+# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyleAlignWith, SupportedStylesAlignWith, AutoCorrect.
# SupportedStylesAlignWith: start_of_line, def
Lint/DefEndAlignment:
Exclude:
- 'lib/chef/provisioning/vsphere_driver/driver.rb'
- - 'lib/chef/provisioning/vsphere_driver/vsphere_helpers.rb'
# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyleAlignWith, SupportedStylesAlignWith, AutoCorrect.
# SupportedStylesAlignWith: keyword, variable, start_of_line
Lint/EndAlignment:
Exclude:
- 'lib/chef/provisioning/vsphere_driver/driver.rb'
-# Offense count: 4
+# Offense count: 6
Lint/UselessAssignment:
Exclude:
- 'lib/chef/provisioning/vsphere_driver/clone_spec_builder.rb'
- 'lib/chef/provisioning/vsphere_driver/vsphere_helpers.rb'
- 'lib/kitchen/driver/vsphere.rb'
-# Offense count: 31
+# Offense count: 34
Metrics/AbcSize:
Max: 47
# Offense count: 1
# Configuration parameters: CountComments, ExcludedMethods.
Metrics/BlockLength:
- Max: 27
+ Max: 29
# Offense count: 1
# Configuration parameters: CountBlocks.
Metrics/BlockNesting:
Max: 4
# Offense count: 3
# Configuration parameters: CountComments.
Metrics/ClassLength:
- Max: 650
+ Max: 627
-# Offense count: 7
+# Offense count: 11
Metrics/CyclomaticComplexity:
Max: 12
-# Offense count: 89
+# Offense count: 138
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
# URISchemes: http, https
Metrics/LineLength:
Max: 189
-# Offense count: 40
+# Offense count: 41
# Configuration parameters: CountComments.
Metrics/MethodLength:
Max: 62
-# Offense count: 5
+# Offense count: 8
Metrics/PerceivedComplexity:
Max: 14
# Offense count: 1
Style/CaseEquality:
@@ -82,28 +81,17 @@
# Offense count: 3
Style/ClassVars:
Exclude:
- 'lib/kitchen/driver/vsphere.rb'
-# Offense count: 6
-Style/Documentation:
- Exclude:
- - 'spec/**/*'
- - 'test/**/*'
- - 'lib/chef/provisioning/vsphere_driver.rb'
- - 'lib/chef/provisioning/vsphere_driver/clone_spec_builder.rb'
- - 'lib/chef/provisioning/vsphere_driver/vsphere_helpers.rb'
- - 'lib/chef/provisioning/vsphere_driver/vsphere_url.rb'
- - 'lib/kitchen/driver/vsphere.rb'
-
# Offense count: 5
# Configuration parameters: AllowedVariables.
Style/GlobalVars:
Exclude:
- 'lib/chef/provisioning/vsphere_driver/vsphere_helpers.rb'
-# Offense count: 12
+# Offense count: 13
# Configuration parameters: MinBodyLength.
Style/GuardClause:
Exclude:
- 'lib/chef/provisioning/vsphere_driver/clone_spec_builder.rb'
- 'lib/chef/provisioning/vsphere_driver/driver.rb'
@@ -117,18 +105,17 @@
# Offense count: 1
Style/NestedTernaryOperator:
Exclude:
- 'lib/chef/provisioning/vsphere_driver/driver.rb'
-# Offense count: 5
+# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: AutoCorrect, EnforcedStyle, SupportedStyles.
# SupportedStyles: predicate, comparison
Style/NumericPredicate:
Exclude:
- 'spec/**/*'
- 'lib/chef/provisioning/vsphere_driver/driver.rb'
- - 'lib/chef/provisioning/vsphere_driver/vsphere_helpers.rb'
# Offense count: 3
# Configuration parameters: NamePrefix, NamePrefixBlacklist, NameWhitelist.
# NamePrefix: is_, has_, have_
# NamePrefixBlacklist: is_, has_, have_