dep: bump rubocop from 1.9.0 to 1.9.1
Bumps rubocop from 1.9.0 to 1.9.1.
Release notes
Sourced from rubocop's releases.
RuboCop 1.9.1
New features
- #9459: Add
AllowedMethods
option toStyle/IfWithBooleanLiteralBranches
and setnonzero?
as default value. (@koic
)Bug fixes
- #9431: Fix an error for
Style/DisableCopsWithinSourceCodeDirective
when using leading source comment. (@koic
)- #9444: Fix error on colorization for offenses with
Severity: info
. (@tejasbubane
)- #9448: Fix an error for
Style/SoleNestedConditional
when using nestedunless
modifier with a single expression condition. (@koic
)- #9449: Fix an error for
Style/NilComparison
when usingx == nil
as a guard condition'. (@koic
)- #9440: Fix
Lint/SymbolConversion
for implicitto_sym
without a receiver. (@dvandersluis
)- #9453: Fix infinite loop error for
Layout/FirstParameterIndentation
whenEnforcedStyle: with_fixed_indentation
is specified forLayout/ArgumentAlignment
. (@koic
)- #9466: Don't correct
Style/SingleLineMethods
using endless methods if the target ruby is < 3.0. (@dvandersluis
)- #9455: Fix a false positive for
Lint/SymbolConversion
when hash keys that contain":"
. (@koic
)- #9454: Fix an incorrect auto-correct for
Style/IfWithBooleanLiteralBranches
when usingelsif do_something?
with boolean literal branches. (@koic
)- #9438: Fix a false positive for
Layout/SpaceBeforeBrackets
when space is used in left bracket. (@koic
)- #9457: Fix a false positive for
Lint/SymbolConversion
when hash keys that end with=
. (@koic
)- #9473: Fix an error for
Lint/DeprecatedConstants
when using__ENCODING__
. (@koic
)- #9452: Fix
StyleGuideBaseURL
not functioning with nested departments. (@tas50
)- #9465: Update
Metrics/ParameterLists
to be able to writeMaxOptionalParameters
in rubocop_todo.yml. (@dvandersluis
)- #9433: Fix an error for
Style/EvalWithLocation
when using eval with block argument. (@koic
)Changes
- #9437: Improve offense message when there is an allowed range of empty lines. (
@dvandersluis
)- #9476: Mark
Style/IfWithBooleanLiteralBranche
as unsafe auto-correction. (@koic
)
Changelog
Sourced from rubocop's changelog.
1.9.1 (2021-02-01)
New features
- #9459: Add
AllowedMethods
option toStyle/IfWithBooleanLiteralBranches
and setnonzero?
as default value. ([@koic
][])Bug fixes
- #9431: Fix an error for
Style/DisableCopsWithinSourceCodeDirective
when using leading source comment. ([@koic
][])- #9444: Fix error on colorization for offenses with
Severity: info
. ([@tejasbubane
][])- #9448: Fix an error for
Style/SoleNestedConditional
when using nestedunless
modifier with a single expression condition. ([@koic
][])- #9449: Fix an error for
Style/NilComparison
when usingx == nil
as a guard condition'. ([@koic
][])- #9440: Fix
Lint/SymbolConversion
for implicitto_sym
without a receiver. ([@dvandersluis
][])- #9453: Fix infinite loop error for
Layout/FirstParameterIndentation
whenEnforcedStyle: with_fixed_indentation
is specified forLayout/ArgumentAlignment
. ([@koic
][])- #9466: Don't correct
Style/SingleLineMethods
using endless methods if the target ruby is < 3.0. ([@dvandersluis
][])- #9455: Fix a false positive for
Lint/SymbolConversion
when hash keys that contain":"
. ([@koic
][])- #9454: Fix an incorrect auto-correct for
Style/IfWithBooleanLiteralBranches
when usingelsif do_something?
with boolean literal branches. ([@koic
][])- #9438: Fix a false positive for
Layout/SpaceBeforeBrackets
when space is used in left bracket. ([@koic
][])- #9457: Fix a false positive for
Lint/SymbolConversion
when hash keys that end with=
. ([@koic
][])- #9473: Fix an error for
Lint/DeprecatedConstants
when using__ENCODING__
. ([@koic
][])- #9452: Fix
StyleGuideBaseURL
not functioning with nested departments. ([@tas50
][])- #9465: Update
Metrics/ParameterLists
to be able to writeMaxOptionalParameters
in rubocop_todo.yml. ([@dvandersluis
][])- #9433: Fix an error for
Style/EvalWithLocation
when using eval with block argument. ([@koic
][])Changes
- #9437: Improve offense message when there is an allowed range of empty lines. ([
@dvandersluis
][])- #9476: Mark
Style/IfWithBooleanLiteralBranche
as unsafe auto-correction. ([@koic
][])
Commits
-
9624818
Cut 1.9.1 -
26b188c
Update Changelog -
72c94e9
[Fix #9453] Fix an infinite loop error forLayout/FirstParameterIndentation
-
2c2a8e3
[Fix #9465] UpdateMetrics/ParameterLists
to be able to write `MaxOptionalP... -
61627d6
DeprecateConfigurableMax
in favour ofExcludeLimit
which allows multiple... -
851741b
Merge pull request #9485 from koic/support_co_contributor_signature -
fbae4aa
Support co-contributor signature for changelog build -
b614ba8
Avoid tap. -
3ef92bb
FixStyleGuideBaseURL
not functioning with nested departments -
5870d6d
MarkStyle/IfWithBooleanLiteralBranche
as unsafe auto-correction - Additional commits viewable in compare view