.rubocop_todo.yml in robot-controller-2.0.4 vs .rubocop_todo.yml in robot-controller-2.1.0
- old
+ new
@@ -1,26 +1,33 @@
-# This configuration was generated by `rubocop --auto-gen-config`
-# on 2015-08-20 12:41:25 -0700 using RuboCop version 0.32.1.
+# This configuration was generated by
+# `rubocop --auto-gen-config`
+# on 2017-01-10 17:11:53 -0800 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: 3
Metrics/AbcSize:
- Max: 92
+ Max: 90
+# Offense count: 2
+# Configuration parameters: CountComments.
+Metrics/BlockLength:
+ Max: 29
+
# Offense count: 1
Metrics/BlockNesting:
Max: 4
# Offense count: 2
Metrics/CyclomaticComplexity:
Max: 24
-# Offense count: 34
-# Configuration parameters: AllowURI, URISchemes.
+# Offense count: 33
+# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
+# URISchemes: http, https
Metrics/LineLength:
Max: 123
# Offense count: 5
# Configuration parameters: CountComments.
@@ -30,18 +37,86 @@
# Offense count: 2
Metrics/PerceivedComplexity:
Max: 22
# Offense count: 1
-# Configuration parameters: Exclude.
+# Configuration parameters: ExpectMatchingDefinition, Regex, IgnoreExecutableScripts.
Style/FileName:
- Enabled: false
+ Exclude:
+ - 'lib/robot-controller.rb'
# Offense count: 1
# Configuration parameters: EnforcedStyle, SupportedStyles.
+# SupportedStyles: format, sprintf, percent
Style/FormatString:
- Enabled: false
+ Exclude:
+ - 'lib/robot-controller/bluepill.rb'
+# Offense count: 3
+# Configuration parameters: MinBodyLength.
+Style/GuardClause:
+ Exclude:
+ - 'lib/robot-controller/robots.rb'
+ - 'lib/robot-controller/verify.rb'
+
+# Offense count: 15
+# Cop supports --auto-correct.
+# Configuration parameters: SupportedStyles, IndentationWidth.
+# SupportedStyles: special_inside_parentheses, consistent, align_brackets
+Style/IndentArray:
+ EnforcedStyle: consistent
+
+# Offense count: 1
+# Cop supports --auto-correct.
+# Configuration parameters: EnforcedStyle, SupportedStyles.
+# SupportedStyles: symmetrical, new_line, same_line
+Style/MultilineArrayBraceLayout:
+ Exclude:
+ - 'spec/unit/verify_spec.rb'
+
# Offense count: 5
# Cop supports --auto-correct.
Style/NumericLiterals:
MinDigits: 6
+
+# Offense count: 5
+# Cop supports --auto-correct.
+# Configuration parameters: AutoCorrect, EnforcedStyle, SupportedStyles.
+# SupportedStyles: predicate, comparison
+Style/NumericPredicate:
+ Exclude:
+ - 'spec/**/*'
+ - 'bin/controller'
+ - 'lib/robot-controller/verify.rb'
+
+# Offense count: 14
+# Cop supports --auto-correct.
+# Configuration parameters: EnforcedStyle, SupportedStyles.
+# SupportedStyles: only_raise, only_fail, semantic
+Style/SignalException:
+ Exclude:
+ - 'bin/controller'
+ - 'lib/robot-controller/robots.rb'
+ - 'lib/robot-controller/verify.rb'
+
+# Offense count: 1
+# Configuration parameters: Methods.
+# Methods: {"reduce"=>["acc", "elem"]}, {"inject"=>["acc", "elem"]}
+Style/SingleLineBlockParams:
+ Exclude:
+ - 'lib/robot-controller/verify.rb'
+
+# Offense count: 2
+# Cop supports --auto-correct.
+# Configuration parameters: EnforcedStyle, SupportedStyles, AllowSafeAssignment.
+# SupportedStyles: require_parentheses, require_no_parentheses, require_parentheses_when_complex
+Style/TernaryParentheses:
+ Exclude:
+ - 'lib/robot-controller/robots.rb'
+ - 'lib/robot-controller/verify.rb'
+
+# Offense count: 7
+# Cop supports --auto-correct.
+Style/ZeroLengthPredicate:
+ Exclude:
+ - 'bin/controller'
+ - 'lib/robot-controller/verify.rb'