Bump rubocop from 1.25.0 to 1.25.1
Bumps rubocop from 1.25.0 to 1.25.1.
Release notes
Sourced from rubocop's releases.
RuboCop 1.25.1
Bug fixes
- #10359: Fix a false positive and negative for
Style/HashSyntax
when using hash value omission. (@koic
)- #10387: Fix an error for
Style/RedundantBegin
when assigning nestedbegin
blocks. (@koic
)- #10366: Fix a false positive for
Style/MethodCallWithArgsParentheses
when settingEnforcedStyle: omit_parentheses
and using hash value omission with modifier from. (@koic
)- #10376: Fix an error for
Layout/RescueEnsureAlignment
when using.()
call with block. (@koic
)- #10364: Fix an infinite loop error for
Layout/HashAlignment
whenEnforcedStyle: with_fixed_indentation
is specified forLayout/ArgumentAlignment
. (@koic
)- #10371: Fix a false negative for
Style/HashSyntax
whenHash[foo: foo]
or{foo: foo}
is followed by a next expression. (@koic
)- #10394: Fix an error for
Style/SwapValues
when assigning receiver object atdef
. (@koic
)- #10379: Fix an error for
Layout/EmptyLinesAroundExceptionHandlingKeywords
whenrescue
andend
are on the same line. (@koic
)
Changelog
Sourced from rubocop's changelog.
1.25.1 (2022-02-03)
Bug fixes
- #10359: Fix a false positive and negative for
Style/HashSyntax
when using hash value omission. ([@koic
][])- #10387: Fix an error for
Style/RedundantBegin
when assigning nestedbegin
blocks. ([@koic
][])- #10366: Fix a false positive for
Style/MethodCallWithArgsParentheses
when settingEnforcedStyle: omit_parentheses
and using hash value omission with modifier from. ([@koic
][])- #10376: Fix an error for
Layout/RescueEnsureAlignment
when using.()
call with block. ([@koic
][])- #10364: Fix an infinite loop error for
Layout/HashAlignment
whenEnforcedStyle: with_fixed_indentation
is specified forLayout/ArgumentAlignment
. ([@koic
][])- #10371: Fix a false negative for
Style/HashSyntax
whenHash[foo: foo]
or{foo: foo}
is followed by a next expression. ([@koic
][])- #10394: Fix an error for
Style/SwapValues
when assigning receiver object atdef
. ([@koic
][])- #10379: Fix an error for
Layout/EmptyLinesAroundExceptionHandlingKeywords
whenrescue
andend
are on the same line. ([@koic
][])
Commits
-
f096012
Cut 1.25.1 -
3fe51a3
Update Changelog -
ab1e5b7
Address complexity rubocop issues -
2ca25cd
Update auto-gen-config's comment re auto-correct -
38b8c78
[Fix #10364] Fix an infinite loop error forStyle/HashAlignment
-
7e09781
[Fix #10394] Fix an error forStyle/SwapValues
-
0bbc02e
Merge pull request #10391 from koic/fix_an_error_for_style_redundant_begin -
a482741
[Fix #10387] Fix an error forStyle/RedundantBegin
-
ca6de59
Start linting our YAML files -
b3bfd9f
Merge pull request #10389 from rubocop/upgrade-rubocop-rspec - Additional commits viewable in compare view
Dependabot commands
You can trigger Dependabot actions by commenting on this MR
-
@dependabot-bot rebase
will rebase this MR -
@dependabot-bot recreate
will recreate this MR rewriting all the manual changes and resolving conflicts