.rubocop_todo.yml in robot-controller-2.1.1 vs .rubocop_todo.yml in robot-controller-3.0.0.beta1
- old
+ new
@@ -1,118 +1,193 @@
# This configuration was generated by
# `rubocop --auto-gen-config`
-# on 2017-01-10 17:11:53 -0800 using RuboCop version 0.46.0.
+# on 2018-12-10 08:36:11 -0600 using RuboCop version 0.52.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: 1
+# Cop supports --auto-correct.
+# Configuration parameters: Include, TreatCommentsAsGroupSeparators.
+# Include: **/*.gemspec
+Gemspec/OrderedDependencies:
+ Exclude:
+ - 'robot-controller.gemspec'
+
+
+# Offense count: 1
+# Cop supports --auto-correct.
+Layout/EmptyLineAfterMagicComment:
+ Exclude:
+ - 'robot-controller.gemspec'
+
+# Offense count: 2
+# Cop supports --auto-correct.
+Layout/EmptyLinesAroundArguments:
+ Exclude:
+ - 'bin/controller'
+
+# Offense count: 15
+# Cop supports --auto-correct.
+# Configuration parameters: IndentationWidth.
+# SupportedStyles: special_inside_parentheses, consistent, align_brackets
+Layout/IndentArray:
+ EnforcedStyle: consistent
+
+# Offense count: 1
+# Cop supports --auto-correct.
+# Configuration parameters: EnforcedStyle.
+# SupportedStyles: symmetrical, new_line, same_line
+Layout/MultilineArrayBraceLayout:
+ Exclude:
+ - 'spec/unit/verify_spec.rb'
+
+# Offense count: 1
+Lint/AmbiguousBlockAssociation:
+ Exclude:
+ - 'config/schedule_example.rb'
+
# Offense count: 3
Metrics/AbcSize:
- Max: 90
+ Max: 80
-# Offense count: 2
-# Configuration parameters: CountComments.
+# Offense count: 1
+# Configuration parameters: CountComments, ExcludedMethods.
Metrics/BlockLength:
- Max: 29
+ Max: 26
# Offense count: 1
+# Configuration parameters: CountBlocks.
Metrics/BlockNesting:
Max: 4
# Offense count: 2
Metrics/CyclomaticComplexity:
- Max: 24
+ Max: 23
-# Offense count: 33
-# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
-# URISchemes: http, https
-Metrics/LineLength:
- Max: 123
-
# Offense count: 5
# Configuration parameters: CountComments.
Metrics/MethodLength:
- Max: 89
+ Max: 87
# Offense count: 2
Metrics/PerceivedComplexity:
- Max: 22
+ Max: 20
-# Offense count: 1
-# Configuration parameters: ExpectMatchingDefinition, Regex, IgnoreExecutableScripts.
-Style/FileName:
+# Offense count: 14
+# Configuration parameters: Prefixes.
+# Prefixes: when, with, without
+RSpec/ContextWording:
Exclude:
- - 'lib/robot-controller.rb'
+ - 'spec/unit/robots_spec.rb'
+ - 'spec/unit/verify_spec.rb'
+# Offense count: 12
+# Configuration parameters: SkipBlocks, EnforcedStyle.
+# SupportedStyles: described_class, explicit
+RSpec/DescribedClass:
+ Exclude:
+ - 'spec/unit/robots_spec.rb'
+ - 'spec/unit/verify_spec.rb'
+
# Offense count: 1
-# Configuration parameters: EnforcedStyle, SupportedStyles.
-# SupportedStyles: format, sprintf, percent
-Style/FormatString:
+RSpec/EmptyLineAfterSubject:
Exclude:
- - 'lib/robot-controller/bluepill.rb'
+ - 'spec/unit/verify_spec.rb'
-# Offense count: 3
-# Configuration parameters: MinBodyLength.
-Style/GuardClause:
+# Offense count: 11
+# Configuration parameters: Max.
+RSpec/ExampleLength:
Exclude:
- - 'lib/robot-controller/robots.rb'
- - 'lib/robot-controller/verify.rb'
+ - 'spec/unit/robots_spec.rb'
+ - 'spec/unit/verify_spec.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: 2
+# Configuration parameters: CustomTransform, IgnoreMethods.
+RSpec/FilePath:
+ Exclude:
+ - 'spec/unit/robots_spec.rb'
+ - 'spec/unit/verify_spec.rb'
+# Offense count: 7
+# Configuration parameters: AggregateFailuresByDefault.
+RSpec/MultipleExpectations:
+ Max: 6
+
+# Offense count: 30
+RSpec/NamedSubject:
+ Exclude:
+ - 'spec/unit/robots_spec.rb'
+ - 'spec/unit/verify_spec.rb'
+
+# Offense count: 8
+RSpec/SubjectStub:
+ Exclude:
+ - 'spec/unit/verify_spec.rb'
+
# Offense count: 1
# Cop supports --auto-correct.
-# Configuration parameters: EnforcedStyle, SupportedStyles.
-# SupportedStyles: symmetrical, new_line, same_line
-Style/MultilineArrayBraceLayout:
+Style/Encoding:
Exclude:
- - 'spec/unit/verify_spec.rb'
+ - 'robot-controller.gemspec'
+# Offense count: 3
+# Configuration parameters: MinBodyLength.
+Style/GuardClause:
+ Exclude:
+ - 'lib/robot-controller/parser.rb'
+ - 'lib/robot-controller/verify.rb'
+
# Offense count: 5
# Cop supports --auto-correct.
+# Configuration parameters: Strict.
Style/NumericLiterals:
MinDigits: 6
# Offense count: 5
# Cop supports --auto-correct.
-# Configuration parameters: AutoCorrect, EnforcedStyle, SupportedStyles.
+# Configuration parameters: AutoCorrect, EnforcedStyle.
# SupportedStyles: predicate, comparison
Style/NumericPredicate:
Exclude:
- 'spec/**/*'
- 'bin/controller'
- 'lib/robot-controller/verify.rb'
-# Offense count: 14
+# Offense count: 10
# Cop supports --auto-correct.
-# Configuration parameters: EnforcedStyle, SupportedStyles.
+# Configuration parameters: PreferredDelimiters.
+Style/PercentLiteralDelimiters:
+ Exclude:
+ - 'spec/unit/robots_spec.rb'
+ - 'spec/unit/verify_spec.rb'
+
+# Offense count: 1
+# Cop supports --auto-correct.
+# Configuration parameters: EnforcedStyle.
+# SupportedStyles: implicit, explicit
+Style/RescueStandardError:
+ Exclude:
+ - 'bin/controller'
+
+# Offense count: 12
+# Cop supports --auto-correct.
+# Configuration parameters: EnforcedStyle.
# SupportedStyles: only_raise, only_fail, semantic
Style/SignalException:
Exclude:
- 'bin/controller'
- - 'lib/robot-controller/robots.rb'
+ - 'lib/robot-controller/parser.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.
+# Configuration parameters: EnforcedStyle, AllowSafeAssignment.
# SupportedStyles: require_parentheses, require_no_parentheses, require_parentheses_when_complex
Style/TernaryParentheses:
Exclude:
- - 'lib/robot-controller/robots.rb'
+ - 'lib/robot-controller/parser.rb'
- 'lib/robot-controller/verify.rb'
# Offense count: 7
# Cop supports --auto-correct.
Style/ZeroLengthPredicate: