.rubocop_todo.yml in beaker-docker-1.4.0 vs .rubocop_todo.yml in beaker-docker-1.5.0
- old
+ new
@@ -5,26 +5,10 @@
# 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: TreatCommentsAsGroupSeparators, ConsiderPunctuation, Include.
-# Include: **/*.gemfile, **/Gemfile, **/gems.rb
-Bundler/OrderedGems:
- Exclude:
- - 'Gemfile'
-
-# Offense count: 3
-# Cop supports --auto-correct.
-# Configuration parameters: TreatCommentsAsGroupSeparators, ConsiderPunctuation, Include.
-# Include: **/*.gemspec
-Gemspec/OrderedDependencies:
- Exclude:
- - 'beaker-docker.gemspec'
-
-# Offense count: 1
# Configuration parameters: Include.
# Include: **/*.gemspec
Gemspec/RequiredRubyVersion:
Exclude:
- 'beaker-docker.gemspec'
@@ -35,56 +19,34 @@
# SupportedStyles: with_first_argument, with_fixed_indentation
Layout/ArgumentAlignment:
Exclude:
- 'lib/beaker/hypervisor/docker.rb'
-# Offense count: 1
-# Cop supports --auto-correct.
-# Configuration parameters: IndentationWidth.
-Layout/AssignmentIndentation:
- Exclude:
- - 'bin/beaker-docker'
-
# Offense count: 2
# Cop supports --auto-correct.
Layout/BlockEndNewline:
Exclude:
- 'spec/beaker/hypervisor/docker_spec.rb'
-# Offense count: 1
-# Cop supports --auto-correct.
-Layout/CommentIndentation:
- Exclude:
- - 'Rakefile'
-
# Offense count: 2
# Cop supports --auto-correct.
Layout/EmptyLineAfterGuardClause:
Exclude:
- - 'Rakefile'
- 'lib/beaker/hypervisor/docker.rb'
-# Offense count: 1
-# Cop supports --auto-correct.
-Layout/EmptyLineAfterMagicComment:
- Exclude:
- - 'beaker-docker.gemspec'
-
# Offense count: 5
# Cop supports --auto-correct.
Layout/EmptyLines:
Exclude:
- - 'bin/beaker-docker'
- 'spec/beaker/hypervisor/docker_spec.rb'
# Offense count: 5
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: empty_lines, no_empty_lines
Layout/EmptyLinesAroundBlockBody:
Exclude:
- - 'Rakefile'
- 'spec/beaker/hypervisor/docker_spec.rb'
# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
@@ -105,16 +67,10 @@
# Configuration parameters: IndentationWidth.
# SupportedStyles: special_inside_parentheses, consistent, align_braces
Layout/FirstHashElementIndentation:
EnforcedStyle: consistent
-# Offense count: 1
-# Cop supports --auto-correct.
-Layout/HeredocIndentation:
- Exclude:
- - 'Rakefile'
-
# Offense count: 5
# Cop supports --auto-correct.
# Configuration parameters: AllowDoxygenCommentStyle, AllowGemfileRubyComment.
Layout/LeadingCommentSpace:
Exclude:
@@ -169,11 +125,10 @@
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces.
# SupportedStyles: space, no_space
# SupportedStylesForEmptyBraces: space, no_space
Layout/SpaceBeforeBlockBraces:
Exclude:
- - 'beaker-docker.gemspec'
- 'spec/beaker/hypervisor/docker_spec.rb'
# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBrackets.
@@ -189,11 +144,10 @@
# SupportedStyles: space, no_space
# SupportedStylesForEmptyBraces: space, no_space
Layout/SpaceInsideBlockBraces:
Exclude:
- 'spec/beaker/hypervisor/docker_spec.rb'
- - 'spec/spec_helper.rb'
# Offense count: 25
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces.
# SupportedStyles: space, no_space, compact
@@ -207,21 +161,14 @@
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: space, no_space
Layout/SpaceInsideParens:
Exclude:
- - 'Rakefile'
- 'lib/beaker/hypervisor/docker.rb'
- 'spec/beaker/hypervisor/docker_spec.rb'
# Offense count: 1
-# Cop supports --auto-correct.
-Lint/DeprecatedClassMethods:
- Exclude:
- - 'Gemfile'
-
-# Offense count: 1
# Configuration parameters: IgnoreLiteralBranches, IgnoreConstantBranches.
Lint/DuplicateBranch:
Exclude:
- 'lib/beaker/hypervisor/docker.rb'
@@ -234,40 +181,27 @@
# Offense count: 1
Lint/MissingSuper:
Exclude:
- 'lib/beaker/hypervisor/docker.rb'
-# Offense count: 1
-# Cop supports --auto-correct.
-Lint/NonDeterministicRequireOrder:
- Exclude:
- - 'spec/spec_helper.rb'
-
# Offense count: 3
# Cop supports --auto-correct.
Lint/ParenthesesAsGroupedExpression:
Exclude:
- 'lib/beaker/hypervisor/docker.rb'
- 'spec/beaker/hypervisor/docker_spec.rb'
# Offense count: 1
-# Configuration parameters: AllowComments, AllowNil.
-Lint/SuppressedException:
- Exclude:
- - 'Rakefile'
-
-# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods, IgnoreNotImplementedMethods.
Lint/UnusedMethodArgument:
Exclude:
- 'lib/beaker/hypervisor/docker.rb'
# Offense count: 6
Lint/UselessAssignment:
Exclude:
- - 'Rakefile'
- 'lib/beaker/hypervisor/docker.rb'
# Offense count: 8
# Configuration parameters: IgnoredMethods, CountRepeatedAttributes.
Metrics/AbcSize:
@@ -307,17 +241,10 @@
# Offense count: 6
# Configuration parameters: IgnoredMethods.
Metrics/PerceivedComplexity:
Max: 39
-# Offense count: 1
-# Configuration parameters: ForbiddenDelimiters.
-# ForbiddenDelimiters: (?-mix:(^|\s)(EO[A-Z]{1}|END)(\s|$))
-Naming/HeredocDelimiterNaming:
- Exclude:
- - 'Rakefile'
-
# Offense count: 2
# Cop supports --auto-correct.
Performance/Detect:
Exclude:
- 'lib/beaker/hypervisor/docker.rb'
@@ -326,17 +253,10 @@
# Cop supports --auto-correct.
Performance/RedundantSplitRegexpArgument:
Exclude:
- 'lib/beaker/hypervisor/docker.rb'
-# Offense count: 3
-# Cop supports --auto-correct.
-Performance/RegexpMatch:
- Exclude:
- - 'Rakefile'
- - 'lib/beaker/hypervisor/docker.rb'
-
# Offense count: 8
# Cop supports --auto-correct.
Performance/StringInclude:
Exclude:
- 'lib/beaker/hypervisor/docker.rb'
@@ -352,21 +272,10 @@
# Prefixes: when, with, without
RSpec/ContextWording:
Exclude:
- 'spec/beaker/hypervisor/docker_spec.rb'
-# Offense count: 1
-# Configuration parameters: IgnoredMetadata.
-RSpec/DescribeClass:
- Exclude:
- - 'acceptance/tests/00_default_spec.rb'
-
-# Offense count: 1
-RSpec/EmptyExampleGroup:
- Exclude:
- - 'acceptance/tests/00_default_spec.rb'
-
# Offense count: 2
# Cop supports --auto-correct.
RSpec/EmptyLineAfterFinalLet:
Exclude:
- 'spec/beaker/hypervisor/docker_spec.rb'
@@ -445,21 +354,10 @@
# Configuration parameters: IgnoreNameless, IgnoreSymbolicNames.
RSpec/VerifiedDoubles:
Exclude:
- 'spec/beaker/hypervisor/docker_spec.rb'
-# Offense count: 4
-# Cop supports --auto-correct.
-Rake/Desc:
- Exclude:
- - 'Rakefile'
-
-# Offense count: 1
-Security/Eval:
- Exclude:
- - 'Gemfile'
-
# Offense count: 3
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, ProceduralMethods, FunctionalMethods, IgnoredMethods, AllowBracesOnProceduralOneLiners, BracesRequiredMethods.
# SupportedStyles: line_count_based, semantic, braces_for_chaining, always_braces
# ProceduralMethods: benchmark, bm, bmbm, create, each_with_object, measure, new, realtime, tap, with_object
@@ -490,52 +388,26 @@
# SupportedStyles: assign_to_condition, assign_inside_condition
Style/ConditionalAssignment:
Exclude:
- 'lib/beaker/hypervisor/docker.rb'
-# Offense count: 4
-# Cop supports --auto-correct.
-Style/Dir:
- Exclude:
- - 'Rakefile'
-
# Offense count: 1
# Configuration parameters: AllowedConstants.
Style/Documentation:
Exclude:
- 'spec/**/*'
- 'test/**/*'
- 'lib/beaker/hypervisor/docker.rb'
-# Offense count: 1
-# Cop supports --auto-correct.
-Style/Encoding:
- Exclude:
- - 'beaker-docker.gemspec'
-
-# Offense count: 1
-# Cop supports --auto-correct.
-Style/ExpandPathArguments:
- Exclude:
- - 'beaker-docker.gemspec'
-
# Offense count: 10
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: always, always_true, never
Style/FrozenStringLiteralComment:
Exclude:
- - '.simplecov'
- - 'Gemfile'
- - 'Rakefile'
- - 'acceptance/tests/00_default_spec.rb'
- - 'beaker-docker.gemspec'
- - 'bin/beaker-docker'
- - 'lib/beaker-docker/version.rb'
- 'lib/beaker/hypervisor/docker.rb'
- 'spec/beaker/hypervisor/docker_spec.rb'
- - 'spec/spec_helper.rb'
# Offense count: 2
# Configuration parameters: MinBodyLength.
Style/GuardClause:
Exclude:
@@ -550,39 +422,19 @@
# Offense count: 11
# Cop supports --auto-correct.
Style/IfUnlessModifier:
Exclude:
- - 'Gemfile'
- - 'Rakefile'
- 'lib/beaker/hypervisor/docker.rb'
- 'spec/beaker/hypervisor/docker_spec.rb'
# Offense count: 1
# Cop supports --auto-correct.
-# Configuration parameters: AllowedMethods.
-# AllowedMethods: nonzero?
-Style/IfWithBooleanLiteralBranches:
- Exclude:
- - 'Rakefile'
-
-# Offense count: 1
-# Cop supports --auto-correct.
Style/LineEndConcatenation:
Exclude:
- 'lib/beaker/hypervisor/docker.rb'
-# Offense count: 4
-# Cop supports --auto-correct.
-# Configuration parameters: EnforcedStyle.
-# SupportedStyles: literals, strict
-Style/MutableConstant:
- Exclude:
- - 'Rakefile'
- - 'bin/beaker-docker'
- - 'lib/beaker-docker/version.rb'
-
# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, MinBodyLength.
# SupportedStyles: skip_modifier_ifs, always
Style/Next:
@@ -606,12 +458,10 @@
# Offense count: 32
# Cop supports --auto-correct.
# Configuration parameters: PreferredDelimiters.
Style/PercentLiteralDelimiters:
Exclude:
- - 'Rakefile'
- - 'beaker-docker.gemspec'
- 'lib/beaker/hypervisor/docker.rb'
# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
@@ -623,11 +473,10 @@
# Offense count: 3
# Cop supports --auto-correct.
# Configuration parameters: Methods.
Style/RedundantArgument:
Exclude:
- - 'Rakefile'
- 'lib/beaker/hypervisor/docker.rb'
# Offense count: 1
# Cop supports --auto-correct.
Style/RedundantCondition:
@@ -640,59 +489,41 @@
Exclude:
- 'lib/beaker/hypervisor/docker.rb'
# Offense count: 2
# Cop supports --auto-correct.
-Style/RedundantPercentQ:
- Exclude:
- - 'beaker-docker.gemspec'
-
-# Offense count: 2
-# Cop supports --auto-correct.
Style/RedundantRegexpEscape:
Exclude:
- 'lib/beaker/hypervisor/docker.rb'
# Offense count: 4
# Cop supports --auto-correct.
# Configuration parameters: AllowMultipleReturnValues.
Style/RedundantReturn:
Exclude:
- - 'Rakefile'
- 'lib/beaker/hypervisor/docker.rb'
# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, AllowInnerSlashes.
# SupportedStyles: slashes, percent_r, mixed
Style/RegexpLiteral:
Exclude:
- 'lib/beaker/hypervisor/docker.rb'
-# Offense count: 1
-# Cop supports --auto-correct.
-# Configuration parameters: EnforcedStyle.
-# SupportedStyles: only_raise, only_fail, semantic
-Style/SignalException:
- Exclude:
- - 'Rakefile'
-
# Offense count: 2
# Cop supports --auto-correct.
Style/StringConcatenation:
Exclude:
- 'lib/beaker/hypervisor/docker.rb'
- - 'spec/spec_helper.rb'
# Offense count: 64
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
# SupportedStyles: single_quotes, double_quotes
Style/StringLiterals:
Exclude:
- - 'Rakefile'
- - 'beaker-docker.gemspec'
- 'lib/beaker/hypervisor/docker.rb'
- 'spec/beaker/hypervisor/docker_spec.rb'
# Offense count: 1
# Cop supports --auto-correct.
@@ -707,10 +538,9 @@
# Configuration parameters: EnforcedStyleForMultiline.
# SupportedStylesForMultiline: comma, consistent_comma, no_comma
Style/TrailingCommaInArrayLiteral:
Exclude:
- 'spec/beaker/hypervisor/docker_spec.rb'
- - 'spec/spec_helper.rb'
# Offense count: 25
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyleForMultiline.
# SupportedStylesForMultiline: comma, consistent_comma, no_comma