deps-dev: bump rubocop from 1.57.1 to 1.57.2
Created by: dependabot[bot]
Bumps rubocop from 1.57.1 to 1.57.2.
Release notes
Sourced from rubocop's releases.
RuboCop 1.57.2
Bug fixes
- #12274: Fix a false positive for
Lint/Void
wheneach
's receiver is an object ofEnumerator
to whichfilter
has been applied. (@koic
)- #12291: Fix a false positive for
Metrics/ClassLength
when a class with a singleton class definition. (@koic
)- #12293: Fix a false positive for
Style/RedundantDoubleSplatHashBraces
when using double splat hash braces withmerge
and method chain. (@koic
)- #12298: Fix a false positive for
Style/RedundantParentheses
when using a parenthesized hash literal as the first argument in a method call without parentheses. (@koic
)- #12283: Fix an error for
Style/SingleLineDoEndBlock
when using single linedo
...end
with no body. (@koic
)- #12312: Fix an incorrect autocorrect for
Style/HashSyntax
when braced hash key and value are the same and it is used inif
...else
. (@koic
)- #12307: Fix an infinite loop error for
Layout/EndAlignment
whenEnforcedStyleAlignWith: variable
and using a conditional statement in a method argument on the same line andend
with method call is not aligned. (@koic
)- #11652: Make
--auto-gen-config
generateinherit_from
correctly inside ERBif
. (@jonas054
)- #12310: Drop
base64
gem from runtime dependency. (@koic
)- #12300: Fix an error for
Style/IdenticalConditionalBranches
whenif
...else
with identical leading lines and using index assign. (@koic
)- #12286: Fix false positives for
Style/RedundantDoubleSplatHashBraces
when using double splat with a hash literal enclosed in parenthesized ternary operator. (@koic
)- #12279: Fix false positives for
Lint/EmptyConditionalBody
when missing 2ndif
body with a comment. (@koic
)- #12275: Fix a false positive for
Style/RedundantDoubleSplatHashBraces
when using double splat within block argument containing a hash literal in an array literal. (@koic
)- #12284: Fix false positives for
Style/SingleArgumentDig
when using some anonymous argument syntax. (@koic
)- #12301: Make
Style/RedundantFilterChain
aware of safe navigation operator. (@koic
)
Changelog
Sourced from rubocop's changelog.
1.57.2 (2023-10-26)
Bug fixes
- #12274: Fix a false positive for
Lint/Void
wheneach
's receiver is an object ofEnumerator
to whichfilter
has been applied. ([@koic
][])- #12291: Fix a false positive for
Metrics/ClassLength
when a class with a singleton class definition. ([@koic
][])- #12293: Fix a false positive for
Style/RedundantDoubleSplatHashBraces
when using double splat hash braces withmerge
and method chain. ([@koic
][])- #12298: Fix a false positive for
Style/RedundantParentheses
when using a parenthesized hash literal as the first argument in a method call without parentheses. ([@koic
][])- #12283: Fix an error for
Style/SingleLineDoEndBlock
when using single linedo
...end
with no body. ([@koic
][])- #12312: Fix an incorrect autocorrect for
Style/HashSyntax
when braced hash key and value are the same and it is used inif
...else
. ([@koic
][])- #12307: Fix an infinite loop error for
Layout/EndAlignment
whenEnforcedStyleAlignWith: variable
and using a conditional statement in a method argument on the same line andend
with method call is not aligned. ([@koic
][])- #11652: Make
--auto-gen-config
generateinherit_from
correctly inside ERBif
. ([@jonas054
][])- #12310: Drop
base64
gem from runtime dependency. ([@koic
][])- #12300: Fix an error for
Style/IdenticalConditionalBranches
whenif
...else
with identical leading lines and using index assign. ([@koic
][])- #12286: Fix false positives for
Style/RedundantDoubleSplatHashBraces
when using double splat with a hash literal enclosed in parenthesized ternary operator. ([@koic
][])- #12279: Fix false positives for
Lint/EmptyConditionalBody
when missing 2ndif
body with a comment. ([@koic
][])- #12275: Fix a false positive for
Style/RedundantDoubleSplatHashBraces
when using double splat within block argument containing a hash literal in an array literal. ([@koic
][])- #12284: Fix false positives for
Style/SingleArgumentDig
when using some anonymous argument syntax. ([@koic
][])- #12301: Make
Style/RedundantFilterChain
aware of safe navigation operator. ([@koic
][])
Commits
-
47735ef
Cut 1.57.2 -
4ab3622
Update Changelog -
d995cb4
Fix a changelog entry -
d79ee4b
[Fix #12312] Fix an incorrect autocorrect forStyle/HashSyntax
-
b2b29da
[Fix #12310] Dropbase64
gem from runtime dependency -
36f62b6
[Fix #12307] Fix an infinite loop error forLayout/EndAlignment
-
34e77c6
Tweak offense message forLint/Void
-
7bedbf4
[Fix #12274] Fix a false positive forLint/Void
-
21cad51
[Fix #11652] Generate inherit_from correctly also with ERB -
41dda1f
Merge pull request #12304 from koic/fix_error_for_style_identical_conditional... - Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebase
will rebase this PR -
@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it -
@dependabot merge
will merge this PR after your CI passes on it -
@dependabot squash and merge
will squash and merge this PR after your CI passes on it -
@dependabot cancel merge
will cancel a previously requested merge and block automerging -
@dependabot reopen
will reopen this PR if it is closed -
@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot show <dependency name> ignore conditions
will show all of the ignore conditions of the specified dependency -
@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)