yegor256 / blog

My blog about computers, written in Jekyll and deployed to GitHub Pages
https://www.yegor256.com
Other
115 stars 62 forks source link

Update dependency rubocop to v1.59.0 #646

Closed renovate[bot] closed 9 months ago

renovate[bot] commented 9 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
rubocop (source, changelog) '1.58.0' -> '1.59.0' age adoption passing confidence

Release Notes

rubocop/rubocop (rubocop) ### [`v1.59.0`](https://togithub.com/rubocop/rubocop/blob/HEAD/CHANGELOG.md#1590-2023-12-11) [Compare Source](https://togithub.com/rubocop/rubocop/compare/v1.58.0...v1.59.0) ##### New features - [#​12516](https://togithub.com/rubocop/rubocop/pull/12516): Add new `Lint/ItWithoutArgumentsInBlock` cop. (\[[@​koic](https://togithub.com/koic)]\[]) ##### Bug fixes - [#​12434](https://togithub.com/rubocop/rubocop/issues/12434): Fix a false positive for `Lint/LiteralAssignmentInCondition` when using interpolated string or xstring literals. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12435](https://togithub.com/rubocop/rubocop/issues/12435): Fix a false positive for `Lint/SelfAssignment` when using attribute assignment with method call with arguments. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12444](https://togithub.com/rubocop/rubocop/issues/12444): Fix false positive for `Style/HashEachMethods` when receiver literal is not a hash literal. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12524](https://togithub.com/rubocop/rubocop/issues/12524): Fix a false positive for `Style/MethodCallWithArgsParentheses` when `EnforcedStyle: omit_parentheses` and parens in `when` clause is used to pass an argument. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12505](https://togithub.com/rubocop/rubocop/pull/12505): Fix a false positive for `Style/RedundantParentheses` when using parenthesized `lambda` or `proc` with `do`...`end` block. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12442](https://togithub.com/rubocop/rubocop/issues/12442): Fix an incorrect autocorrect for `Style/CombinableLoops` when looping over the same data as previous loop in `do`...`end` and `{`...`}` blocks. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12432](https://togithub.com/rubocop/rubocop/pull/12432): Fix a false positive for `Lint/LiteralAssignmentInCondition` when using parallel assignment with splat operator in block of guard condition. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12441](https://togithub.com/rubocop/rubocop/issues/12441): Fix false positives for `Style/HashEachMethods` when using destructed block arguments. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12436](https://togithub.com/rubocop/rubocop/issues/12436): Fix false positives for `Style/RedundantParentheses` when a part of range is a parenthesized condition. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12429](https://togithub.com/rubocop/rubocop/issues/12429): Fix incorrect autocorrect for `Style/MapToHash` when using dot method calls for `to_h`. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12488](https://togithub.com/rubocop/rubocop/issues/12488): Make `Lint/HashCompareByIdentity` aware of safe navigation operator. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12489](https://togithub.com/rubocop/rubocop/issues/12489): Make `Lint/NextWithoutAccumulator` aware of safe navigation operator. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12490](https://togithub.com/rubocop/rubocop/issues/12490): Make `Lint/NumberConversion` aware of safe navigation operator. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12491](https://togithub.com/rubocop/rubocop/issues/12491): Make `Lint/RedundantWithIndex` aware of safe navigation operator. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12492](https://togithub.com/rubocop/rubocop/issues/12492): Make `Lint/RedundantWithObject` aware of safe navigation operator. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12493](https://togithub.com/rubocop/rubocop/issues/12493): Make `Lint/UnmodifiedReduceAccumulator` aware of safe navigation operator. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12473](https://togithub.com/rubocop/rubocop/issues/12473): Make `Style/ClassCheck` aware of safe navigation operator. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12445](https://togithub.com/rubocop/rubocop/issues/12445): Make `Style/CollectionCompact` aware of safe navigation operator. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12474](https://togithub.com/rubocop/rubocop/issues/12474): Make `Style/ConcatArrayLiterals` aware of safe navigation operator. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12476](https://togithub.com/rubocop/rubocop/issues/12476): Make `Style/DateTime` aware of safe navigation operator. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12479](https://togithub.com/rubocop/rubocop/issues/12479): Make `Style/EachWithObject` aware of safe navigation operator. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12446](https://togithub.com/rubocop/rubocop/issues/12446): Make `Style/HashExcept` aware of safe navigation operator. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12447](https://togithub.com/rubocop/rubocop/issues/12447): Make `Style/MapCompactWithConditionalBlock` aware of safe navigation operator. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12484](https://togithub.com/rubocop/rubocop/issues/12484): Make `Style/Next` aware of safe navigation operator. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12486](https://togithub.com/rubocop/rubocop/issues/12486): Make `Style/RedundantArgument` aware of safe navigation operator. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12454](https://togithub.com/rubocop/rubocop/issues/12454): Make `Style/RedundantFetchBlock` aware of safe navigation operator. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12495](https://togithub.com/rubocop/rubocop/issues/12495): Make `Layout/RedundantLineBreak` aware of safe navigation operator. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12455](https://togithub.com/rubocop/rubocop/issues/12455): Make `Style/RedundantSortBy` aware of safe navigation operator. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12456](https://togithub.com/rubocop/rubocop/issues/12456): Make `Style/RedundantSortBy` aware of safe navigation operator. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12480](https://togithub.com/rubocop/rubocop/issues/12480): Make `Style/ExactRegexpMatch` aware of safe navigation operator. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12457](https://togithub.com/rubocop/rubocop/issues/12457): Make `Style/Sample` aware of safe navigation operator. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12458](https://togithub.com/rubocop/rubocop/issues/12458): Make `Style/SelectByRegexp` cops aware of safe navigation operator. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12494](https://togithub.com/rubocop/rubocop/issues/12494): Make `Layout/SingleLineBlockChain` aware of safe navigation operator. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12461](https://togithub.com/rubocop/rubocop/issues/12461): Make `Style/StringChars` aware of safe navigation operator. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12468](https://togithub.com/rubocop/rubocop/issues/12468): Make `Style/Strip` aware of safe navigation operator. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12469](https://togithub.com/rubocop/rubocop/issues/12469): Make `Style/UnpackFirst` aware of safe navigation operator. (\[[@​koic](https://togithub.com/koic)]\[]) ##### Changes - [#​12522](https://togithub.com/rubocop/rubocop/pull/12522): Make `Style/MethodCallWithoutArgsParentheses` allow the parenthesized `it` method in a block. (\[[@​koic](https://togithub.com/koic)]\[]) - [#​12523](https://togithub.com/rubocop/rubocop/pull/12523): Make `Style/RedundantSelf` allow the `self.it` method in a block. (\[[@​koic](https://togithub.com/koic)]\[])

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by Mend Renovate. View repository job log here.

yegor256 commented 9 months ago

@rultor please, try to merge, since 1 checks have passed

rultor commented 9 months ago

@rultor please, try to merge, since 1 checks have passed

@yegor256 OK, I'll try to merge now. You can check the progress of the merge here

rultor commented 9 months ago

@rultor please, try to merge, since 1 checks have passed

@yegor256 Done! FYI, the full log is here (took me 37min)