Skip to content

Commit 3e145e0

Browse files
Merge #619
619: Update rubocop requirement from ~> 1.71.1 to ~> 1.75.1 r=curquiza a=dependabot[bot] 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.75.1</h2> <h3>Changes</h3> <ul> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14038">#14038</a>: Rename <code>EnforcedStyle: allow_named_parameter</code> to <code>EnforcedStyle: only_numbered_parameters</code> in <code>Style/ItBlockParameter</code>. (<a href="https://github.com/koic"><code>`@​koic</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.1 (2025-03-26)</h2> <h3>Changes</h3> <ul> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14038">#14038</a>: Rename <code>EnforcedStyle: allow_named_parameter</code> to <code>EnforcedStyle: only_numbered_parameters</code> in <code>Style/ItBlockParameter</code>. ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>` </ul> <h2>1.75.0 (2025-03-26)</h2> <h3>New features</h3> <ul> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/12049">#12049</a>: Add new <code>Style/HashFetchChain</code> cop to detect chained <code>fetch</code> calls that can be replaced with a single call to <code>dig</code>. ([<a href="https://github.com/dvandersluis"><code>`@​dvandersluis</code></a>][])</li>` <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13597">#13597</a>: Add new <code>Style/ItBlockParameter</code> cop. ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>` <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13899">#13899</a>: Enable reusable Prism parse result for Ruby LSP add-on. ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>` <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14015">#14015</a>: Support <code>it</code> block parameter in <code>Layout</code> cops. ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>` <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14017">#14017</a>: Support <code>it</code> block parameter in <code>Lint</code> cops. ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>` <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14018">#14018</a>: Support <code>it</code> block parameter in <code>Metrics</code> cops. ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>` <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14013">#14013</a>: Support <code>it</code> block parameter in <code>Style</code> cops. ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>` <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14025">#14025</a>: Support <code>TargetRubyVersion: 3.5</code> (experimental). ([<a href="https://github.com/earlopain"><code>`@​earlopain</code></a>][])</li>` </ul> <h3>Bug fixes</h3> <ul> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14022">#14022</a>: Fix an error for <code>Style/HashFetchChain</code> when no arguments are given to <code>fetch</code>. ([<a href="https://github.com/koic"><code>`@​koic</code></a>][])</li>` <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14028">#14028</a>: Fix false negative for <code>Layout/MultilineMethodParameterLineBreaks</code> when class method definitions are used. ([<a href="https://github.com/vlad-pisanov"><code>`@​vlad-pisanov</code></a>][])</li>` <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14027">#14027</a>: Fix false negative for <code>Layout/LineLength</code> when autocorrecting class method definitions. ([<a href="https://github.com/vlad-pisanov"><code>`@​vlad-pisanov</code></a>][])</li>` <li><a href="https://redirect.github.com/rubocop/rubocop/issues/8099">#8099</a>: Fix infinite loop between <code>Layout/SpaceAroundOperators</code> and <code>Layout/HashAlignment</code> with <code>EnforcedHashRocketStyle</code> being an array containing <code>table</code>. ([<a href="https://github.com/dvandersluis"><code>`@​dvandersluis</code></a>][])</li>` <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14021">#14021</a>: Fix handling of long heredoc lines with SplitStrings enabled. ([<a href="https://github.com/mauro-oto"><code>`@​mauro-oto</code></a>][])</li>` <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13968">#13968</a>: Fix <code>InternalAffairs/RedundantDescribedClassAsSubject</code> cop error on missing <code>describe</code>. ([<a href="https://github.com/viralpraxis"><code>`@​viralpraxis</code></a>][])</li>` <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14036">#14036</a>: Fix false negative for <code>Lint/ShadowingOuterLocalVariable</code> when block local variable is used inside a condition. ([<a href="https://github.com/lovro-bikic"><code>`@​lovro-bikic</code></a>][])</li>` <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13990">#13990</a>: Fix a false positive for <code>Lint/UselessAssignment</code> when a variable is reassigned in a different branch. ([<a href="https://github.com/eugeneius"><code>`@​eugeneius</code></a>][])</li>` <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14012">#14012</a>: Fix incorrect autocorrections for <code>Style/SoleNestedConditional</code>. ([<a href="https://github.com/lovro-bikic"><code>`@​lovro-bikic</code></a>][])</li>` <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14020">#14020</a>: Fix comment autocorrection for <code>Style/IfInsideElse</code>. ([<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/issues/12358">#12358</a>: Add <code>does</code> as a forbidden prefix to <code>Naming/PredicateName</code>. ([<a href="https://github.com/dvandersluis"><code>`@​dvandersluis</code></a>][])</li>` <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13621">#13621</a>: Add <code>ForbiddenIdentifiers</code> and <code>ForbiddenPatterns</code> config options to <code>Naming/MethodName</code> cop. ([<a href="https://github.com/tejasbubane"><code>`@​tejasbubane</code></a>][])</li>` <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13986">#13986</a>: Add support for <code>Array#intersection</code> to <code>Style/ArrayIntersect</code>. ([<a href="https://github.com/dvandersluis"><code>`@​dvandersluis</code></a>][])</li>` <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14006">#14006</a>: Allow cop renames to trigger warnings instead of fatal errors. ([<a href="https://github.com/dvandersluis"><code>`@​dvandersluis</code></a>][])</li>` <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13617">#13617</a>: Use the <code>prism</code> translation layer to analyze Ruby 3.4+ by default. ([<a href="https://github.com/earlopain"><code>`@​earlopain</code></a>][])</li>` <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14024">#14024</a>: Change <code>Style/RedundantParentheses</code> to offend parentheses for chained <code>&amp;&amp;</code> expressions. ([<a href="https://github.com/lovro-bikic"><code>`@​lovro-bikic</code></a>][])</li>` <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14029">#14029</a>: Add <code>AllowConsecutiveConditionals</code> setting to <code>Style/Next</code> to allow consecutive conditional statements. ([<a href="https://github.com/vlad-pisanov"><code>`@​vlad-pisanov</code></a>][])</li>` <li><a href="https://redirect.github.com/rubocop/rubocop/pull/14016">#14016</a>: Update <code>Style/RedundantFormat</code> to register offenses when the only argument to <code>format</code> or <code>sprintf</code> is a constant. ([<a href="https://github.com/dvandersluis"><code>`@​dvandersluis</code></a>][])</li>` </ul> <h2>1.74.0 (2025-03-13)</h2> <h3>New features</h3> <ul> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13936">#13936</a>: Adds new cop <code>Style/ComparableBetween</code>. ([<a href="https://github.com/lovro-bikic"><code>`@​lovro-bikic</code></a>][])</li>` <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13943">#13943</a>: Allow writing steep annotation to method definition for <code>Style/CommentedKeyword</code>. ([<a href="https://github.com/dak2"><code>`@​dak2</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/3872dced1fa9de4a93a31c981e33aadbebf41a7c"><code>3872dce</code></a> Cut 1.75.1</li> <li><a href="https://github.com/rubocop/rubocop/commit/b0999f3767ad9c3eedd770442254261f5bb414d7"><code>b0999f3</code></a> Update Changelog</li> <li><a href="https://github.com/rubocop/rubocop/commit/3ed6febf8adcd9a58e9e1f3084529adc65c94853"><code>3ed6feb</code></a> Rename <code>allow_named_parameter</code> to <code>only_numbered_parameters</code> in `Style/ItBloc...</li> <li><a href="https://github.com/rubocop/rubocop/commit/784abb29c89953349faafefb6df79ce8bf3f0164"><code>784abb2</code></a> Merge pull request <a href="https://redirect.github.com/rubocop/rubocop/issues/14039">#14039</a> from lovro-bikic/adjust-raise-args-docs</li> <li><a href="https://github.com/rubocop/rubocop/commit/246dee9af40f217c2a400b159ac8c1698040e8cc"><code>246dee9</code></a> Update Style/RaiseArgs docs</li> <li><a href="https://github.com/rubocop/rubocop/commit/cf5e38211cf90ca48afbf375b12c148bd6b008cb"><code>cf5e382</code></a> Reset the docs version</li> <li><a href="https://github.com/rubocop/rubocop/commit/9c2bc8eb11e269f1cf47113041a1be3ff615f68b"><code>9c2bc8e</code></a> Cut 1.75</li> <li><a href="https://github.com/rubocop/rubocop/commit/95ed9879fda27a77a26e72505ce52b7d9ca2fb8f"><code>95ed987</code></a> Update Changelog</li> <li><a href="https://github.com/rubocop/rubocop/commit/f969e0d7369bb04900cb07c97820203f2db8ea29"><code>f969e0d</code></a> Fix handling of long heredoc lines with SplitStrings enabled</li> <li><a href="https://github.com/rubocop/rubocop/commit/91fafeb3c06b3a0ea60548662a2cae777e080d3d"><code>91fafeb</code></a> Fix comment autocorrection for Style/IfInsideElse</li> <li>Additional commits viewable in <a href="https://github.com/rubocop/rubocop/compare/v1.71.1...v1.75.1">compare view</a></li> </ul> </details> <br /> You can trigger a rebase of this PR 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> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 parents 6ee848b + c83398a commit 3e145e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ group :development, :test do
1818
end
1919

2020
group :development do
21-
gem 'rubocop', '~> 1.71.1', require: false
21+
gem 'rubocop', '~> 1.75.1', require: false
2222
end

0 commit comments

Comments
 (0)