Skip to content

Commit

Permalink
Upgrade: Bump rubocop from 1.65.1 to 1.66.1 (#4835)
Browse files Browse the repository at this point in the history
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.65.1 to
1.66.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.66.1</h2>
<h3>Bug fixes</h3>
<ul>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13191">#13191</a>:
Fix an error for <code>Style/IfWithSemicolon</code> when using nested
single-line if/;/end in block of if/else branches. (<a
href="https://github.com/koic"><code>@​koic</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13178">#13178</a>:
Fix false positive for <code>Style/EmptyLiteral</code> with
<code>Hash.new([])</code>. (<a
href="https://github.com/earlopain"><code>@​earlopain</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/13176">#13176</a>:
Fix crash in <code>Style/EmptyElse</code> when <code>AllowComments:
true</code> and the else clause is missing. (<a
href="https://github.com/vlad-pisanov"><code>@​vlad-pisanov</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13185">#13185</a>:
Fix false negatives in <code>Style/MapIntoArray</code> autocorrection
when using <code>ensure</code>, <code>def</code>, <code>defs</code> and
<code>for</code>. (<a
href="https://github.com/vlad-pisanov"><code>@​vlad-pisanov</code></a>)</li>
</ul>
<h2>RuboCop 1.66</h2>
<h3>New features</h3>
<ul>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13077">#13077</a>:
Add new global <code>StringLiteralsFrozenByDefault</code> option for
correct analysis with
<code>RUBYOPT=--enable=frozen-string-literal</code>. (<a
href="https://github.com/earlopain"><code>@​earlopain</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13080">#13080</a>:
Add new <code>DocumentationExtension</code> global option to serve
documentation with extensions different than <code>.html</code>. (<a
href="https://github.com/earlopain"><code>@​earlopain</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/13074">#13074</a>:
Add new <code>Lint/UselessNumericOperation</code> cop to check for
inconsequential numeric operations. ([<a
href="https://github.com/zopolis4"><code>@​zopolis4</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/13061">#13061</a>:
Add new <code>Style/RedundantInterpolationUnfreeze</code> cop to check
for <code>dup</code> and <code>@+</code> on interpolated strings in Ruby
&gt;= 3.0. (<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/issues/13093">#13093</a>:
Fix an error for <code>Lint/ImplicitStringConcatenation</code> when
implicitly concatenating a string literal with a line break and string
interpolation. (<a
href="https://github.com/koic"><code>@​koic</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/13098">#13098</a>:
Fix an error for <code>Style/IdenticalConditionalBranches</code> when
handling empty case branches. (<a
href="https://github.com/koic"><code>@​koic</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13113">#13113</a>:
Fix an error for <code>Style/IfWithSemicolon</code> when a nested
<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/issues/13097">#13097</a>:
Fix an error for <code>Style/InPatternThen</code> when using alternative
pattern matching deeply. (<a
href="https://github.com/koic"><code>@​koic</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13159">#13159</a>:
Fix an error for <code>Style/OneLineConditional</code> when using
if/then/else/end with multiple expressions in the <code>then</code>
body. (<a href="https://github.com/koic"><code>@​koic</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13092">#13092</a>:
Fix an incorrect autocorrect for
<code>Layout/EmptyLineBetweenDefs</code> when two method definitions are
on the same line separated by a semicolon. (<a
href="https://github.com/koic"><code>@​koic</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13116">#13116</a>:
Fix an incorrect autocorrect for <code>Style/IfWithSemicolon</code> when
a single-line <code>if/;/end</code> has an argument in the then body
expression. (<a
href="https://github.com/koic"><code>@​koic</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13161">#13161</a>:
Fix incorrect autocorrect for <code>Style/IfWithSemicolon</code> when
using multiple expressions in the <code>else</code> body. (<a
href="https://github.com/koic"><code>@​koic</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13132">#13132</a>:
Fix incorrect autocorrect for
<code>Style/TrailingBodyOnMethodDefinition</code> when an expression
precedes a method definition on the same line with a semicolon. (<a
href="https://github.com/koic"><code>@​koic</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13164">#13164</a>:
Fix incorrect autocorrect behavior for
<code>Layout/BlockAlignment</code> when <code>EnforcedStyleAlignWith:
either (default)</code>. (<a
href="https://github.com/koic"><code>@​koic</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13087">#13087</a>:
Fix an incorrect autocorrect for <code>Style/MultipleComparison</code>
when expression with more comparisons precedes an expression with less
comparisons. ([<a
href="https://github.com/fatkodima"><code>@​fatkodima</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13172">#13172</a>:
Fix an error for
<code>Layout/EmptyLinesAroundExceptionHandlingKeywords</code> when
<code>ensure</code> or <code>else</code> and <code>end</code> are on the
same line. (<a
href="https://github.com/koic"><code>@​koic</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/13107">#13107</a>:
Fix an error for <code>Lint/ImplicitStringConcatenation</code> when
there are multiple adjacent string interpolation literals on the same
line. (<a href="https://github.com/koic"><code>@​koic</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13111">#13111</a>:
Fix an error for <code>Style/GuardClause</code> when if clause is empty
and correction would not fit on single line because of
<code>Layout/LineLength</code>. (<a
href="https://github.com/earlopain"><code>@​earlopain</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13137">#13137</a>:
Fix an error for <code>Style/ParallelAssignment</code> when using
<code>__FILE__</code>. (<a
href="https://github.com/earlopain"><code>@​earlopain</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13143">#13143</a>:
Fix an error during <code>TargetRubyVersion</code> detection if the
gemspec is not valid syntax. (<a
href="https://github.com/earlopain"><code>@​earlopain</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13131">#13131</a>:
Fix false negatives for <code>Lint/Void</code> when using
<code>ensure</code>, <code>defs</code> and <code>numblock</code>. (<a
href="https://github.com/vlad-pisanov"><code>@​vlad-pisanov</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13174">#13174</a>:
Fix false negatives for <code>Style/MapIntoArray</code> when
initializing the destination using <code>Array[]</code>,
<code>Array([])</code>, or <code>Array.new([])</code>. (<a
href="https://github.com/vlad-pisanov"><code>@​vlad-pisanov</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13173">#13173</a>:
Fix false negatives for <code>Style/EmptyLiteral</code> when using
<code>Array[]</code>, <code>Hash[]</code>, <code>Array.new([])</code>
and <code>Hash.new([])</code>. (<a
href="https://github.com/vlad-pisanov"><code>@​vlad-pisanov</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/13126">#13126</a>:
Fix a false positive for <code>Style/Alias</code> when using multiple
<code>alias</code> in <code>def</code>. (<a
href="https://github.com/koic"><code>@​koic</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/13085">#13085</a>:
Fix a false positive for <code>Style/EmptyElse</code> when a
comment-only <code>else</code> is used after <code>elsif</code> and
<code>AllowComments: true</code> is set. (<a
href="https://github.com/koic"><code>@​koic</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/13118">#13118</a>:
Fix a false positive for <code>Style/MapIntoArray</code> when splatting.
(<a
href="https://github.com/earlopain"><code>@​earlopain</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/13105">#13105</a>:
Fix false positives for <code>Style/ArgumentsForwarding</code> when
forwarding kwargs/block arg with non-matching additional args. (<a
href="https://github.com/koic"><code>@​koic</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/13139">#13139</a>:
Fix false positives for <code>Style/RedundantCondition</code> when using
modifier <code>if</code> or <code>unless</code>. (<a
href="https://github.com/koic"><code>@​koic</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13134">#13134</a>:
Fix false negative for <code>Lint/Void</code> when using using frozen
literals. (<a
href="https://github.com/vlad-pisanov"><code>@​vlad-pisanov</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13148">#13148</a>:
Fix incorrect autocorrect for <code>Lint/EmptyConditionalBody</code>
when missing <code>elsif</code> body with <code>end</code> on the same
line. (<a href="https://github.com/koic"><code>@​koic</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13109">#13109</a>:
Fix an error for the <code>Lockfile</code> parser when it contains
incompatible <code>BUNDLED WITH</code> versions. (<a
href="https://github.com/earlopain"><code>@​earlopain</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13112">#13112</a>:
Fix detection of <code>TargetRubyVersion</code> through the gemfile if
the gemfile ruby version is below 2.7. (<a
href="https://github.com/earlopain"><code>@​earlopain</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.66.1 (2024-09-04)</h2>
<h3>Bug fixes</h3>
<ul>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13191">#13191</a>:
Fix an error for <code>Style/IfWithSemicolon</code> when using nested
single-line if/;/end in block of if/else branches. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13178">#13178</a>:
Fix false positive for <code>Style/EmptyLiteral</code> with
<code>Hash.new([])</code>. ([<a
href="https://github.com/earlopain"><code>@​earlopain</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/13176">#13176</a>:
Fix crash in <code>Style/EmptyElse</code> when <code>AllowComments:
true</code> and the else clause is missing. ([<a
href="https://github.com/vlad-pisanov"><code>@​vlad-pisanov</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13185">#13185</a>:
Fix false negatives in <code>Style/MapIntoArray</code> autocorrection
when using <code>ensure</code>, <code>def</code>, <code>defs</code> and
<code>for</code>. ([<a
href="https://github.com/vlad-pisanov"><code>@​vlad-pisanov</code></a>][])</li>
</ul>
<h2>1.66.0 (2024-08-31)</h2>
<h3>New features</h3>
<ul>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13077">#13077</a>:
Add new global <code>StringLiteralsFrozenByDefault</code> option for
correct analysis with
<code>RUBYOPT=--enable=frozen-string-literal</code>. ([<a
href="https://github.com/earlopain"><code>@​earlopain</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13080">#13080</a>:
Add new <code>DocumentationExtension</code> global option to serve
documentation with extensions different than <code>.html</code>. ([<a
href="https://github.com/earlopain"><code>@​earlopain</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/13074">#13074</a>:
Add new <code>Lint/UselessNumericOperation</code> cop to check for
inconsequential numeric operations. ([<a
href="https://github.com/zopolis4"><code>@​zopolis4</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/13061">#13061</a>:
Add new <code>Style/RedundantInterpolationUnfreeze</code> cop to check
for <code>dup</code> and <code>@+</code> on interpolated strings in Ruby
&gt;= 3.0. ([<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/issues/13093">#13093</a>:
Fix an error for <code>Lint/ImplicitStringConcatenation</code> when
implicitly concatenating a string literal with a line break and string
interpolation. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/13098">#13098</a>:
Fix an error for <code>Style/IdenticalConditionalBranches</code> when
handling empty case branches. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13113">#13113</a>:
Fix an error for <code>Style/IfWithSemicolon</code> when a nested
<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/issues/13097">#13097</a>:
Fix an error for <code>Style/InPatternThen</code> when using alternative
pattern matching deeply. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13159">#13159</a>:
Fix an error for <code>Style/OneLineConditional</code> when using
if/then/else/end with multiple expressions in the <code>then</code>
body. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13092">#13092</a>:
Fix an incorrect autocorrect for
<code>Layout/EmptyLineBetweenDefs</code> when two method definitions are
on the same line separated by a semicolon. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13116">#13116</a>:
Fix an incorrect autocorrect for <code>Style/IfWithSemicolon</code> when
a single-line <code>if/;/end</code> has an argument in the then body
expression. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13161">#13161</a>:
Fix incorrect autocorrect for <code>Style/IfWithSemicolon</code> when
using multiple expressions in the <code>else</code> body. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13132">#13132</a>:
Fix incorrect autocorrect for
<code>Style/TrailingBodyOnMethodDefinition</code> when an expression
precedes a method definition on the same line with a semicolon. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13164">#13164</a>:
Fix incorrect autocorrect behavior for
<code>Layout/BlockAlignment</code> when <code>EnforcedStyleAlignWith:
either (default)</code>. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13087">#13087</a>:
Fix an incorrect autocorrect for <code>Style/MultipleComparison</code>
when expression with more comparisons precedes an expression with less
comparisons. ([<a
href="https://github.com/fatkodima"><code>@​fatkodima</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13172">#13172</a>:
Fix an error for
<code>Layout/EmptyLinesAroundExceptionHandlingKeywords</code> when
<code>ensure</code> or <code>else</code> and <code>end</code> are on the
same line. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/13107">#13107</a>:
Fix an error for <code>Lint/ImplicitStringConcatenation</code> when
there are multiple adjacent string interpolation literals on the same
line. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13111">#13111</a>:
Fix an error for <code>Style/GuardClause</code> when if clause is empty
and correction would not fit on single line because of
<code>Layout/LineLength</code>. ([<a
href="https://github.com/earlopain"><code>@​earlopain</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13137">#13137</a>:
Fix an error for <code>Style/ParallelAssignment</code> when using
<code>__FILE__</code>. ([<a
href="https://github.com/earlopain"><code>@​earlopain</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13143">#13143</a>:
Fix an error during <code>TargetRubyVersion</code> detection if the
gemspec is not valid syntax. ([<a
href="https://github.com/earlopain"><code>@​earlopain</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13131">#13131</a>:
Fix false negatives for <code>Lint/Void</code> when using
<code>ensure</code>, <code>defs</code> and <code>numblock</code>. ([<a
href="https://github.com/vlad-pisanov"><code>@​vlad-pisanov</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13174">#13174</a>:
Fix false negatives for <code>Style/MapIntoArray</code> when
initializing the destination using <code>Array[]</code>,
<code>Array([])</code>, or <code>Array.new([])</code>. ([<a
href="https://github.com/vlad-pisanov"><code>@​vlad-pisanov</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13173">#13173</a>:
Fix false negatives for <code>Style/EmptyLiteral</code> when using
<code>Array[]</code>, <code>Hash[]</code>, <code>Array.new([])</code>
and <code>Hash.new([])</code>. ([<a
href="https://github.com/vlad-pisanov"><code>@​vlad-pisanov</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/13126">#13126</a>:
Fix a false positive for <code>Style/Alias</code> when using multiple
<code>alias</code> in <code>def</code>. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/13085">#13085</a>:
Fix a false positive for <code>Style/EmptyElse</code> when a
comment-only <code>else</code> is used after <code>elsif</code> and
<code>AllowComments: true</code> is set. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/13118">#13118</a>:
Fix a false positive for <code>Style/MapIntoArray</code> when splatting.
([<a
href="https://github.com/earlopain"><code>@​earlopain</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/13105">#13105</a>:
Fix false positives for <code>Style/ArgumentsForwarding</code> when
forwarding kwargs/block arg with non-matching additional args. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/13139">#13139</a>:
Fix false positives for <code>Style/RedundantCondition</code> when using
modifier <code>if</code> or <code>unless</code>. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13134">#13134</a>:
Fix false negative for <code>Lint/Void</code> when using using frozen
literals. ([<a
href="https://github.com/vlad-pisanov"><code>@​vlad-pisanov</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13148">#13148</a>:
Fix incorrect autocorrect for <code>Lint/EmptyConditionalBody</code>
when missing <code>elsif</code> body with <code>end</code> on the same
line. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13109">#13109</a>:
Fix an error for the <code>Lockfile</code> parser when it contains
incompatible <code>BUNDLED WITH</code> versions. ([<a
href="https://github.com/earlopain"><code>@​earlopain</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13112">#13112</a>:
Fix detection of <code>TargetRubyVersion</code> through the gemfile if
the gemfile ruby version is below 2.7. ([<a
href="https://github.com/earlopain"><code>@​earlopain</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13155">#13155</a>:
Fixes an error when the server cache directory has too long path,
causing rubocop to fail even with caching disabled. ([<a
href="https://github.com/protocol7"><code>@​protocol7</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/ba8e7be2f1b76252140e46bcd6f007254f9c5f80"><code>ba8e7be</code></a>
Cut 1.66.1</li>
<li><a
href="https://github.com/rubocop/rubocop/commit/2900c91ed80c7801ef8130bdb5068e9a6091450c"><code>2900c91</code></a>
Update Changelog</li>
<li><a
href="https://github.com/rubocop/rubocop/commit/08bed8111ecc49fe63502b0eb7220905bbd155a3"><code>08bed81</code></a>
Fix an error for <code>Style/IfWithSemicolon</code></li>
<li><a
href="https://github.com/rubocop/rubocop/commit/c2ae36230d3f7b571ae84513b92f0dad275a4d83"><code>c2ae362</code></a>
Don't parse YAML twice</li>
<li><a
href="https://github.com/rubocop/rubocop/commit/5f3481fffd82d902120456f170fe2e312adaa486"><code>5f3481f</code></a>
Use <code>rubocop-ast</code> <code>SimpleForwardable</code></li>
<li><a
href="https://github.com/rubocop/rubocop/commit/5e65a391ea81da40c8954b61a9f5e24a3a2bfbf5"><code>5e65a39</code></a>
Merge pull request <a
href="https://redirect.github.com/rubocop/rubocop/issues/13185">#13185</a>
from vlad-pisanov/vp_map_into_array_2</li>
<li><a
href="https://github.com/rubocop/rubocop/commit/d18b3c9445422d992c2369f451fe9634c82594be"><code>d18b3c9</code></a>
Fix false negatives in <code>Style/MapIntoArray</code> autocorrection
when using `ensure...</li>
<li><a
href="https://github.com/rubocop/rubocop/commit/32771189bbfa996d645130ff6bf61c45a29591b6"><code>3277118</code></a>
[Fix <a
href="https://redirect.github.com/rubocop/rubocop/issues/13182">#13182</a>]
Tweak the doc for <code>Style/RedundantInterpolationUnfreeze</code></li>
<li><a
href="https://github.com/rubocop/rubocop/commit/9a38b11911c3205c4bb37f165ce878721af04854"><code>9a38b11</code></a>
Merge pull request <a
href="https://redirect.github.com/rubocop/rubocop/issues/13179">#13179</a>
from Earlopain/node-matcher-directiry-error</li>
<li><a
href="https://github.com/rubocop/rubocop/commit/fd4f4d700d5be89ad0b37c761b614ac23d8c8075"><code>fd4f4d7</code></a>
Fix an error for <code>InternalAffairs/NodeMatcherDirective</code> when
no second argument</li>
<li>Additional commits viewable in <a
href="https://github.com/rubocop/rubocop/compare/v1.65.1...v1.66.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.65.1&new-version=1.66.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 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>
  • Loading branch information
dependabot[bot] authored Oct 20, 2024
1 parent cd5e40f commit b6da2fb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ group :development do
gem 'listen', '~> 3.9'
gem 'lookbook', '~> 2.3.2'
gem 'rack-mini-profiler'
gem 'rubocop', '~> 1.61', require: false
gem 'rubocop', '~> 1.66', require: false
gem 'rubocop-performance', '~> 1.22', require: false
gem 'rubocop-rails', '~> 2.26', require: false
gem 'rubocop-rspec', '~> 2.25', require: false
Expand Down
9 changes: 4 additions & 5 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ GEM
http-cookie (>= 1.0.2, < 2.0)
mime-types (>= 1.16, < 4.0)
netrc (~> 0.8)
rexml (3.3.7)
rexml (3.3.8)
rotp (6.3.0)
rouge (4.3.0)
rqrcode (2.2.0)
Expand Down Expand Up @@ -470,15 +470,14 @@ GEM
rspec-support (3.13.1)
rspec_junit_formatter (0.6.0)
rspec-core (>= 2, < 4, != 2.12.0)
rubocop (1.65.1)
rubocop (1.66.1)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
parallel (~> 1.10)
parser (>= 3.3.0.2)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 2.4, < 3.0)
rexml (>= 3.2.5, < 4.0)
rubocop-ast (>= 1.31.1, < 2.0)
rubocop-ast (>= 1.32.2, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.32.3)
Expand Down Expand Up @@ -643,7 +642,7 @@ DEPENDENCIES
rspec-retry (~> 0.6)
rspec-snapshot (~> 2.0)
rspec_junit_formatter (~> 0.6)
rubocop (~> 1.61)
rubocop (~> 1.66)
rubocop-performance (~> 1.22)
rubocop-rails (~> 2.26)
rubocop-rspec (~> 2.25)
Expand Down

0 comments on commit b6da2fb

Please sign in to comment.