Skip to content

Commit b51bd62

Browse files
authored
Build(deps-dev): Bump rubocop from 1.72.2 to 1.73.0 (#774)
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.72.2 to 1.73.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 1.73</h2> <h3>New features</h3> <ul> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/11024">#11024</a>: Add <code>require_always</code> option to <code>Style/EndlessMethod</code>. (<a href="https://github.com/koic"><code>@​koic</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/11024">#11024</a>: Add <code>require_single_line</code> option to <code>Style/EndlessMethod</code>. (<a href="https://github.com/jtannas"><code>@​jtannas</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/9935">#9935</a>: Introduce <code>EnforcedStyleForMultiline</code> &quot;diff_comma&quot;. (<a href="https://github.com/flavorjones"><code>@​flavorjones</code></a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13867">#13867</a>: Fix an error for plugins when not running RuboCop through Bundler. (<a href="https://github.com/earlopain"><code>@​earlopain</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13902">#13902</a>: Fix false negative for <code>Style/RedundantSelfAssignment</code> when the method receives a block. (<a href="https://github.com/vlad-pisanov"><code>@​vlad-pisanov</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13826">#13826</a>: Fix false positives for regex cops when <code>Lint/MixedCaseRange</code> is enabled. (<a href="https://github.com/earlopain"><code>@​earlopain</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13818">#13818</a>: Fix false positives for <code>Lint/Void</code> when using operator method call without argument. (<a href="https://github.com/koic"><code>@​koic</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13896">#13896</a>: Fix a false positive for <code>Style/TrivialAccessors</code> with <code>instance_eval</code> and numblocks. (<a href="https://github.com/earlopain"><code>@​earlopain</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13910">#13910</a>: Fix false positives for <code>Style/EndlessMethod</code> when using setter method definitions. (<a href="https://github.com/koic"><code>@​koic</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13889">#13889</a>: Fix autocorrection for <code>Layout/LineLength</code> with interpolated strings when not on the first line. (<a href="https://github.com/dvandersluis"><code>@​dvandersluis</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13900">#13900</a>: Fix infinite loop between <code>Layout/EmptyLinesAroundAccessModifier</code> and <code>Layout/EmptyLinesAroundBlockBody</code> with <code>EnforcedStyle: no_empty_lines</code>. (<a href="https://github.com/dvandersluis"><code>@​dvandersluis</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/12692">#12692</a>: Fix <code>Style/AccessorGrouping</code> with constants. (<a href="https://github.com/tejasbubane"><code>@​tejasbubane</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13882">#13882</a>: Fix <code>Style/RedundantFormat</code> for annotated template strings with missing hash keys. (<a href="https://github.com/dvandersluis"><code>@​dvandersluis</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13880">#13880</a>: Fix <code>Style/RedundantFormat</code> when given double-splatted arguments. (<a href="https://github.com/dvandersluis"><code>@​dvandersluis</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13907">#13907</a>: Don't offer autocorrect for <code>Style/StringConcatenation</code> when numblocks are used. (<a href="https://github.com/earlopain"><code>@​earlopain</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13876">#13876</a>: Don't consider <code>require 'pp'</code> to be redundant for <code>Lint/RedundantRequireStatement</code>. (<a href="https://github.com/earlopain"><code>@​earlopain</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13885">#13885</a>: Update <code>Style/HashExcept</code> and <code>Style/HashSlice</code> to not register an offense if selecting over the hash value. (<a href="https://github.com/dvandersluis"><code>@​dvandersluis</code></a>)</li> </ul> <h3>Changes</h3> <ul> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/12948">#12948</a>: Add <code>ForbiddenNames</code> configuration to <code>Naming/VariableName</code> to specify names that are forbidden. (<a href="https://github.com/dvandersluis"><code>@​dvandersluis</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13117">#13117</a>: Add partial autocorrect support to <code>Lint/LiteralAsCondition</code> cop to check for redundant conditions. (<a href="https://github.com/zopolis4"><code>@​zopolis4</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13892">#13892</a>: Allow merging of configured arrays and non-arrays. (<a href="https://github.com/sambostock"><code>@​sambostock</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13833">#13833</a>: Add <code>Reference</code> to common params. (<a href="https://github.com/sambostock"><code>@​sambostock</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13890">#13890</a>: Update <code>Lint/RedundantTypeConversion</code> to not register an offense when given a constructor with <code>exception: false</code>. (<a href="https://github.com/dvandersluis"><code>@​dvandersluis</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13729">#13729</a>: Update <code>Style/RedundantCondition</code> cop to detect conditional expressions where the true branch is <code>true</code> and suggest replacing them with a logical OR. (<a href="https://github.com/datpmt"><code>@​datpmt</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.73.0 (2025-02-26)</h2> <h3>New features</h3> <ul> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/11024">#11024</a>: Add <code>require_always</code> option to <code>Style/EndlessMethod</code>. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/11024">#11024</a>: Add <code>require_single_line</code> option to <code>Style/EndlessMethod</code>. ([<a href="https://github.com/jtannas"><code>@​jtannas</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/9935">#9935</a>: Introduce EnforcedStyleForMultiline &quot;diff_comma&quot;. ([<a href="https://github.com/flavorjones"><code>@​flavorjones</code></a>][])</li> </ul> <h3>Bug fixes</h3> <ul> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13867">#13867</a>: Fix an error for plugins when not running RuboCop through Bundler. ([<a href="https://github.com/earlopain"><code>@​earlopain</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13902">#13902</a>: Fix false negative for <code>Style/RedundantSelfAssignment</code> when the method receives a block. ([<a href="https://github.com/vlad-pisanov"><code>@​vlad-pisanov</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13826">#13826</a>: Fix false positives for regex cops when <code>Lint/MixedCaseRange</code> is enabled. ([<a href="https://github.com/earlopain"><code>@​earlopain</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13818">#13818</a>: Fix false positives for <code>Lint/Void</code> when using operator method call without argument. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13896">#13896</a>: Fix a false positive for <code>Style/TrivialAccessors</code> with <code>instance_eval</code> and numblocks. ([<a href="https://github.com/earlopain"><code>@​earlopain</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13910">#13910</a>: Fix false positives for <code>Style/EndlessMethod</code> when using setter method definitions. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13889">#13889</a>: Fix autocorrection for <code>Layout/LineLength</code> with interpolated strings when not on the first line. ([<a href="https://github.com/dvandersluis"><code>@​dvandersluis</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13900">#13900</a>: Fix infinite loop between <code>Layout/EmptyLinesAroundAccessModifier</code> and <code>Layout/EmptyLinesAroundBlockBody</code> with <code>EnforcedStyle: no_empty_lines</code>. ([<a href="https://github.com/dvandersluis"><code>@​dvandersluis</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/12692">#12692</a>: Fix <code>Style/AccessorGrouping</code> with constants. ([<a href="https://github.com/tejasbubane"><code>@​tejasbubane</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13882">#13882</a>: Fix <code>Style/RedundantFormat</code> for annotated template strings with missing hash keys. ([<a href="https://github.com/dvandersluis"><code>@​dvandersluis</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13880">#13880</a>: Fix <code>Style/RedundantFormat</code> when given double-splatted arguments. ([<a href="https://github.com/dvandersluis"><code>@​dvandersluis</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13907">#13907</a>: Don't offer autocorrect for <code>Style/StringConcatenation</code> when numblocks are used. ([<a href="https://github.com/earlopain"><code>@​earlopain</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13876">#13876</a>: Don't consider <code>require 'pp'</code> to be redundant for <code>Lint/RedundantRequireStatement</code>. ([<a href="https://github.com/earlopain"><code>@​earlopain</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13885">#13885</a>: Update <code>Style/HashExcept</code> and <code>Style/HashSlice</code> to not register an offense if selecting over the hash value. ([<a href="https://github.com/dvandersluis"><code>@​dvandersluis</code></a>][])</li> </ul> <h3>Changes</h3> <ul> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/12948">#12948</a>: Add <code>ForbiddenNames</code> configuration to <code>Naming/VariableName</code> to specify names that are forbidden. ([<a href="https://github.com/dvandersluis"><code>@​dvandersluis</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13117">#13117</a>: Add partial autocorrect support to <code>Lint/LiteralAsCondition</code> cop to check for redundant conditions. ([<a href="https://github.com/zopolis4"><code>@​zopolis4</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13892">#13892</a>: Allow merging of configured arrays and non-arrays. ([<a href="https://github.com/sambostock"><code>@​sambostock</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13833">#13833</a>: Add <code>Reference</code> to common params. ([<a href="https://github.com/sambostock"><code>@​sambostock</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13890">#13890</a>: Update <code>Lint/RedundantTypeConversion</code> to not register an offense when given a constructor with <code>exception: false</code>. ([<a href="https://github.com/dvandersluis"><code>@​dvandersluis</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13729">#13729</a>: Update <code>Style/RedundantCondition</code> cop to detect conditional expressions where the true branch is <code>true</code> and suggest replacing them with a logical OR. ([<a href="https://github.com/datpmt"><code>@​datpmt</code></a>][])</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/rubocop/rubocop/commit/28bbd0dfdeb1860f55467ac2038e720f1e27ae89"><code>28bbd0d</code></a> Cut 1.73</li> <li><a href="https://github.com/rubocop/rubocop/commit/0483beca787fe3214fbb734665a7f3bb552d3982"><code>0483bec</code></a> Update Changelog</li> <li><a href="https://github.com/rubocop/rubocop/commit/8c9a47563634de254cabbdd71c6af87faa4b0a53"><code>8c9a475</code></a> Introduce EnforcedStyleForMultiline &quot;diff_comma&quot;</li> <li><a href="https://github.com/rubocop/rubocop/commit/7d4f115f0569740f1f7fa194cf66861981fe820d"><code>7d4f115</code></a> Fix false positives for <code>Style/EndlessMethod</code></li> <li><a href="https://github.com/rubocop/rubocop/commit/cc6da5cd8a3185806b305d7a4b4561cc3bcaca9b"><code>cc6da5c</code></a> Add partial autocorrect support for Lint/LiteralAsCondition</li> <li><a href="https://github.com/rubocop/rubocop/commit/03996f3efb49634d9b0695cad230e6b5180dfc6d"><code>03996f3</code></a> [Fix <a href="https://redirect.github.com/rubocop/rubocop/issues/12692">#12692</a>] Fix <code>Style/AccessorGrouping</code> with constants</li> <li><a href="https://github.com/rubocop/rubocop/commit/86690cc8a2a0364270451db56734fffcc5be744e"><code>86690cc</code></a> [Fix <a href="https://redirect.github.com/rubocop/rubocop/issues/11024">#11024</a>] add <code>require_single_line</code> to <code>Style/EndlessMethod</code></li> <li><a href="https://github.com/rubocop/rubocop/commit/4b5609a55a8cea26bed13b6a1fbaac9a2fdca744"><code>4b5609a</code></a> [Fix <a href="https://redirect.github.com/rubocop/rubocop/issues/11024">#11024</a>] Add <code>require_always</code> option to <code>Style/EndlessMethod</code></li> <li><a href="https://github.com/rubocop/rubocop/commit/5d797afbf458758cdc1b6c095568c454c363d2ef"><code>5d797af</code></a> Make <code>CopsDocumentationGenerator</code> support plugin system for extensions</li> <li><a href="https://github.com/rubocop/rubocop/commit/d506bd6a03ef063d605505b6de13e443fc09bbb9"><code>d506bd6</code></a> Update <code>Style/RedundantCondition</code> cop to detect conditional expressions where...</li> <li>Additional commits viewable in <a href="https://github.com/rubocop/rubocop/compare/v1.72.2...v1.73.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.72.2&new-version=1.73.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 5e3207d + aa62d07 commit b51bd62

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
@@ -598,7 +598,7 @@ GEM
598598
rswag-ui (2.16.0)
599599
actionpack (>= 5.2, < 8.1)
600600
railties (>= 5.2, < 8.1)
601-
rubocop (1.72.2)
601+
rubocop (1.73.0)
602602
json (~> 2.3)
603603
language_server-protocol (~> 3.17.0.2)
604604
lint_roller (~> 1.1.0)
@@ -609,7 +609,7 @@ GEM
609609
rubocop-ast (>= 1.38.0, < 2.0)
610610
ruby-progressbar (~> 1.7)
611611
unicode-display_width (>= 2.4.0, < 4.0)
612-
rubocop-ast (1.38.0)
612+
rubocop-ast (1.38.1)
613613
parser (>= 3.3.1.0)
614614
rubocop-rspec (3.5.0)
615615
lint_roller (~> 1.1)

0 commit comments

Comments
 (0)