Skip to content

Commit 0e7355c

Browse files
Update rubocop requirement from ~> 1.25.1 to ~> 1.73.2 (#149)
Updates the requirements on [rubocop](https://github.com/rubocop/rubocop) to permit the latest version. <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.73.2</h2> <h3>Bug fixes</h3> <ul> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13942">#13942</a>: Fix incorrect disabling of departments when inheriting configuration. (<a href="https://github.com/koic"><code>@​koic</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13766">#13766</a>: Fix false positives for <code>Style/InverseMethods</code> when using <code>any?</code> or <code>none?</code> with safe navigation operator. (<a href="https://github.com/koic"><code>@​koic</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13938">#13938</a>: Fix false positives for <code>Style/RedundantCondition</code> when a variable or a constant is used. (<a href="https://github.com/koic"><code>@​koic</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13935">#13935</a>: Fix a false negative for <code>Style/RedundantFreeze</code> when calling methods that produce frozen objects with numblocks. (<a href="https://github.com/earlopain"><code>@​earlopain</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13928">#13928</a>: Fix <code>end pattern with unmatched parenthesis: / (RegexpError)</code> on Ruby 3.2.0. (<a href="https://github.com/dvandersluis"><code>@​dvandersluis</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13933">#13933</a>: Fix wrong autocorrect for <code>Style/KeywordParametersOrder</code> when the arguments are on multiple lines and contain comments. (<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/issues/12669">#12669</a>: Update autocorrection for <code>Lint/EmptyConditionalBody</code> to be safe. (<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.73.2 (2025-03-04)</h2> <h3>Bug fixes</h3> <ul> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13942">#13942</a>: Fix incorrect disabling of departments when inheriting configuration. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13766">#13766</a>: Fix false positives for <code>Style/InverseMethods</code> when using <code>any?</code> or <code>none?</code> with safe navigation operator. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13938">#13938</a>: Fix false positives for <code>Style/RedundantCondition</code> when a variable or a constant is used. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13935">#13935</a>: Fix a false negative for <code>Style/RedundantFreeze</code> when calling methods that produce frozen objects with numblocks. ([<a href="https://github.com/earlopain"><code>@​earlopain</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13928">#13928</a>: Fix <code>end pattern with unmatched parenthesis: / (RegexpError)</code> on Ruby 3.2.0. ([<a href="https://github.com/dvandersluis"><code>@​dvandersluis</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13933">#13933</a>: Fix wrong autocorrect for <code>Style/KeywordParametersOrder</code> when the arguments are on multiple lines and contain comments. ([<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/issues/12669">#12669</a>: Update autocorrection for <code>Lint/EmptyConditionalBody</code> to be safe. ([<a href="https://github.com/dvandersluis"><code>@​dvandersluis</code></a>][])</li> </ul> <h2>1.73.1 (2025-02-27)</h2> <h3>Bug fixes</h3> <ul> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13920">#13920</a>: Fix an error for <code>Lint/MixedCaseRange</code> when <code>/[[ ]]/</code> is used. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13912">#13912</a>: Fix wrong autocorrect for <code>Lint/EmptyConditionalBody</code> when assigning to a variable with only a single branch. ([<a href="https://github.com/earlopain"><code>@​earlopain</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13913">#13913</a>: Fix false positives for <code>Style/RedundantCondition</code> when using when true is used as the true branch and the condition is not a predicate method. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13909">#13909</a>: Fix false positive with <code>Layout/ClosingParenthesisIndentation</code> when first parameter is a hash. ([<a href="https://github.com/tejasbubane"><code>@​tejasbubane</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13915">#13915</a>: Fix writing generics type of rbs-inline annotation for nested class 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/13916">#13916</a>: Fix <code>Lint/LiteralAsCondition</code> acting on the right hand side of &amp;&amp; nodes. ([<a href="https://github.com/zopolis4"><code>@​zopolis4</code></a>][])</li> </ul> <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> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/rubocop/rubocop/commit/815dccadbbf373075cf3d42f3fb7365502259b15"><code>815dcca</code></a> Cut 1.73.2</li> <li><a href="https://github.com/rubocop/rubocop/commit/398aaabde8da74ec9c2aa22b575f83738f7158c2"><code>398aaab</code></a> Update Changelog</li> <li><a href="https://github.com/rubocop/rubocop/commit/4ae459d28c940abc337fa01598aa386cbdd430a3"><code>4ae459d</code></a> Fix incorrect disabling of departments when inheriting configuration</li> <li><a href="https://github.com/rubocop/rubocop/commit/ba9d953c13a6cd577ff41ead497c45798f4eb567"><code>ba9d953</code></a> [Fix <a href="https://redirect.github.com/rubocop/rubocop/issues/13766">#13766</a>] Fix false positives for <code>Style/InverseMethods</code></li> <li><a href="https://github.com/rubocop/rubocop/commit/7e91fd91b9a34d814c853639ce4f2e6e67779f6f"><code>7e91fd9</code></a> [Fix <a href="https://redirect.github.com/rubocop/rubocop/issues/13933">#13933</a>] Fix wrong autocorrect for <code>Style/KeywordParametersOrder</code> when th...</li> <li><a href="https://github.com/rubocop/rubocop/commit/f6ddcdd3d836c9d6f4a9e12815ac4c29809b6840"><code>f6ddcdd</code></a> Move common <code>arguments_range</code> to <code>RangeHelp</code></li> <li><a href="https://github.com/rubocop/rubocop/commit/2873bb81d63bbb8e26c6a2c6b713449d29b2569b"><code>2873bb8</code></a> Merge pull request <a href="https://redirect.github.com/rubocop/rubocop/issues/13938">#13938</a> from koic/fix_false_positive_for_style_redundant_co...</li> <li><a href="https://github.com/rubocop/rubocop/commit/9884defa7514a2b616e65fbd8f5b9718f5b49ef0"><code>9884def</code></a> Fix false positives for <code>Style/RedundantCondition</code></li> <li><a href="https://github.com/rubocop/rubocop/commit/323cb71dce89b9700decd508cbd5c2594876d4c2"><code>323cb71</code></a> Merge pull request <a href="https://redirect.github.com/rubocop/rubocop/issues/13937">#13937</a> from dvandersluis/fix/changelog</li> <li><a href="https://github.com/rubocop/rubocop/commit/1cdb3b77b04f54845c8ad47ff9d090a578a69028"><code>1cdb3b7</code></a> Fix changelog for <a href="https://redirect.github.com/rubocop/rubocop/issues/13935">#13935</a></li> <li>Additional commits viewable in <a href="https://github.com/rubocop/rubocop/compare/v1.25.1...v1.73.2">compare view</a></li> </ul> </details> <br /> 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> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent ef6f580 commit 0e7355c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Gemfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ gem 'appraisal'
99
gem 'minitest', '~> 5.0'
1010
gem 'minitest-reporters', '~> 1.7.1'
1111
gem 'rake', '~> 13.2'
12-
gem 'rubocop', '~> 1.25.1'
12+
gem 'rubocop', '~> 1.73.2'

0 commit comments

Comments
 (0)