Skip to content

Commit a97e49a

Browse files
authored
Bump rubocop from 1.79.2 to 1.80.0 (#1054)
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.79.2 to 1.80.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/rubocop/rubocop/releases">rubocop's releases</a>.</em></p> <blockquote> <h2>RuboCop v1.80.0</h2> <h3>Bug fixes</h3> <ul> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/14469">#14469</a>: Fix an incorrect autocorrect for <code>Style/BitwisePredicate</code> when using <code>&amp;</code> with LHS flags in conjunction with <code>==</code> for comparisons. (<a href="https://github.com/koic"><code>@​koic</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14459">#14459</a>: Fix wrong autocorrect for <code>Style/For</code> with save navigation in the collection. (<a href="https://github.com/earlopain"><code>@​earlopain</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/14435">#14435</a>: Fix false negatives for regexp cops when <code>Lint/DuplicateRegexpCharacterClassElement</code> is enabled. (<a href="https://github.com/earlopain"><code>@​earlopain</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/14419">#14419</a>: Fix false positives for <code>Lint/UselessAssignment</code> when duplicate assignments appear in nested <code>if</code> branches inside a loop and the variable is used outside <code>while</code> loop. (<a href="https://github.com/koic"><code>@​koic</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/14468">#14468</a>: Fix false positives for <code>Naming/MethodName</code> when an operator method is defined using a string. (<a href="https://github.com/koic"><code>@​koic</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14427">#14427</a>: Fix false positives for <code>Style/RedundantParentheses</code> when <code>do</code>...<code>end</code> block is wrapped in parentheses as a method argument. (<a href="https://github.com/koic"><code>@​koic</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/14441">#14441</a>: Better hash access handling in <code>Style/SafeNavigation</code>. (<a href="https://github.com/issyl0"><code>@​issyl0</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/14443">#14443</a>: Fix false positive in <code>Layout/EmptyLinesAfterModuleInclusion</code> when <code>include</code> does not have exactly one argument. (<a href="https://github.com/issyl0"><code>@​issyl0</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14424">#14424</a>: Fix <code>Style/SafeNavigation</code> cop to preserve existing safe navigation in fixed code. (<a href="https://github.com/martinemde"><code>@​martinemde</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14455">#14455</a>: Follow module inclusion with nonzero args with an empty line. (<a href="https://github.com/issyl0"><code>@​issyl0</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/14445">#14445</a>: Fix false positives for <code>Lint/UselessAssignment</code> with <code>for</code> loops when the variable is referenced in the collection. (<a href="https://github.com/earlopain"><code>@​earlopain</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14447">#14447</a>: Fix wrong autocorrect for <code>Style/RedundantCondition</code> with a parenthesised method call in the condition. (<a href="https://github.com/earlopain"><code>@​earlopain</code></a>)</li> </ul> <h3>Changes</h3> <ul> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14428">#14428</a>: Enhance <code>Lint/SelfAssignment</code> to handle indexed assignment with multiple arguments. (<a href="https://github.com/viralpraxis"><code>@​viralpraxis</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14464">#14464</a>: Exclude <code>AutoCorrect</code> and <code>Include</code> from configuration parameters. (<a href="https://github.com/r7kamura"><code>@​r7kamura</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14472">#14472</a>: Make <code>Style/RedundantBegin</code> aware of <code>case</code> pattern matching. (<a href="https://github.com/koic"><code>@​koic</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14448">#14448</a>: Register array intersection size checks as offenses under <code>Style/ArrayIntersect</code>. (<a href="https://github.com/lovro-bikic"><code>@​lovro-bikic</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14431">#14431</a>: Support LSP <code>TextDocumentSyncKind.Incremental</code>. (<a href="https://github.com/tmtm"><code>@​tmtm</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/14453">#14453</a>: Update <code>Style/RedundantBegin</code> to register <code>begin</code> blocks inside <code>if</code>, <code>unless</code>, <code>case</code>, <code>while</code> and <code>until</code> as redundant. (<a href="https://github.com/dvandersluis"><code>@​dvandersluis</code></a>)</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md">rubocop's changelog</a>.</em></p> <blockquote> <h2>1.80.0 (2025-08-22)</h2> <h3>Bug fixes</h3> <ul> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/14469">#14469</a>: Fix an incorrect autocorrect for <code>Style/BitwisePredicate</code> when using <code>&amp;</code> with LHS flags in conjunction with <code>==</code> for comparisons. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14459">#14459</a>: Fix wrong autocorrect for <code>Style/For</code> with save navigation in the collection. ([<a href="https://github.com/earlopain"><code>@​earlopain</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/14435">#14435</a>: Fix false negatives for regexp cops when <code>Lint/DuplicateRegexpCharacterClassElement</code> is enabled. ([<a href="https://github.com/earlopain"><code>@​earlopain</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/14419">#14419</a>: Fix false positives for <code>Lint/UselessAssignment</code> when duplicate assignments appear in nested <code>if</code> branches inside a loop and the variable is used outside <code>while</code> loop. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/14468">#14468</a>: Fix false positives for <code>Naming/MethodName</code> when an operator method is defined using a string. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14427">#14427</a>: Fix false positives for <code>Style/RedundantParentheses</code> when <code>do</code>...<code>end</code> block is wrapped in parentheses as a method argument. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/14441">#14441</a>: Better hash access handling in <code>Style/SafeNavigation</code>. ([<a href="https://github.com/issyl0"><code>@​issyl0</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/14443">#14443</a>: Fix false positive in <code>Layout/EmptyLinesAfterModuleInclusion</code> when <code>include</code> does not have exactly one argument. ([<a href="https://github.com/issyl0"><code>@​issyl0</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14424">#14424</a>: Fix <code>Style/SafeNavigation</code> cop to preserve existing safe navigation in fixed code. ([<a href="https://github.com/martinemde"><code>@​martinemde</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14455">#14455</a>: Follow module inclusion with nonzero args with an empty line. ([<a href="https://github.com/issyl0"><code>@​issyl0</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/14445">#14445</a>: Fix false positives for <code>Lint/UselessAssignment</code> with <code>for</code> loops when the variable is referenced in the collection. ([<a href="https://github.com/earlopain"><code>@​earlopain</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14447">#14447</a>: Fix wrong autocorrect for <code>Style/RedundantCondition</code> with a parenthesised method call in the condition. ([<a href="https://github.com/earlopain"><code>@​earlopain</code></a>][])</li> </ul> <h3>Changes</h3> <ul> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14428">#14428</a>: Enhance <code>Lint/SelfAssignment</code> to handle indexed assignment with multiple arguments. ([<a href="https://github.com/viralpraxis"><code>@​viralpraxis</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14464">#14464</a>: Exclude <code>AutoCorrect</code> and <code>Include</code> from configuration parameters. ([<a href="https://github.com/r7kamura"><code>@​r7kamura</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14472">#14472</a>: Make <code>Style/RedundantBegin</code> aware of <code>case</code> pattern matching. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14448">#14448</a>: Register array intersection size checks as offenses under <code>Style/ArrayIntersect</code>. ([<a href="https://github.com/lovro-bikic"><code>@​lovro-bikic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14431">#14431</a>: Support LSP <code>TextDocumentSyncKind.Incremental</code>. ([<a href="https://github.com/tmtm"><code>@​tmtm</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/14453">#14453</a>: Update <code>Style/RedundantBegin</code> to register <code>begin</code> blocks inside <code>if</code>, <code>unless</code>, <code>case</code>, <code>while</code> and <code>until</code> as redundant. ([<a href="https://github.com/dvandersluis"><code>@​dvandersluis</code></a>][])</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/rubocop/rubocop/commit/732ee2975e440e5753e56c4bbc832a4b7087e596"><code>732ee29</code></a> Cut 1.80</li> <li><a href="https://github.com/rubocop/rubocop/commit/39a158f9e2e445719d878a394a9267ea3f1e6d98"><code>39a158f</code></a> Update Changelog</li> <li><a href="https://github.com/rubocop/rubocop/commit/2b7e6add50e341a43f2e082d7ac3edcbb785759a"><code>2b7e6ad</code></a> Make <code>Style/RedundantBegin</code> aware of <code>case</code> pattern matching</li> <li><a href="https://github.com/rubocop/rubocop/commit/570889af86b0385afe96678312dbac0fa4b56d93"><code>570889a</code></a> [Fix <a href="https://redirect.github.com/rubocop/rubocop/issues/14469">#14469</a>] Fix an incorrect autocorrect for <code>Style/BitwisePredicate</code></li> <li><a href="https://github.com/rubocop/rubocop/commit/a39b602e30ae485e65db47361cf543a893a94a87"><code>a39b602</code></a> [Fix <a href="https://redirect.github.com/rubocop/rubocop/issues/14468">#14468</a>] Fix false positives for <code>Naming/MethodName</code></li> <li><a href="https://github.com/rubocop/rubocop/commit/ea47b4afa143f6b35cdb7023b6a9e278d448ee2a"><code>ea47b4a</code></a> Optimize hidden files logic in TargetFinder</li> <li><a href="https://github.com/rubocop/rubocop/commit/7cb7438b1a1c420f314c1b4ed35fb007c75870d5"><code>7cb7438</code></a> Register array intersection size checks as offenses under Style/ArrayIntersect</li> <li><a href="https://github.com/rubocop/rubocop/commit/0bd61aae17e2c380d1950b6496e9e19825dc00b1"><code>0bd61aa</code></a> Use <code>RuboCop::AST::Node#basic_conditional?</code></li> <li><a href="https://github.com/rubocop/rubocop/commit/61483991641f6079d08beefa4057f91111e11cf2"><code>6148399</code></a> Exclude <code>AutoCorrect</code> and <code>Include</code> from configuration parameters</li> <li><a href="https://github.com/rubocop/rubocop/commit/a08b607aa376e679562c577fbb43f2690eea4d89"><code>a08b607</code></a> [Fix <a href="https://redirect.github.com/rubocop/rubocop/issues/14453">#14453</a>] Update <code>Style/RedundantBegin</code> to register <code>begin</code> blocks inside ...</li> <li>Additional commits viewable in <a href="https://github.com/rubocop/rubocop/compare/v1.79.2...v1.80.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=rubocop&package-manager=bundler&previous-version=1.79.2&new-version=1.80.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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) </details>
2 parents bb048f9 + 317c206 commit a97e49a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Gemfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -664,7 +664,7 @@ GEM
664664
rswag-ui (2.16.0)
665665
actionpack (>= 5.2, < 8.1)
666666
railties (>= 5.2, < 8.1)
667-
rubocop (1.79.2)
667+
rubocop (1.80.0)
668668
json (~> 2.3)
669669
language_server-protocol (~> 3.17.0.2)
670670
lint_roller (~> 1.1.0)
@@ -787,7 +787,7 @@ GEM
787787
uglifier (4.2.1)
788788
execjs (>= 0.3.0, < 3)
789789
unf (0.2.0)
790-
unicode-display_width (3.1.4)
790+
unicode-display_width (3.1.5)
791791
unicode-emoji (~> 4.0, >= 4.0.4)
792792
unicode-emoji (4.0.4)
793793
uri (1.0.3)

0 commit comments

Comments
 (0)