Skip to content

Commit

Permalink
Vendor rubocop-1.25.1 upstream configuration.
Browse files Browse the repository at this point in the history
Obvious fix; these changes are the result of automation not creative thinking.
  • Loading branch information
tas50 committed Feb 3, 2022
1 parent 331dd79 commit adadebd
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
22 changes: 11 additions & 11 deletions config/upstream.yml
Original file line number Diff line number Diff line change
Expand Up @@ -430,13 +430,13 @@ Layout/ClassStructure:
- prepend
- extend
ExpectedOrder:
- module_inclusion
- constants
- public_class_methods
- initializer
- public_methods
- protected_methods
- private_methods
- module_inclusion
- constants
- public_class_methods
- initializer
- public_methods
- protected_methods
- private_methods

Layout/ClosingHeredocIndentation:
Description: 'Checks the indentation of here document closings.'
Expand Down Expand Up @@ -1900,7 +1900,7 @@ Lint/NestedPercentLiteral:
VersionAdded: '0.52'

Lint/NextWithoutAccumulator:
Description: >-
Description: >-
Do not omit the accumulator when calling `next`
in a `reduce`/`inject` block.
Enabled: true
Expand Down Expand Up @@ -3153,7 +3153,7 @@ Style/ClassMethodsDefinitions:
StyleGuide: '#def-self-class-methods'
Enabled: false
VersionAdded: '0.89'
EnforcedStyle: def_self
EnforcedStyle: def_self
SupportedStyles:
- def_self
- self_class
Expand Down Expand Up @@ -3815,8 +3815,8 @@ Style/InverseMethods:
:>: :<=
# `ActiveSupport` defines some common inverse methods. They are listed below,
# and not enabled by default.
#:present?: :blank?,
#:include?: :exclude?
# :present?: :blank?,
# :include?: :exclude?
# `InverseBlocks` are methods that are inverted by inverting the return
# of the block that is passed to the method
InverseBlocks:
Expand Down
2 changes: 1 addition & 1 deletion lib/chefstyle/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true
module Chefstyle
VERSION = "2.2.1"
RUBOCOP_VERSION = "1.25.0"
RUBOCOP_VERSION = "1.25.1"
end

0 comments on commit adadebd

Please sign in to comment.