Commit 79b1950
authored
Bump rubocop from 1.68.0 to 1.69.1 (#712)
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.68.0 to
1.69.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.69.1</h2>
<h3>Bug fixes</h3>
<ul>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/13502">#13502</a>:
Fix an incorrect autocorrect for <code>Style/DigChain</code> when using
safe navigation method chain with <code>dig</code> method. (<a
href="https://github.com/koic"><code>@koic</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/13505">#13505</a>:
Fix an error for <code>Style/ParallelAssignment</code> when using the
anonymous splat operator. (<a
href="https://github.com/earlopain"><code>@earlopain</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13184">#13184</a>:
Fix some false positives in <code>Lint/UnreachableCode</code>. (<a
href="https://github.com/isuckatcs"><code>@isuckatcs</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13494">#13494</a>:
Fix false positives for <code>Style/HashExcept</code> cop when using
<code>reject/!include?</code>, <code>reject/!in?</code> or
<code>select/!exclude?</code> combinations. (<a
href="https://github.com/lovro-bikic"><code>@lovro-bikic</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13522">#13522</a>:
Fix <code>Lint/UnescapedBracketInRegexp</code> cop failure with invalid
regular expression. (<a
href="https://github.com/viralpraxis"><code>@viralpraxis</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13523">#13523</a>:
Fix <code>Style::AccessModifierDeclarations</code> cop failure in case
of <code>if</code> node without <code>else</code>. (<a
href="https://github.com/viralpraxis"><code>@viralpraxis</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13524">#13524</a>:
Fix <code>Style/RedundantArgument</code> cop failure while inspecting
string literal with invalid encoding. (<a
href="https://github.com/viralpraxis"><code>@viralpraxis</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13528">#13528</a>:
Fix <code>Style/RedundantParentheses</code> cop failure in case of
splatted <code>case</code> node without condition. (<a
href="https://github.com/viralpraxis"><code>@viralpraxis</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13521">#13521</a>:
Fix <code>Style/RedundantSelf</code> cop failure with
<code>kwnilarg</code> argument node. (<a
href="https://github.com/viralpraxis"><code>@viralpraxis</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13526">#13526</a>:
Fix <code>Style/StringConcatenation</code> cop failure when there are
mixed implicit and explicit concatenations. (<a
href="https://github.com/viralpraxis"><code>@viralpraxis</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/13511">#13511</a>:
Fix false positive in <code>Lint/UnescapedBracketInRegexp</code> when
using regexp_parser 2.9.2 and earlier. (<a
href="https://github.com/dvandersluis"><code>@dvandersluis</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/13096">#13096</a>:
Update <code>Style/BlockDelimiters</code> to not change braces when they
are required for syntax. (<a
href="https://github.com/dvandersluis"><code>@dvandersluis</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13512">#13512</a>:
Update <code>Style/LambdaCall</code> to be aware of safe navigation. (<a
href="https://github.com/dvandersluis"><code>@dvandersluis</code></a>)</li>
</ul>
<h2>RuboCop 1.69</h2>
<h3>New features</h3>
<ul>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13439">#13439</a>:
Add new <code>Lint/HashNewWithKeywordArgumentsAsDefault</code> cop. (<a
href="https://github.com/koic"><code>@koic</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/11191">#11191</a>:
Add new <code>Lint/NumericOperationWithConstantResult</code> cop. ([<a
href="https://github.com/zopolis4"><code>@zopolis4</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/13486">#13486</a>:
Add new <code>Style/DigChain</code> cop. (<a
href="https://github.com/dvandersluis"><code>@dvandersluis</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/13490">#13490</a>:
Add new <code>Style/FileNull</code> cop. (<a
href="https://github.com/dvandersluis"><code>@dvandersluis</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13484">#13484</a>:
Add new <code>Style/FileTouch</code> cop. (<a
href="https://github.com/lovro-bikic"><code>@lovro-bikic</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/13437">#13437</a>:
Add a new cop <code>Lint/UselessDefined</code> to detect cases such as
<code>defined?('Foo')</code> when <code>defined?(Foo)</code> was
intended. (<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/13455">#13455</a>:
Fix a false positive for <code>Layout/EmptyLineAfterGuardClause</code>
when using a guard clause outside oneliner block. (<a
href="https://github.com/koic"><code>@koic</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/13412">#13412</a>:
Fix a false positive for <code>Style/RedundantLineContinuation</code>
when there is a line continuation at the end of Ruby code followed by
<code>__END__</code> data. (<a
href="https://github.com/koic"><code>@koic</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13476">#13476</a>:
Allow to write generics type of RBS::Inline annotation after subclass
definition 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/pull/13441">#13441</a>:
Fix an incorrect autocorrect for <code>Style/IfWithSemicolon</code> when
using <code>return</code> with value in <code>if</code> with a semicolon
is used. (<a
href="https://github.com/koic"><code>@koic</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13448">#13448</a>:
Fix an incorrect autocorrect for <code>Style/IfWithSemicolon</code> when
the then body contains an arithmetic operator method call with an
argument. (<a
href="https://github.com/koic"><code>@koic</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/13199">#13199</a>:
Make <code>Style/RedundantCondition</code> skip autocorrection when a
branch has a comment. (<a
href="https://github.com/koic"><code>@koic</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13411">#13411</a>:
Fix <code>Style/BitwisePredicate</code> when having regular method. ([<a
href="https://github.com/d4be4st"><code>@d4be4st</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13432">#13432</a>:
Fix false positive for <code>Lint/FloatComparison</code> against nil.
(<a
href="https://github.com/lovro-bikic"><code>@lovro-bikic</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13461">#13461</a>:
Fix false positives for <code>Lint/InterpolationCheck</code> when using
invalid syntax in interpolation. (<a
href="https://github.com/koic"><code>@koic</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/13402">#13402</a>:
Fix a false positive for <code>Lint/SafeNavigationConsistency</code>
when using unsafe navigation with both <code>&&</code> and
<code>||</code>. (<a
href="https://github.com/koic"><code>@koic</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/13434">#13434</a>:
Fix a false positive for
<code>Naming/MemoizedInstanceVariableName</code> for assignment
methods`. (<a
href="https://github.com/earlopain"><code>@earlopain</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/13415">#13415</a>:
Fix false positives for <code>Naming/MemoizedInstanceVariableName</code>
when using <code>initialize_clone</code>, <code>initialize_copy</code>,
or <code>initialize_dup</code>. (<a
href="https://github.com/koic"><code>@koic</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/13421">#13421</a>:
Fix false positives for <code>Style/SafeNavigation</code> when using a
method chain that exceeds the <code>MaxChainLength</code> value and
includes safe navigation operator. (<a
href="https://github.com/koic"><code>@koic</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/13433">#13433</a>:
Fix autocorrection for <code>Style/AccessModifierDeclarations</code> for
multiple inline symbols. (<a
href="https://github.com/dvandersluis"><code>@dvandersluis</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.69.1 (2024-12-03)</h2>
<h3>Bug fixes</h3>
<ul>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/13502">#13502</a>:
Fix an incorrect autocorrect for <code>Style/DigChain</code> when using
safe navigation method chain with <code>dig</code> method. ([<a
href="https://github.com/koic"><code>@koic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/13505">#13505</a>:
Fix an error for <code>Style/ParallelAssignment</code> when using the
anonymous splat operator. ([<a
href="https://github.com/earlopain"><code>@earlopain</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13184">#13184</a>:
Fix some false positives in <code>Lint/UnreachableCode</code>. ([<a
href="https://github.com/isuckatcs"><code>@isuckatcs</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13494">#13494</a>:
Fix false positives for <code>Style/HashExcept</code> cop when using
<code>reject/!include?</code>, <code>reject/!in?</code> or
<code>select/!exclude?</code> combinations. ([<a
href="https://github.com/lovro-bikic"><code>@lovro-bikic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13522">#13522</a>:
Fix <code>Lint/UnescapedBracketInRegexp</code> cop failure with invalid
regular expression. ([<a
href="https://github.com/viralpraxis"><code>@viralpraxis</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13523">#13523</a>:
Fix <code>Style::AccessModifierDeclarations</code> cop failure in case
of <code>if</code> node without <code>else</code>. ([<a
href="https://github.com/viralpraxis"><code>@viralpraxis</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13524">#13524</a>:
Fix <code>Style/RedundantArgument</code> cop failure while inspecting
string literal with invalid encoding. ([<a
href="https://github.com/viralpraxis"><code>@viralpraxis</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13528">#13528</a>:
Fix <code>Style/RedundantParentheses</code> cop failure in case of
splatted <code>case</code> node without condition. ([<a
href="https://github.com/viralpraxis"><code>@viralpraxis</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13521">#13521</a>:
Fix <code>Style/RedundantSelf</code> cop failure with
<code>kwnilarg</code> argument node. ([<a
href="https://github.com/viralpraxis"><code>@viralpraxis</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13526">#13526</a>:
Fix <code>Style/StringConcatenation</code> cop failure when there are
mixed implicit and explicit concatenations. ([<a
href="https://github.com/viralpraxis"><code>@viralpraxis</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/13511">#13511</a>:
Fix false positive in <code>Lint/UnescapedBracketInRegexp</code> when
using regexp_parser 2.9.2 and earlier. ([<a
href="https://github.com/dvandersluis"><code>@dvandersluis</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/13096">#13096</a>:
Update <code>Style/BlockDelimiters</code> to not change braces when they
are required for syntax. ([<a
href="https://github.com/dvandersluis"><code>@dvandersluis</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13512">#13512</a>:
Update <code>Style/LambdaCall</code> to be aware of safe navigation.
([<a
href="https://github.com/dvandersluis"><code>@dvandersluis</code></a>][])</li>
</ul>
<h2>1.69.0 (2024-11-26)</h2>
<h3>New features</h3>
<ul>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13439">#13439</a>:
Add new <code>Lint/HashNewWithKeywordArgumentsAsDefault</code> cop. ([<a
href="https://github.com/koic"><code>@koic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/11191">#11191</a>:
Add new <code>Lint/NumericOperationWithConstantResult</code> cop. ([<a
href="https://github.com/zopolis4"><code>@zopolis4</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/13486">#13486</a>:
Add new <code>Style/DigChain</code> cop. ([<a
href="https://github.com/dvandersluis"><code>@dvandersluis</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/13490">#13490</a>:
Add new <code>Style/FileNull</code> cop. ([<a
href="https://github.com/dvandersluis"><code>@dvandersluis</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13484">#13484</a>:
Add new <code>Style/FileTouch</code> cop. ([<a
href="https://github.com/lovro-bikic"><code>@lovro-bikic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/13437">#13437</a>:
Add a new cop <code>Lint/UselessDefined</code> to detect cases such as
<code>defined?('Foo')</code> when <code>defined?(Foo)</code> was
intended. ([<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/13455">#13455</a>:
Fix a false positive for <code>Layout/EmptyLineAfterGuardClause</code>
when using a guard clause outside oneliner block. ([<a
href="https://github.com/koic"><code>@koic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/13412">#13412</a>:
Fix a false positive for <code>Style/RedundantLineContinuation</code>
when there is a line continuation at the end of Ruby code followed by
<code>__END__</code> data. ([<a
href="https://github.com/koic"><code>@koic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13476">#13476</a>:
Allow to write generics type of RBS::Inline annotation after subclass
definition 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/pull/13441">#13441</a>:
Fix an incorrect autocorrect for <code>Style/IfWithSemicolon</code> when
using <code>return</code> with value in <code>if</code> with a semicolon
is used. ([<a
href="https://github.com/koic"><code>@koic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13448">#13448</a>:
Fix an incorrect autocorrect for <code>Style/IfWithSemicolon</code> when
the then body contains an arithmetic operator method call with an
argument. ([<a
href="https://github.com/koic"><code>@koic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/13199">#13199</a>:
Make <code>Style/RedundantCondition</code> skip autocorrection when a
branch has a comment. ([<a
href="https://github.com/koic"><code>@koic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13411">#13411</a>:
Fix <code>Style/BitwisePredicate</code> when having regular method. ([<a
href="https://github.com/d4be4st"><code>@d4be4st</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13432">#13432</a>:
Fix false positive for <code>Lint/FloatComparison</code> against nil.
([<a
href="https://github.com/lovro-bikic"><code>@lovro-bikic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13461">#13461</a>:
Fix false positives for <code>Lint/InterpolationCheck</code> when using
invalid syntax in interpolation. ([<a
href="https://github.com/koic"><code>@koic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/13402">#13402</a>:
Fix a false positive for <code>Lint/SafeNavigationConsistency</code>
when using unsafe navigation with both <code>&&</code> and
<code>||</code>. ([<a
href="https://github.com/koic"><code>@koic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/13434">#13434</a>:
Fix a false positive for
<code>Naming/MemoizedInstanceVariableName</code> for assignment
methods`. ([<a
href="https://github.com/earlopain"><code>@earlopain</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/13415">#13415</a>:
Fix false positives for <code>Naming/MemoizedInstanceVariableName</code>
when using <code>initialize_clone</code>, <code>initialize_copy</code>,
or <code>initialize_dup</code>. ([<a
href="https://github.com/koic"><code>@koic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/13421">#13421</a>:
Fix false positives for <code>Style/SafeNavigation</code> when using a
method chain that exceeds the <code>MaxChainLength</code> value and
includes safe navigation operator. ([<a
href="https://github.com/koic"><code>@koic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/13433">#13433</a>:
Fix autocorrection for <code>Style/AccessModifierDeclarations</code> for
multiple inline symbols. ([<a
href="https://github.com/dvandersluis"><code>@dvandersluis</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/13430">#13430</a>:
Fix EmptyLinesAroundMethodBody for methods with arguments spanning
multiple lines. ([<a
href="https://github.com/aduth"><code>@aduth</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13438">#13438</a>:
Fix incorrect correction in <code>Lint/Void</code> if an operator is
called in a void context using a dot. ([<a
href="https://github.com/dvandersluis"><code>@dvandersluis</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13419">#13419</a>:
Fix <code>Lint/DeprecatedOpenSSLConstant</code> false positive when the
argument is a safe navigation method call. ([<a
href="https://github.com/dvandersluis"><code>@dvandersluis</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13404">#13404</a>:
Fix <code>Style/AccessModifierDeclarations</code> to register (as
positive or negative, depending on <code>AllowModifiersOnSymbols</code>
value) access modifiers with multiple symbols. ([<a
href="https://github.com/dvandersluis"><code>@dvandersluis</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13436">#13436</a>:
Fix incorrect offense and autocorrect for
<code>Lint/RedundantSplatExpansion</code> when percent literal array is
used in a safe navigation method call. ([<a
href="https://github.com/lovro-bikic"><code>@lovro-bikic</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/3d95b38d1d5e8fec59d28245559d77594ea04b44"><code>3d95b38</code></a>
Cut 1.69.1</li>
<li><a
href="https://github.com/rubocop/rubocop/commit/c60ffa5ba6657ec8c3b43917202ac49281ac6d64"><code>c60ffa5</code></a>
Update Changelog</li>
<li><a
href="https://github.com/rubocop/rubocop/commit/4f2ac18d7c8cd79ca59a88cfeb8b8c523e8472e2"><code>4f2ac18</code></a>
Lint/BinaryOperatorWithIdenticalOperands: Remove MATH_OPERATORS as they
will ...</li>
<li><a
href="https://github.com/rubocop/rubocop/commit/ea4aa488830cd082c10ce7edba4230e01c5a40d4"><code>ea4aa48</code></a>
Merge pull request <a
href="https://redirect.github.com/rubocop/rubocop/issues/13529">#13529</a>
from dvandersluis/generator-internal-affairs</li>
<li><a
href="https://github.com/rubocop/rubocop/commit/12e1ea2797b2725801e6b7d90abb996b71369322"><code>12e1ea2</code></a>
Update <code>rake new_cop</code> to handle <code>InternalAffairs</code>
cops</li>
<li><a
href="https://github.com/rubocop/rubocop/commit/84f3d433be56c7d2d3edaa9fa898e108e8459982"><code>84f3d43</code></a>
Specify <code>maximum_target_ruby_version</code> for a handful of cops,
document it</li>
<li><a
href="https://github.com/rubocop/rubocop/commit/ef8009cee996b958203ebce43953f0a2c7aada51"><code>ef8009c</code></a>
Merge pull request <a
href="https://redirect.github.com/rubocop/rubocop/issues/13531">#13531</a>
from rubocop/dependabot/github_actions/karancode/ya...</li>
<li><a
href="https://github.com/rubocop/rubocop/commit/7715ed7519d7181b0b6c421d5514a26fa7315ce9"><code>7715ed7</code></a>
Bump karancode/yamllint-github-action from 2.1.1 to 3.0.0</li>
<li><a
href="https://github.com/rubocop/rubocop/commit/cc43be0349980b615655932d509989322def194c"><code>cc43be0</code></a>
Merge pull request <a
href="https://redirect.github.com/rubocop/rubocop/issues/13528">#13528</a>
from viralpraxis/fix-style-redundant-parentheses-co...</li>
<li><a
href="https://github.com/rubocop/rubocop/commit/bd8b67443a1b00f532aea359950e635269fceb86"><code>bd8b674</code></a>
Fix <code>Style/RedundantParentheses</code> cop failure in case of
splatted <code>case</code> node ...</li>
<li>Additional commits viewable in <a
href="https://github.com/rubocop/rubocop/compare/v1.68.0...v1.69.1">compare
view</a></li>
</ul>
</details>
<br />
[](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>1 file changed
+8
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
355 | 355 | | |
356 | 356 | | |
357 | 357 | | |
358 | | - | |
| 358 | + | |
359 | 359 | | |
360 | 360 | | |
361 | 361 | | |
| |||
415 | 415 | | |
416 | 416 | | |
417 | 417 | | |
418 | | - | |
| 418 | + | |
419 | 419 | | |
420 | 420 | | |
421 | 421 | | |
| |||
509 | 509 | | |
510 | 510 | | |
511 | 511 | | |
512 | | - | |
| 512 | + | |
513 | 513 | | |
514 | 514 | | |
515 | 515 | | |
| |||
563 | 563 | | |
564 | 564 | | |
565 | 565 | | |
566 | | - | |
| 566 | + | |
567 | 567 | | |
568 | 568 | | |
569 | 569 | | |
570 | 570 | | |
571 | 571 | | |
572 | | - | |
573 | | - | |
| 572 | + | |
| 573 | + | |
574 | 574 | | |
575 | | - | |
576 | | - | |
| 575 | + | |
| 576 | + | |
577 | 577 | | |
578 | 578 | | |
579 | 579 | | |
| |||
0 commit comments