Skip to content

Commit 5369aa3

Browse files
Bump rubocop from 1.71.0 to 1.71.1 in the linters group (#4293)
Bumps the linters group with 1 update: [rubocop](https://github.com/rubocop/rubocop). Updates `rubocop` from 1.71.0 to 1.71.1 <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.71.1</h2> <h3>Bug fixes</h3> <ul> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/10081">#10081</a>: Add the missing <code>include RuboCop::RSpec::ExpectOffense</code> in rubocop/rspec/support.rb. (<a href="https://github.com/d4rky-pl"><code>@​d4rky-pl</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13765">#13765</a>: Fix a false negative for <code>Lint/AmbiguousBlockAssociation</code> with numblocks. (<a href="https://github.com/earlopain"><code>@​earlopain</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13759">#13759</a>: Fix a false negative for <code>Lint/ConstantDefinitionInBlock</code> with numblocks. (<a href="https://github.com/earlopain"><code>@​earlopain</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13741">#13741</a>: Register an offense for <code>Naming/BlockForwarding</code> and <code>Style/ArgumentsForwarding</code> with Ruby &gt;= 3.4 when the block argument is referenced inside a block. This was previously disabled because of a bug in Ruby 3.3.0. (<a href="https://github.com/earlopain"><code>@​earlopain</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13777">#13777</a>: Fix a false negative for <code>Layout/EmptyLineBetweenDefs</code> with <code>DefLikeMacros</code> and numblocks. (<a href="https://github.com/earlopain"><code>@​earlopain</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13769">#13769</a>: Fix a false negative for <code>Style/RedundantParentheses</code> with numblocks. (<a href="https://github.com/earlopain"><code>@​earlopain</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13780">#13780</a>: Fix a false positive <code>Style/AccessModifierDeclarations</code> when using access modifier in a numblock. (<a href="https://github.com/earlopain"><code>@​earlopain</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13775">#13775</a>: Fix a false positive for <code>Lint/AssignmentInCondition</code> when assigning in numblocks. (<a href="https://github.com/earlopain"><code>@​earlopain</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13773">#13773</a>: Fix false positives for <code>Layout/RedundantLineBreak</code> when using numbered block parameter. (<a href="https://github.com/koic"><code>@​koic</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13761">#13761</a>: Fix a false positive for <code>Style/SuperArguments</code> when calling super in a numblock. (<a href="https://github.com/earlopain"><code>@​earlopain</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13768">#13768</a>: Fix a false positive for <code>Lint/UnreachableCode</code> with <code>instance_eval</code> numblock. (<a href="https://github.com/earlopain"><code>@​earlopain</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13750">#13750</a>: Fix false positives for <code>Style/RedundantSelfAssignment</code> when assigning to attribute of <code>self</code>. (<a href="https://github.com/koic"><code>@​koic</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13739">#13739</a>: Fix false positive for <code>Style/HashExcept</code> and <code>Style/HashSlice</code> when checking for inclusion with a range. (<a href="https://github.com/dvandersluis"><code>@​dvandersluis</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13751">#13751</a>: Fix false positive in <code>Layout/ExtraSpacing</code> with <code>ForceEqualSignAlignment: true</code> for endless methods. (<a href="https://github.com/dvandersluis"><code>@​dvandersluis</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13767">#13767</a>: Fix <code>Style/IdenticalConditionalBranches</code> autocorrect when condition is inside assignment. (<a href="https://github.com/dvandersluis"><code>@​dvandersluis</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13764">#13764</a>: Fix a false negative for <code>Layout/SingleLineBlockChain</code> with numblocks. (<a href="https://github.com/earlopain"><code>@​earlopain</code></a>)</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13771">#13771</a>: Fix wrong autocorrect for <code>Style/SoleNestedConditional</code> when using numblocks. (<a href="https://github.com/earlopain"><code>@​earlopain</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.71.1 (2025-01-31)</h2> <h3>Bug fixes</h3> <ul> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/10081">#10081</a>: Add the missing <code>include RuboCop::RSpec::ExpectOffense</code> in rubocop/rspec/support.rb. ([<a href="https://github.com/d4rky-pl"><code>@​d4rky-pl</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13765">#13765</a>: Fix a false negative for <code>Lint/AmbiguousBlockAssociation</code> with numblocks. ([<a href="https://github.com/earlopain"><code>@​earlopain</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13759">#13759</a>: Fix a false negative for <code>Lint/ConstantDefinitionInBlock</code> with numblocks. ([<a href="https://github.com/earlopain"><code>@​earlopain</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13741">#13741</a>: Register an offense for <code>Naming/BlockForwarding</code> and <code>Style/ArgumentsForwarding</code> with Ruby &gt;= 3.4 when the block argument is referenced inside a block. This was previously disabled because of a bug in Ruby 3.3.0. ([<a href="https://github.com/earlopain"><code>@​earlopain</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13777">#13777</a>: Fix a false negative for <code>Layout/EmptyLineBetweenDefs</code> with <code>DefLikeMacros</code> and numblocks. ([<a href="https://github.com/earlopain"><code>@​earlopain</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13769">#13769</a>: Fix a false negative for <code>Style/RedundantParentheses</code> with numblocks. ([<a href="https://github.com/earlopain"><code>@​earlopain</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13780">#13780</a>: Fix a false positive <code>Style/AccessModifierDeclarations</code> when using access modifier in a numblock. ([<a href="https://github.com/earlopain"><code>@​earlopain</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13775">#13775</a>: Fix a false positive for <code>Lint/AssignmentInCondition</code> when assigning in numblocks. ([<a href="https://github.com/earlopain"><code>@​earlopain</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13773">#13773</a>: Fix false positives for <code>Layout/RedundantLineBreak</code> when using numbered block parameter. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13761">#13761</a>: Fix a false positive for <code>Style/SuperArguments</code> when calling super in a numblock. ([<a href="https://github.com/earlopain"><code>@​earlopain</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13768">#13768</a>: Fix a false positive for <code>Lint/UnreachableCode</code> with <code>instance_eval</code> numblock. ([<a href="https://github.com/earlopain"><code>@​earlopain</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13750">#13750</a>: Fix false positives for <code>Style/RedundantSelfAssignment</code> when assigning to attribute of <code>self</code>. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13739">#13739</a>: Fix false positive for <code>Style/HashExcept</code> and <code>Style/HashSlice</code> when checking for inclusion with a range. ([<a href="https://github.com/dvandersluis"><code>@​dvandersluis</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/issues/13751">#13751</a>: Fix false positive in <code>Layout/ExtraSpacing</code> with <code>ForceEqualSignAlignment: true</code> for endless methods. ([<a href="https://github.com/dvandersluis"><code>@​dvandersluis</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13767">#13767</a>: Fix <code>Style/IdenticalConditionalBranches</code> autocorrect when condition is inside assignment. ([<a href="https://github.com/dvandersluis"><code>@​dvandersluis</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13764">#13764</a>: Fix a false negative for <code>Layout/SingleLineBlockChain</code> with numblocks. ([<a href="https://github.com/earlopain"><code>@​earlopain</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/13771">#13771</a>: Fix wrong autocorrect for <code>Style/SoleNestedConditional</code> when using numblocks. ([<a href="https://github.com/earlopain"><code>@​earlopain</code></a>][])</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/rubocop/rubocop/commit/2b94512bd1cb7f9cecf1a44a23f47fbba57665d4"><code>2b94512</code></a> Cut 1.71.1</li> <li><a href="https://github.com/rubocop/rubocop/commit/6afa0787ecc69067bd6dc081ed780fb49258ac12"><code>6afa078</code></a> Update Changelog</li> <li><a href="https://github.com/rubocop/rubocop/commit/51603594bafbab587f11953acd272bd46a30907c"><code>5160359</code></a> [Fix <a href="https://redirect.github.com/rubocop/rubocop/issues/13750">#13750</a>] Fix false positives for <code>Style/RedundantSelfAssignment</code></li> <li><a href="https://github.com/rubocop/rubocop/commit/3dc1694b3a4ebb03593b516f56fec55e37614cf6"><code>3dc1694</code></a> [Fix <a href="https://redirect.github.com/rubocop/rubocop/issues/13751">#13751</a>] Fix false positive in <code>Layout/ExtraSpacing</code> with `ForceEqualSign...</li> <li><a href="https://github.com/rubocop/rubocop/commit/cce60daf41757a3db2dd9adf9a902a2561eaa9de"><code>cce60da</code></a> Merge pull request <a href="https://redirect.github.com/rubocop/rubocop/issues/13780">#13780</a> from Earlopain/access-mod-numblock</li> <li><a href="https://github.com/rubocop/rubocop/commit/2a4ee1a495a524a005304ea05ca69563cce52474"><code>2a4ee1a</code></a> Fix a false positive <code>Style/AccessModifierDeclarations</code> when using access mod...</li> <li><a href="https://github.com/rubocop/rubocop/commit/b275d5a2a1d56facb4f1b9596a34105d11145fdb"><code>b275d5a</code></a> Fix <code>InternalAffairs/NodeTypeMultiplePredicates</code> offenses</li> <li><a href="https://github.com/rubocop/rubocop/commit/750fc1b5a1a433b19deb4b9772832104bc3b91f2"><code>750fc1b</code></a> Add <code>InternalAffairs/NodeTypeMultiplePredicates</code> to look for <code>and</code> or <code>or</code> co...</li> <li><a href="https://github.com/rubocop/rubocop/commit/bb4b87d50f4fc84c42c2c91e26daa5e43114f818"><code>bb4b87d</code></a> Merge pull request <a href="https://redirect.github.com/rubocop/rubocop/issues/13778">#13778</a> from dvandersluis/remove-host-environment-simulatio...</li> <li><a href="https://github.com/rubocop/rubocop/commit/b1a17c95230d5bc357e68d36740ce855bbbfda27"><code>b1a17c9</code></a> Remove <code>HostEnvironmentSimulatorHelper</code></li> <li>Additional commits viewable in <a href="https://github.com/rubocop/rubocop/compare/v1.71.0...v1.71.1">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.71.0&new-version=1.71.1)](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 <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 56363b8 commit 5369aa3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Gemfile.lock

+2-2
Original file line numberDiff line numberDiff line change
@@ -407,14 +407,14 @@ GEM
407407
rspec-mocks (~> 3.13)
408408
rspec-support (~> 3.13)
409409
rspec-support (3.13.2)
410-
rubocop (1.71.0)
410+
rubocop (1.71.1)
411411
json (~> 2.3)
412412
language_server-protocol (>= 3.17.0)
413413
parallel (~> 1.10)
414414
parser (>= 3.3.0.2)
415415
rainbow (>= 2.2.2, < 4.0)
416416
regexp_parser (>= 2.9.3, < 3.0)
417-
rubocop-ast (>= 1.36.2, < 2.0)
417+
rubocop-ast (>= 1.38.0, < 2.0)
418418
ruby-progressbar (~> 1.7)
419419
unicode-display_width (>= 2.4.0, < 4.0)
420420
rubocop-ast (1.38.0)

0 commit comments

Comments
 (0)