Update rubocop 1.57.1 → 1.57.2 (patch)
Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.
What changed?
✳ ️ rubocop (1.57.1 → 1.57.2) · Repo · Changelog
Release Notes
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)
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 28 commits:
Cut 1.57.2
Update Changelog
Fix a changelog entry
[Fix #12312] Fix an incorrect autocorrect for `Style/HashSyntax`
[Fix #12310] Drop `base64` gem from runtime dependency
[Fix #12307] Fix an infinite loop error for `Layout/EndAlignment`
Tweak offense message for `Lint/Void`
[Fix #12274] Fix a false positive for `Lint/Void`
[Fix #11652] Generate inherit_from correctly also with ERB
Merge pull request #12304 from koic/fix_error_for_style_identical_conditional_branches
[Fix 12300] Fix an error for `Style/IdenticalConditionalBranches`
Merge pull request #12285 from koic/fix_false_positives_for_style_single_argument_dig
Merge pull request #12302 from koic/make_style_redundant_filter_chain_aware_of_safe_navigation
[Fix #12301] Make `Style/RedundantFilterChain` aware of safe navigation
Merge pull request #12299 from koic/fix_a_false_positive_for_style_redundant_parentheses
[Fix #12298] Fix a false positive for `Style/RedundantParentheses`
Merge pull request #12294 from koic/fix_a_false_positive_for_style_redundant_double_splat_hash_braces
Merge pull request #12292 from koic/fix_a_false_positive_for_metrics_class_length
[Fix #12293] Fix a false positive for `Style/RedundantDoubleSplatHashBraces`
[Fix #12291] Fix a false positive for `Metrics/ClassLength`
Merge pull request #12288 from koic/fix_false_positive_for_style_redundant_double_splat_hash_braces
[Fix #12286] Fix false positives for `Style/RedundantDoubleSplatHashBraces`
[Fix #12284] Fix false positives for `Style/SingleArgumentDig`
Merge pull request #12283 from koic/fix_an_error_for_style_single_line_do_end_block
Fix an error for `Style/SingleLineDoEndBlock`
[Fix #12279] Fix false positives for `Lint/EmptyConditionalBody`
[Fix #12275] Fix a false positive for `Style/RedundantDoubleSplatHashBraces`
Switch back the docs version
↗ ️ rubocop-ast (indirect, 1.29.0 → 1.30.0) · Repo · Changelog
Commits
See the full diff on Github. The new version differs by 12 commits:
Cut 1.30.0
Update Changelog
Add `BlockNode#{first,last}_argument` helpers
Fix "Chacks" -> "Checks" typo
Suppress `RSpec/FilePath`'s offense
Fix duplicate contributor names when generating changelog
Use RuboCop RSpec 2.24
Suppress `Performance/MapMethodChain` cop's offenses
Fix a typo
Bump paambaati/codeclimate-action from 3.2.0 to 5.0.0
Suppress a warning for a custom cop
Restore docs/antora.yml
🗑 ️ base64 (removed)
Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase
.
All Depfu comment commands
- @depfu rebase
- Rebases against your default branch and redoes this update
- @depfu recreate
- Recreates this PR, overwriting any edits that you've made to it
- @depfu merge
- Merges this PR once your tests are passing and conflicts are resolved
- @depfu cancel merge
- Cancels automatic merging of this PR
- @depfu close
- Closes this PR and deletes the branch
- @depfu reopen
- Restores the branch and reopens this PR (if it's closed)
- @depfu pause
- Ignores all future updates for this dependency and closes this PR
- @depfu pause [minor|major]
- Ignores all future minor/major updates for this dependency and closes this PR
- @depfu resume
- Future versions of this dependency will create PRs again (leaves this PR as is)