Commit 227e155
authored
Build(deps-dev): Bump rubocop from 1.75.6 to 1.75.8 (#857)
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.75.6 to
1.75.8.
<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.75.8</h2>
<h3>Bug fixes</h3>
<ul>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/14191">#14191</a>:
Fix <code>Lint/FloatComparison</code> cop to detect floating-point
number comparisons in <code>case</code> statements. (<a
href="https://github.com/daisuke"><code>@daisuke</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/14209">#14209</a>:
Fix an error for <code>Style/RedundantFormat</code> with invalid format
arguments. (<a
href="https://github.com/earlopain"><code>@earlopain</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/14200">#14200</a>:
Fix false positives for <code>Style/DefWithParentheses</code> when using
endless method definition with empty parentheses and a space before
<code>=</code>. (<a
href="https://github.com/koic"><code>@koic</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/14197">#14197</a>:
Fix infinite loop error for <code>EnforcedStyle:
with_fixed_indentation</code> of <code>Layout/ArgumentAlignment</code>
and <code>EnforcedStyle: consistent</code> of
<code>Layout/FirstArgumentIndentation</code> and
<code>Layout/HashAlignment</code>. (<a
href="https://github.com/koic"><code>@koic</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/14204">#14204</a>:
Fix <code>Layout/EmptyLinesAroundAccessModifier</code> cop error on
trailing access modifier. (<a
href="https://github.com/viralpraxis"><code>@viralpraxis</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/14198">#14198</a>:
Fix <code>Lint/DuplicateMethods</code> cop error on <code>to</code>
option is dynamically generated and <code>prefix</code> is enabled. (<a
href="https://github.com/viralpraxis"><code>@viralpraxis</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/14199">#14199</a>:
Fix wrong autocorrection for <code>Style/MapToHash</code> with
destructuring argument. (<a
href="https://github.com/lovro-bikic"><code>@lovro-bikic</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/14050">#14050</a>:
Modify condition for <code>rubocop:todo</code> EOL comment. (<a
href="https://github.com/jonas054"><code>@jonas054</code></a>)</li>
</ul>
<h2>RuboCop v1.75.7</h2>
<h3>Bug fixes</h3>
<ul>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/14185">#14185</a>:
Fix an error for <code>Style/IfUnlessModifierOfIfUnless</code> when
using nested modifier. (<a
href="https://github.com/koic"><code>@koic</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/14192">#14192</a>:
Fix negatives for <code>Layout/SpaceBeforeBrackets</code> when using
space between method argument parentheses and left bracket. (<a
href="https://github.com/koic"><code>@koic</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/14189">#14189</a>:
Fix incorrect autocorrect for <code>Layout/SpaceBeforeBrackets</code>
when using space between receiver and left brackets, and a space inside
left bracket. (<a
href="https://github.com/koic"><code>@koic</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/14170">#14170</a>:
Fix <code>Style/AccessModifierDeclarations</code> cop error on semicolon
after modifier. (<a
href="https://github.com/viralpraxis"><code>@viralpraxis</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/14195">#14195</a>:
Fix <code>Style/AccessModifierDeclarations</code> cop error on symbol
modifier without surrounding scope. (<a
href="https://github.com/viralpraxis"><code>@viralpraxis</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/14172">#14172</a>:
Fix <code>Style/AccessModifierDeclarations</code> cop false positives
when there are no method definitions and style is <code>inline</code>.
(<a
href="https://github.com/viralpraxis"><code>@viralpraxis</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/14193">#14193</a>:
Fix <code>Lint/UselessAssignment</code> cop error when using nested
assignment with splat. (<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/14188">#14188</a>:
Enhance <code>Gemspec/DuplicatedAssignment</code> cop to detect
duplicated indexed assignment. (<a
href="https://github.com/viralpraxis"><code>@viralpraxis</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/14183">#14183</a>:
Recognize <code>prefix</code> argument for <code>delegate</code> method
in <code>Lint/DuplicateMethods</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.75.8 (2025-05-28)</h2>
<h3>Bug fixes</h3>
<ul>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/14191">#14191</a>:
Fix <code>Lint/FloatComparison</code> cop to detect floating-point
number comparisons in <code>case</code> statements. ([<a
href="https://github.com/daisuke"><code>@daisuke</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/14209">#14209</a>:
Fix an error for <code>Style/RedundantFormat</code> with invalid format
arguments. ([<a
href="https://github.com/earlopain"><code>@earlopain</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/14200">#14200</a>:
Fix false positives for <code>Style/DefWithParentheses</code> when using
endless method definition with empty parentheses and a space before
<code>=</code>. ([<a
href="https://github.com/koic"><code>@koic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/14197">#14197</a>:
Fix infinite loop error for <code>EnforcedStyle:
with_fixed_indentation</code> of <code>Layout/ArgumentAlignment</code>
and <code>EnforcedStyle: consistent</code> of
<code>Layout/FirstArgumentIndentation</code> and
<code>Layout/HashAlignment</code>. ([<a
href="https://github.com/koic"><code>@koic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/14204">#14204</a>:
Fix <code>Layout/EmptyLinesAroundAccessModifier</code> cop error on
trailing access modifier. ([<a
href="https://github.com/viralpraxis"><code>@viralpraxis</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/14198">#14198</a>:
Fix <code>Lint/DuplicateMethods</code> cop error on <code>to</code>
option is dynamically generated and <code>prefix</code> is enabled. ([<a
href="https://github.com/viralpraxis"><code>@viralpraxis</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/14199">#14199</a>:
Fix wrong autocorrection for <code>Style/MapToHash</code> with
destructuring argument. ([<a
href="https://github.com/lovro-bikic"><code>@lovro-bikic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/14050">#14050</a>:
Modify condition for <code>rubocop:todo</code> EOL comment. ([<a
href="https://github.com/jonas054"><code>@jonas054</code></a>][])</li>
</ul>
<h2>1.75.7 (2025-05-21)</h2>
<h3>Bug fixes</h3>
<ul>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/14185">#14185</a>:
Fix an error for <code>Style/IfUnlessModifierOfIfUnless</code> when
using nested modifier. ([<a
href="https://github.com/koic"><code>@koic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/14192">#14192</a>:
Fix negatives for <code>Layout/SpaceBeforeBrackets</code> when using
space between method argument parentheses and left bracket. ([<a
href="https://github.com/koic"><code>@koic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/14189">#14189</a>:
Fix incorrect autocorrect for <code>Layout/SpaceBeforeBrackets</code>
when using space between receiver and left brackets, and a space inside
left bracket. ([<a
href="https://github.com/koic"><code>@koic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/14170">#14170</a>:
Fix <code>Style/AccessModifierDeclarations</code> cop error on semicolon
after modifier. ([<a
href="https://github.com/viralpraxis"><code>@viralpraxis</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/14195">#14195</a>:
Fix <code>Style/AccessModifierDeclarations</code> cop error on symbol
modifier without surrounding scope. ([<a
href="https://github.com/viralpraxis"><code>@viralpraxis</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/14172">#14172</a>:
Fix <code>Style/AccessModifierDeclarations</code> cop false positives
when there are no method definitions and style is <code>inline</code>.
([<a
href="https://github.com/viralpraxis"><code>@viralpraxis</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/14193">#14193</a>:
Fix <code>Lint/UselessAssignment</code> cop error when using nested
assignment with splat. ([<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/14188">#14188</a>:
Enhance <code>Gemspec/DuplicatedAssignment</code> cop to detect
duplicated indexed assignment. ([<a
href="https://github.com/viralpraxis"><code>@viralpraxis</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/14183">#14183</a>:
Recognize <code>prefix</code> argument for <code>delegate</code> method
in <code>Lint/DuplicateMethods</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/38333dcec9987d31e4f0d18a1938237cc8aa8c4a"><code>38333dc</code></a>
Cut 1.75.8</li>
<li><a
href="https://github.com/rubocop/rubocop/commit/6649f393028c9aa9d4ced7cc5c2bbb4e57f6eaed"><code>6649f39</code></a>
Update Changelog</li>
<li><a
href="https://github.com/rubocop/rubocop/commit/cfb07167bf41bb1d3bc80a14cc51ba5dffcb5bc9"><code>cfb0716</code></a>
Fix wrong autocorrection for Style/MapToHash with destructuring
argument</li>
<li><a
href="https://github.com/rubocop/rubocop/commit/81aab639f3ab34f96854b341541ac3fb8b9af304"><code>81aab63</code></a>
[Fix <a
href="https://redirect.github.com/rubocop/rubocop/issues/14197">#14197</a>]
Fix infinite loop error for
<code>Layout/FirstArgumentIndentation</code></li>
<li><a
href="https://github.com/rubocop/rubocop/commit/0258e0bddd0b45410ae088af85e99553542f82b2"><code>0258e0b</code></a>
[Fix <a
href="https://redirect.github.com/rubocop/rubocop/issues/13194">#13194</a>]
Detect case statement in FloatComparison (<a
href="https://redirect.github.com/rubocop/rubocop/issues/14191">#14191</a>)</li>
<li><a
href="https://github.com/rubocop/rubocop/commit/fb36825de92c31004f215850aa583c581365f0f4"><code>fb36825</code></a>
Fix an error for <code>Style/RedundantFormat</code> with invalid format
arguments</li>
<li><a
href="https://github.com/rubocop/rubocop/commit/c72ae6d9f864800e715d10fd57c21e1ff193c2f9"><code>c72ae6d</code></a>
Merge pull request <a
href="https://redirect.github.com/rubocop/rubocop/issues/14208">#14208</a>
from Earlopain/better-debug-errors</li>
<li><a
href="https://github.com/rubocop/rubocop/commit/b3a47ca5f2f84aa862ff108cab56c5af88b8111c"><code>b3a47ca</code></a>
Show better message on error with --debug</li>
<li><a
href="https://github.com/rubocop/rubocop/commit/080c90965bb48c781d0d33032a8e74bcc12b227d"><code>080c909</code></a>
[Fix <a
href="https://redirect.github.com/rubocop/rubocop/issues/14050">#14050</a>]
Modify condition for EOL comment</li>
<li><a
href="https://github.com/rubocop/rubocop/commit/cdda4b27d6473f7e519f8baa570102933b115e2c"><code>cdda4b2</code></a>
Merge pull request <a
href="https://redirect.github.com/rubocop/rubocop/issues/14203">#14203</a>
from viralpraxis/fix-codespell-rake-task-when-not-f...</li>
<li>Additional commits viewable in <a
href="https://github.com/rubocop/rubocop/compare/v1.75.6...v1.75.8">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 | |
|---|---|---|---|
| |||
396 | 396 | | |
397 | 397 | | |
398 | 398 | | |
399 | | - | |
| 399 | + | |
400 | 400 | | |
401 | 401 | | |
402 | 402 | | |
| |||
635 | 635 | | |
636 | 636 | | |
637 | 637 | | |
638 | | - | |
| 638 | + | |
639 | 639 | | |
640 | 640 | | |
641 | 641 | | |
| |||
0 commit comments