config/default.yml in rubocop-1.25.0 vs config/default.yml in rubocop-1.25.1
- old
+ new
@@ -428,17 +428,17 @@
module_inclusion:
- include
- 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.'
Enabled: true
VersionAdded: '0.57'
@@ -1898,11 +1898,11 @@
Description: 'Checks for nested percent literals.'
Enabled: true
VersionAdded: '0.52'
Lint/NextWithoutAccumulator:
- Description: >-
+ Description: >-
Do not omit the accumulator when calling `next`
in a `reduce`/`inject` block.
Enabled: true
VersionAdded: '0.36'
@@ -3151,11 +3151,11 @@
Style/ClassMethodsDefinitions:
Description: 'Enforces using `def self.method_name` or `class << self` to define class methods.'
StyleGuide: '#def-self-class-methods'
Enabled: false
VersionAdded: '0.89'
- EnforcedStyle: def_self
+ EnforcedStyle: def_self
SupportedStyles:
- def_self
- self_class
Style/ClassVars:
@@ -3813,11 +3813,11 @@
:=~: :!~
:<: :>=
:>: :<=
# `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:
:select: :reject
:select!: :reject!