Skip to content

Commit 7e67bd6

Browse files
authored
Build(deps-dev): Bump rubocop from 1.74.0 to 1.75.4 (#830)
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.74.0 to 1.75.4. <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.4</h2> <h3>Bug fixes</h3> <ul> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/14123">#14123</a>: Fix an infinite loop error for <code>Lint/BooleanSymbol</code> when using the rocket hash syntax with a boolean symbol key. (<a href="https://github.com/koic"><code>@​koic</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14134">#14134</a>: Fix an error for <code>Style/ComparableBetween</code> when comparing the value with itself. (<a href="https://github.com/earlopain"><code>@​earlopain</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/14111">#14111</a>: Fix an error for <code>Style/SafeNavigation</code> when the RHS of <code>&amp;&amp;</code> is a complex <code>||</code> expression composed of <code>&amp;&amp;</code> conditions. (<a href="https://github.com/koic"><code>@​koic</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/14129">#14129</a>: Fix false positives for <code>Style/ArgumentsForwarding</code> when using default positional arg, keyword arg, and block arg in Ruby 3.1. (<a href="https://github.com/koic"><code>@​koic</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14110">#14110</a>: Fix false positives for <code>Style/RedundantParentheses</code> when parens around basic conditional as the second argument of a parenthesized method call. (<a href="https://github.com/koic"><code>@​koic</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/14120">#14120</a>: Fix false positives for <code>Style/RedundantParentheses</code> when parens around unparenthesized method call as the second argument of a parenthesized method call. (<a href="https://github.com/koic"><code>@​koic</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14133">#14133</a>: Fix <code>Lint/LiteralAsCondition</code> autocorrect when a literal is the condition of an elsif followed by an else. (<a href="https://github.com/zopolis4"><code>@​zopolis4</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/14116">#14116</a>: Make <code>Style/TrailingCommaInArguments</code> cop aware of trailing commas in <code>[]</code> method call. (<a href="https://github.com/viralpraxis"><code>@​viralpraxis</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14114">#14114</a>: Fix <code>Style/ClassAndModuleChildren</code> cop error on tab-intended compactable modules. (<a href="https://github.com/viralpraxis"><code>@​viralpraxis</code></a>)</li> </ul> <h3>Changes</h3> <ul> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13611">#13611</a>: Enable <code>Lint/CircularArgumentReference</code> on Ruby 3.4. (<a href="https://github.com/earlopain"><code>@​earlopain</code></a>)</li> </ul> <h2>RuboCop v1.75.3</h2> <h3>Bug fixes</h3> <ul> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13676">#13676</a>: Allow RuboCop to inspect hidden directories if they are explicitly provided. (<a href="https://github.com/viralpraxis"><code>@​viralpraxis</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14080">#14080</a>: Allow writing RBS::Inline annotation <code>#:</code> after end keyword in <code>Style/CommentedKeyword</code>. (<a href="https://github.com/dak2"><code>@​dak2</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/14075">#14075</a>: Fix an error for <code>Layout/EmptyLineAfterGuardClause</code> when calling a method on the result of a single-line <code>if</code> with <code>return</code>. (<a href="https://github.com/koic"><code>@​koic</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14067">#14067</a>: Fix false negatives for <code>Style/RedundantParentheses</code> when using parens around singleton method body. (<a href="https://github.com/koic"><code>@​koic</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/14070">#14070</a>: Fix false positives for <code>EnforcedStyleForMultiline: diff_comma</code> of <code>Style/TrailingCommaInArrayLiteral</code> and <code>Style/TrailingCommaInHashLiteral</code> when trailing comma with comment. (<a href="https://github.com/koic"><code>@​koic</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14092">#14092</a>: Fix false negative for <code>Style/RedundantParentheses</code> when using some operator methods with a parenthesized argument. (<a href="https://github.com/koic"><code>@​koic</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14103">#14103</a>: Fix <code>Layout/MultilineOperationIndentation</code> cop error on <code>indexasgn</code> node without arguments. (<a href="https://github.com/viralpraxis"><code>@​viralpraxis</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14089">#14089</a>: Fix redundant current directory prefix regexp. (<a href="https://github.com/sferik"><code>@​sferik</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14099">#14099</a>: Fix <code>Style/ClassAndModuleChildren</code> cop error on one-liner class definition and nested enforced style. (<a href="https://github.com/viralpraxis"><code>@​viralpraxis</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14083">#14083</a>: Fix <code>Style/ConditionalAssignment</code> cop error on one-line if-then-else. (<a href="https://github.com/viralpraxis"><code>@​viralpraxis</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14104">#14104</a>: Fix <code>Style/ConditionalAssignment</code> cop error on indexed assignment without arguments. (<a href="https://github.com/viralpraxis"><code>@​viralpraxis</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14084">#14084</a>: Fix <code>Style/RedundantLineContinuation</code> cop error on multiline assignment with line continuation. (<a href="https://github.com/viralpraxis"><code>@​viralpraxis</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14096">#14096</a>: Fix error for <code>Style/SafeNavigation</code> with longer <code>&amp;&amp;</code> chain (e.g. <code>a &amp;&amp; a.b &amp;&amp; a.b.c</code>). (<a href="https://github.com/lovro-bikic"><code>@​lovro-bikic</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14068">#14068</a>: Fix wrong autocorrection for <code>Style/MapIntoArray</code> when using <code>push</code> or <code>append</code> with hash argument without braces. (<a href="https://github.com/lovro-bikic"><code>@​lovro-bikic</code></a>)</li> </ul> <h3>Changes</h3> <ul> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14093">#14093</a>: Register offenses for redundant parens around method arguments for <code>Style/RedundantParentheses</code>. (<a href="https://github.com/lovro-bikic"><code>@​lovro-bikic</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14064">#14064</a>: Prefer <code>References</code> over <code>Reference</code> in cop configs. ([<a href="https://github.com/sambostock"><code>@​sambostock</code></a>][])</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </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.4 (2025-04-28)</h2> <h3>Bug fixes</h3> <ul> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/14123">#14123</a>: Fix an infinite loop error for <code>Lint/BooleanSymbol</code> when using the rocket hash syntax with a boolean symbol key. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14134">#14134</a>: Fix an error for <code>Style/ComparableBetween</code> when comparing the value with itself. ([<a href="https://github.com/earlopain"><code>@​earlopain</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/14111">#14111</a>: Fix an error for <code>Style/SafeNavigation</code> when the RHS of <code>&amp;&amp;</code> is a complex <code>||</code> expression composed of <code>&amp;&amp;</code> conditions. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/14129">#14129</a>: Fix false positives for <code>Style/ArgumentsForwarding</code> when using default positional arg, keyword arg, and block arg in Ruby 3.1. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14110">#14110</a>: Fix false positives for <code>Style/RedundantParentheses</code> when parens around basic conditional as the second argument of a parenthesized method call. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/14120">#14120</a>: Fix false positives for <code>Style/RedundantParentheses</code> when parens around unparenthesized method call as the second argument of a parenthesized method call. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14133">#14133</a>: Fix <code>Lint/LiteralAsCondition</code> autocorrect when a literal is the condition of an elsif followed by an else. ([<a href="https://github.com/zopolis4"><code>@​zopolis4</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/14116">#14116</a>: Make <code>Style/TrailingCommaInArguments</code> cop aware of trailing commas in <code>[]</code> method call. ([<a href="https://github.com/viralpraxis"><code>@​viralpraxis</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14114">#14114</a>: Fix <code>Style/ClassAndModuleChildren</code> cop error on tab-intended compactable modules. ([<a href="https://github.com/viralpraxis"><code>@​viralpraxis</code></a>][])</li> </ul> <h3>Changes</h3> <ul> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13611">#13611</a>: Enable <code>Lint/CircularArgumentReference</code> on Ruby 3.4. ([<a href="https://github.com/earlopain"><code>@​earlopain</code></a>][])</li> </ul> <h2>1.75.3 (2025-04-22)</h2> <h3>Bug fixes</h3> <ul> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13676">#13676</a>: Allow RuboCop to inspect hidden directories if they are explicitly provided. ([<a href="https://github.com/viralpraxis"><code>@​viralpraxis</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14080">#14080</a>: Allow writing RBS::Inline annotation <code>#:</code> after end keyword in <code>Style/CommentedKeyword</code>. ([<a href="https://github.com/dak2"><code>@​dak2</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/14075">#14075</a>: Fix an error for <code>Layout/EmptyLineAfterGuardClause</code> when calling a method on the result of a single-line <code>if</code> with <code>return</code>. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14067">#14067</a>: Fix false negatives for <code>Style/RedundantParentheses</code> when using parens around singleton method body. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/14070">#14070</a>: Fix false positives for <code>EnforcedStyleForMultiline: diff_comma</code> of <code>Style/TrailingCommaInArrayLiteral</code> and <code>Style/TrailingCommaInHashLiteral</code> when trailing comma with comment. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14092">#14092</a>: Fix false negative for <code>Style/RedundantParentheses</code> when using some operator methods with a parenthesized argument. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14103">#14103</a>: Fix <code>Layout/MultilineOperationIndentation</code> cop error on <code>indexasgn</code> node without arguments. ([<a href="https://github.com/viralpraxis"><code>@​viralpraxis</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14089">#14089</a>: Fix redundant current directory prefix regexp. ([<a href="https://github.com/sferik"><code>@​sferik</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14099">#14099</a>: Fix <code>Style/ClassAndModuleChildren</code> cop error on one-liner class definition and nested enforced style. ([<a href="https://github.com/viralpraxis"><code>@​viralpraxis</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14083">#14083</a>: Fix <code>Style/ConditionalAssignment</code> cop error on one-line if-then-else. ([<a href="https://github.com/viralpraxis"><code>@​viralpraxis</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14104">#14104</a>: Fix <code>Style/ConditionalAssignment</code> cop error on indexed assignment without arguments. ([<a href="https://github.com/viralpraxis"><code>@​viralpraxis</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14084">#14084</a>: Fix <code>Style/RedundantLineContinuation</code> cop error on multiline assignment with line continuation. ([<a href="https://github.com/viralpraxis"><code>@​viralpraxis</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14096">#14096</a>: Fix error for <code>Style/SafeNavigation</code> with longer <code>&amp;&amp;</code> chain (e.g. <code>a &amp;&amp; a.b &amp;&amp; a.b.c</code>). ([<a href="https://github.com/lovro-bikic"><code>@​lovro-bikic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14068">#14068</a>: Fix wrong autocorrection for <code>Style/MapIntoArray</code> when using <code>push</code> or <code>append</code> with hash argument without braces. ([<a href="https://github.com/lovro-bikic"><code>@​lovro-bikic</code></a>][])</li> </ul> <h3>Changes</h3> <ul> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14093">#14093</a>: Register offenses for redundant parens around method arguments for <code>Style/RedundantParentheses</code>. ([<a href="https://github.com/lovro-bikic"><code>@​lovro-bikic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14064">#14064</a>: Prefer <code>References</code> over <code>Reference</code> in cop configs. ([<a href="https://github.com/sambostock"><code>@​sambostock</code></a>][])</li> </ul> <h2>1.75.2 (2025-04-03)</h2> <h3>Changes</h3> <ul> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14065">#14065</a>: Update <code>Lint/RedundantTypeConversion</code> to register an offense for <code>to_json.to_s</code>. ([<a href="https://github.com/lovro-bikic"><code>@​lovro-bikic</code></a>][])</li> </ul> <h3>Bug fixes</h3> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/rubocop/rubocop/commit/eeda3b2ee7f99148da61cbcae2c2015d0c2e0eac"><code>eeda3b2</code></a> Cut 1.75.4</li> <li><a href="https://github.com/rubocop/rubocop/commit/4ad182cae1639427853abb539647d769999087fe"><code>4ad182c</code></a> Update Changelog</li> <li><a href="https://github.com/rubocop/rubocop/commit/da245aff1f106957ed74113bc581edaeebd42371"><code>da245af</code></a> Fix <code>Lint/LiteralAsCondition</code> autocorrect when a literal is the condition of ...</li> <li><a href="https://github.com/rubocop/rubocop/commit/c9d38e16bb92f0d3d6218d68509bf38c32637e2a"><code>c9d38e1</code></a> [Fix <a href="https://redirect.github.com/rubocop/rubocop/issues/14116">#14116</a>] Make <code>Style/TrailingCommaInArguments</code> cop aware of trailing comm...</li> <li><a href="https://github.com/rubocop/rubocop/commit/f669bb1abbdf106186b7fec14774ee5d8af15a33"><code>f669bb1</code></a> Fix <code>Style/ClassAndModuleChildren</code> cop error on tab-intended compactable modules</li> <li><a href="https://github.com/rubocop/rubocop/commit/7d1070bb201fb84abef6f8fdde0105c230420513"><code>7d1070b</code></a> Fix an error for <code>Style/ComparableBetween</code> when comparing the value with itself</li> <li><a href="https://github.com/rubocop/rubocop/commit/a2f38cec999e5a4acbcecb3eef7f99c88568a998"><code>a2f38ce</code></a> Merge pull request <a href="https://redirect.github.com/rubocop/rubocop/issues/14130">#14130</a> from koic/fix_false_positive_for_style_arguments_fo...</li> <li><a href="https://github.com/rubocop/rubocop/commit/3aadb46cb249a7383b23bea9123c416a49c8f048"><code>3aadb46</code></a> [Fix <a href="https://redirect.github.com/rubocop/rubocop/issues/14129">#14129</a>] Fix false positives for <code>Style/ArgumentsForwarding</code></li> <li><a href="https://github.com/rubocop/rubocop/commit/d3f6b08436b5e8134d8aca804211765718c02b47"><code>d3f6b08</code></a> Merge pull request <a href="https://redirect.github.com/rubocop/rubocop/issues/14126">#14126</a> from koic/fix_an_error_lint_boolean_symbol</li> <li><a href="https://github.com/rubocop/rubocop/commit/7dea55444e11c73e6813e4c9aa54ec8deabee90c"><code>7dea554</code></a> [Fix <a href="https://redirect.github.com/rubocop/rubocop/issues/14123">#14123</a>] Fix an error for <code>Lint/BooleanSymbol</code></li> <li>Additional commits viewable in <a href="https://github.com/rubocop/rubocop/compare/v1.74.0...v1.75.4">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.74.0&new-version=1.75.4)](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 6417119 + c37047b commit 7e67bd6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Gemfile.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ GEM
396396
rdoc (>= 4.0.0)
397397
reline (>= 0.4.2)
398398
jmespath (1.6.2)
399-
json (2.11.2)
399+
json (2.11.3)
400400
json-schema (5.1.1)
401401
addressable (~> 2.8)
402402
bigdecimal (~> 3.1)
@@ -634,15 +634,15 @@ GEM
634634
rswag-ui (2.16.0)
635635
actionpack (>= 5.2, < 8.1)
636636
railties (>= 5.2, < 8.1)
637-
rubocop (1.74.0)
637+
rubocop (1.75.4)
638638
json (~> 2.3)
639639
language_server-protocol (~> 3.17.0.2)
640640
lint_roller (~> 1.1.0)
641641
parallel (~> 1.10)
642642
parser (>= 3.3.0.2)
643643
rainbow (>= 2.2.2, < 4.0)
644644
regexp_parser (>= 2.9.3, < 3.0)
645-
rubocop-ast (>= 1.38.0, < 2.0)
645+
rubocop-ast (>= 1.44.0, < 2.0)
646646
ruby-progressbar (~> 1.7)
647647
unicode-display_width (>= 2.4.0, < 4.0)
648648
rubocop-ast (1.44.1)

0 commit comments

Comments
 (0)