Commit 92dedee
authored
Build(deps-dev): Bump rubocop from 1.76.1 to 1.76.2 (#873)
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.76.1 to
1.76.2.
<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.76.2</h2>
<h3>Bug fixes</h3>
<ul>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/14273">#14273</a>:
Fix an error for <code>Lint/EmptyInterpolation</code> when using a
boolean literal inside interpolation. (<a
href="https://github.com/koic"><code>@koic</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/14260">#14260</a>:
Fix an error for <code>Lint/UselessDefaultValueArgument</code> when
<code>fetch</code> call without a receiver. (<a
href="https://github.com/koic"><code>@koic</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/14267">#14267</a>:
Fix an error for <code>Style/ConditionalAssignment</code> cop when using
one-line branches. (<a
href="https://github.com/viralpraxis"><code>@viralpraxis</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/14275">#14275</a>:
Fix false positives for <code>Style/RedundantParentheses</code> when
using parenthesized one-line pattern matching in endless method
definition. (<a
href="https://github.com/koic"><code>@koic</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/14269">#14269</a>:
Fix false positives for <code>Style/RedundantSelf</code> when local
variable assignment name is used in nested <code>if</code>. (<a
href="https://github.com/koic"><code>@koic</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/14286">#14286</a>:
Fix incorrect autocorrect for <code>Lint/SafeNavigationChain</code> when
a safe navigation is used on the left-hand side of a <code>-</code>
operator when inside an array. (<a
href="https://github.com/koic"><code>@koic</code></a>)</li>
</ul>
<h3>Changes</h3>
<ul>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/14232">#14232</a>:
Add <code>AllowedPatterns</code> and <code>AllowBangMethods</code>
configuration to <code>Naming/PredicateMethod</code>. (<a
href="https://github.com/dvandersluis"><code>@dvandersluis</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/14268">#14268</a>:
Register operator expression range boundaries as offenses in
<code>Lint/AmbiguousRange</code>. (<a
href="https://github.com/lovro-bikic"><code>@lovro-bikic</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/14264">#14264</a>:
Offend access modifiers used on top-level in
<code>Lint/UselessAccessModifier</code>. (<a
href="https://github.com/lovro-bikic"><code>@lovro-bikic</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/14278">#14278</a>:
Register conditions wrapped in parentheses as offenses in
<code>Style/MinMaxComparison</code>. (<a
href="https://github.com/lovro-bikic"><code>@lovro-bikic</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.76.2 (2025-06-17)</h2>
<h3>Bug fixes</h3>
<ul>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/14273">#14273</a>:
Fix an error for <code>Lint/EmptyInterpolation</code> when using a
boolean literal inside interpolation. ([<a
href="https://github.com/koic"><code>@koic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/14260">#14260</a>:
Fix an error for <code>Lint/UselessDefaultValueArgument</code> when
<code>fetch</code> call without a receiver. ([<a
href="https://github.com/koic"><code>@koic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/14267">#14267</a>:
Fix an error for <code>Style/ConditionalAssignment</code> cop when using
one-line branches. ([<a
href="https://github.com/viralpraxis"><code>@viralpraxis</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/14275">#14275</a>:
Fix false positives for <code>Style/RedundantParentheses</code> when
using parenthesized one-line pattern matching in endless method
definition. ([<a
href="https://github.com/koic"><code>@koic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/14269">#14269</a>:
Fix false positives for <code>Style/RedundantSelf</code> when local
variable assignment name is used in nested <code>if</code>. ([<a
href="https://github.com/koic"><code>@koic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/14286">#14286</a>:
Fix incorrect autocorrect for <code>Lint/SafeNavigationChain</code> when
a safe navigation is used on the left-hand side of a <code>-</code>
operator when inside an array. ([<a
href="https://github.com/koic"><code>@koic</code></a>][])</li>
</ul>
<h3>Changes</h3>
<ul>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/14232">#14232</a>:
Add <code>AllowedPatterns</code> and <code>AllowBangMethods</code>
configuration to <code>Naming/PredicateMethod</code>. ([<a
href="https://github.com/dvandersluis"><code>@dvandersluis</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/14268">#14268</a>:
Register operator expression range boundaries as offenses in
<code>Lint/AmbiguousRange</code>. ([<a
href="https://github.com/lovro-bikic"><code>@lovro-bikic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/14264">#14264</a>:
Offend access modifiers used on top-level in
<code>Lint/UselessAccessModifier</code>. ([<a
href="https://github.com/lovro-bikic"><code>@lovro-bikic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/14278">#14278</a>:
Register conditions wrapped in parentheses as offenses in
<code>Style/MinMaxComparison</code>. ([<a
href="https://github.com/lovro-bikic"><code>@lovro-bikic</code></a>][])</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/rubocop/rubocop/commit/3676d664880673ab9c439272e69547796d8dfdee"><code>3676d66</code></a>
Cut 1.76.2</li>
<li><a
href="https://github.com/rubocop/rubocop/commit/137e9915deb13de38ef4a3adfe6a424cd0dfe2b9"><code>137e991</code></a>
Update Changelog</li>
<li><a
href="https://github.com/rubocop/rubocop/commit/fa9946a5b14002eed1185ce4420f95e7387f4021"><code>fa9946a</code></a>
Fix typos in Configuration docs</li>
<li><a
href="https://github.com/rubocop/rubocop/commit/f242a4a87fe3aabc91d72a249413003d2ec58efd"><code>f242a4a</code></a>
Merge pull request <a
href="https://redirect.github.com/rubocop/rubocop/issues/14290">#14290</a>
from kozy4324/fix-misleading-message-in-it_block_pa...</li>
<li><a
href="https://github.com/rubocop/rubocop/commit/a509757ed868aef07dc0b7e768dda301c4775ada"><code>a509757</code></a>
Fix misleading message for using multi-line <code>it</code> parameter in
Style/ItBlockPa...</li>
<li><a
href="https://github.com/rubocop/rubocop/commit/391837c45ea3a79b4d0ee314953308ca05c86646"><code>391837c</code></a>
Merge pull request <a
href="https://redirect.github.com/rubocop/rubocop/issues/14289">#14289</a>
from duffuniverse/fix-typos-in-cops-docs</li>
<li><a
href="https://github.com/rubocop/rubocop/commit/d8fd3038378f7d007b42ce1e5139b72e85504ee4"><code>d8fd303</code></a>
Fix typos in Cops docs</li>
<li><a
href="https://github.com/rubocop/rubocop/commit/b7618fcc9df8030e01b4d6dcedd885a85ae12efa"><code>b7618fc</code></a>
[Doc] Tweak the doc for <code>Naming/PredicateMethod</code></li>
<li><a
href="https://github.com/rubocop/rubocop/commit/88859b10f3582794c5123ed7df3cacd793c8f53b"><code>88859b1</code></a>
Merge pull request <a
href="https://redirect.github.com/rubocop/rubocop/issues/14287">#14287</a>
from koic/fix_incorrect_autocorrect_for_lint_safe_n...</li>
<li><a
href="https://github.com/rubocop/rubocop/commit/d7072a42cfe0bd4e214a5bbfdd9e1929cdf46364"><code>d7072a4</code></a>
[Fix <a
href="https://redirect.github.com/rubocop/rubocop/issues/14286">#14286</a>]
Fix incorrect autocorrect for <code>Lint/SafeNavigationChain</code></li>
<li>Additional commits viewable in <a
href="https://github.com/rubocop/rubocop/compare/v1.76.1...v1.76.2">compare
view</a></li>
</ul>
</details>
<br />
[](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>1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
643 | 643 | | |
644 | 644 | | |
645 | 645 | | |
646 | | - | |
| 646 | + | |
647 | 647 | | |
648 | 648 | | |
649 | 649 | | |
650 | 650 | | |
651 | 651 | | |
652 | 652 | | |
653 | 653 | | |
654 | | - | |
| 654 | + | |
655 | 655 | | |
656 | 656 | | |
657 | 657 | | |
| |||
0 commit comments