Skip to content

Commit

Permalink
Update rubocop requirement from 1.64.1 to 1.65.1 (#456)
Browse files Browse the repository at this point in the history
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 1.65.1</h2>
<h3>New features</h3>
<ul>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13068">#13068</a>:
Add config validation to <code>Naming/PredicateName</code> to check that
all <code>ForbiddenPrefixes</code> are being checked. (<a
href="https://github.com/maxjacobson"><code>@​maxjacobson</code></a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/13051">#13051</a>:
Fix an error for <code>Lint/FloatComparison</code> when comparing with
rational literal. (<a
href="https://github.com/koic"><code>@​koic</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/13065">#13065</a>:
Fix an error for <code>Lint/UselessAssignment</code> when same name
variables are assigned using chained assignment. (<a
href="https://github.com/koic"><code>@​koic</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13062">#13062</a>:
Fix an error for <code>Style/InvertibleUnlessCondition</code> when using
empty parenthesis as condition. (<a
href="https://github.com/earlopain"><code>@​earlopain</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/11438">#11438</a>:
Explicitly load <code>fileutils</code> before calculating
<code>before_us</code>. (<a
href="https://github.com/r7kamura"><code>@​r7kamura</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/13044">#13044</a>:
Fix false negatives for <code>Lint/ImplicitStringConcatenation</code>
when using 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/13083">#13083</a>:
Fix a false positive for <code>Style/GlobalStdStream</code> when using
namespaced constants like <code>Foo::STDOUT</code>. (<a
href="https://github.com/earlopain"><code>@​earlopain</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13081">#13081</a>:
Fix a false positive for <code>Style/ZeroLengthPredicate</code> when
using safe navigation and non-zero comparison. (<a
href="https://github.com/fatkodima"><code>@​fatkodima</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/13041">#13041</a>:
Fix false positives for <code>Lint/UselessAssignment</code> when pattern
match variable is assigned and used in a block. (<a
href="https://github.com/koic"><code>@​koic</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/13076">#13076</a>:
Fix an incorrect autocorrect for
<code>Naming/RescuedExceptionsVariableName</code> when using hash value
omission. (<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.65.1 (2024-08-01)</h2>
<h3>New features</h3>
<ul>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13068">#13068</a>:
Add config validation to <code>Naming/PredicateName</code> to check that
all <code>ForbiddenPrefixes</code> are being checked. ([<a
href="https://github.com/maxjacobson"><code>@​maxjacobson</code></a>][])</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/13051">#13051</a>:
Fix an error for <code>Lint/FloatComparison</code> when comparing with
rational literal. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/13065">#13065</a>:
Fix an error for <code>Lint/UselessAssignment</code> when same name
variables are assigned using chained assignment. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13062">#13062</a>:
Fix an error for <code>Style/InvertibleUnlessCondition</code> when using
empty parenthesis as condition. ([<a
href="https://github.com/earlopain"><code>@​earlopain</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/11438">#11438</a>:
Explicitly load <code>fileutils</code> before calculating
<code>before_us</code>. ([<a
href="https://github.com/r7kamura"><code>@​r7kamura</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/13044">#13044</a>:
Fix false negatives for <code>Lint/ImplicitStringConcatenation</code>
when using 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/13083">#13083</a>:
Fix a false positive for <code>Style/GlobalStdStream</code> when using
namespaced constants like <code>Foo::STDOUT</code>. ([<a
href="https://github.com/earlopain"><code>@​earlopain</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13081">#13081</a>:
Fix a false positive for <code>Style/ZeroLengthPredicate</code> when
using safe navigation and non-zero comparison. ([<a
href="https://github.com/fatkodima"><code>@​fatkodima</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/13041">#13041</a>:
Fix false positives for <code>Lint/UselessAssignment</code> when pattern
match variable is assigned and used in a block. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/13076">#13076</a>:
Fix an incorrect autocorrect for
<code>Naming/RescuedExceptionsVariableName</code> when using hash value
omission. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
</ul>
<h2>1.65.0 (2024-07-10)</h2>
<h3>New features</h3>
<ul>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13030">#13030</a>:
Add new <code>Gemspec/AddRuntimeDependency</code> cop. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/12954">#12954</a>:
Fix a false negative for <code>Style/ArgumentsForwarding</code> when
arguments forwarding in <code>yield</code>. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/13033">#13033</a>:
Fix a false positive for <code>Layout/SpaceAroundOperators</code> when
using multiple spaces between an operator and a tailing comment. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/12885">#12885</a>:
Fix a false positive for <code>Lint/ToEnumArguments</code> when
enumerator is created for another method. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/13018">#13018</a>:
Fix a false positive for
<code>Style/MethodCallWithArgsParentheses</code> when
<code>EnforcedStyle: omit_parentheses</code> is set and parenthesized
method call is used before constant resolution. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/12986">#12986</a>:
Fix a false positive for <code>Style/RedundantBegin</code> when endless
method definition with <code>rescue</code>. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/12985">#12985</a>:
Fix an error for <code>Style/RedundantRegexpCharacterClass</code> when
using regexp_parser gem 2.3.1 or older. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/13010">#13010</a>:
Fix an error for <code>Style/SuperArguments</code> when the hash
argument is or-assigned. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/13023">#13023</a>:
Fix an error for <code>Style/SymbolProc</code> when using lambda
<code>-&gt;</code> with one argument and multiline
<code>do</code>...<code>end</code> block. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/12989">#12989</a>:
Fix an error for the <code>inherit_gem</code> config when the Gemfile
contains an uninstalled git gem. ([<a
href="https://github.com/earlopain"><code>@​earlopain</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/12975">#12975</a>:
Fix an error for the <code>inherit_gem</code> config when running
RuboCop without bundler and no Gemfile exists. ([<a
href="https://github.com/earlopain"><code>@​earlopain</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/12997">#12997</a>:
Fix an error for <code>Lint/UnmodifiedReduceAccumulator</code> when the
block is empty. ([<a
href="https://github.com/earlopain"><code>@​earlopain</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/12979">#12979</a>:
Fix false negatives for <code>Lint/Void</code> when void expression with
guard clause is not on last line. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/12716">#12716</a>:
Fix false negatives for <code>Lint/Void</code> when using parenthesized
void operators. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/12471">#12471</a>:
Fix false negatives for <code>Style/ZeroLengthPredicate</code> when
using safe navigation operator. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/12960">#12960</a>:
Fix false positives for <code>Lint/NestedMethodDefinition</code> when
definition of method on variable. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/13012">#13012</a>:
Fix false positives for <code>Style/HashExcept</code> when using
<code>reject</code> and calling <code>include?</code> method with bang.
([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/12983">#12983</a>:
Fix false positives for <code>Style/SendWithLiteralMethodName</code>
using <code>send</code> with writer method name. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/12957">#12957</a>:
Fix false positives for <code>Style/SuperArguments</code> when calling
super in a block. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
</ul>
<h3>Changes</h3>
<ul>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/12970">#12970</a>:
Add <code>CountModifierForms</code> option to
<code>Metrics/BlockNesting</code> and set it to <code>false</code> by
default. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13032">#13032</a>:
Display warning messages for deprecated APIs. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/13031">#13031</a>:
Enable YJIT by default in server mode. ([<a
href="https://github.com/koic"><code>@​koic</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/b073d7a01daf6652a533899e1da974e9110f46ca"><code>b073d7a</code></a>
Cut 1.65.1</li>
<li><a
href="https://github.com/rubocop/rubocop/commit/8c4c144c19f41cd98c0f601acd86c51684877667"><code>8c4c144</code></a>
Update Changelog</li>
<li><a
href="https://github.com/rubocop/rubocop/commit/19b3d9d3155b932134b040766eccf612b45cb02f"><code>19b3d9d</code></a>
Merge pull request <a
href="https://redirect.github.com/rubocop/rubocop/issues/13083">#13083</a>
from Earlopain/false-positive-global-std-stream</li>
<li><a
href="https://github.com/rubocop/rubocop/commit/761b917229f3c11dc7a64ff2f6ea65aa1584de23"><code>761b917</code></a>
Fix false positive for <code>Style/GlobalStdStream</code> for namespaced
constants</li>
<li><a
href="https://github.com/rubocop/rubocop/commit/58eeb7a29ed6c35d111fb4f264c364261dc7ecbb"><code>58eeb7a</code></a>
Clarify docs in Naming/PredicateName</li>
<li><a
href="https://github.com/rubocop/rubocop/commit/2443641d2d91ca1eaf2a3d7adf2f018cac61320e"><code>2443641</code></a>
Add a validate_config for Naming/PredicateName</li>
<li><a
href="https://github.com/rubocop/rubocop/commit/68bd9da9717ed2e20e2d2d629528e36dfde0814a"><code>68bd9da</code></a>
Merge pull request <a
href="https://redirect.github.com/rubocop/rubocop/issues/13079">#13079</a>
from koic/fix_incorrect_autocorrect_for_naming_resc...</li>
<li><a
href="https://github.com/rubocop/rubocop/commit/748a568779d8eeb13a26f17ff0c877ca5e51ecf0"><code>748a568</code></a>
Merge pull request <a
href="https://redirect.github.com/rubocop/rubocop/issues/13081">#13081</a>
from fatkodima/zero_length_predicate-false-positive</li>
<li><a
href="https://github.com/rubocop/rubocop/commit/70d8e880130749dff0a6acd839cc84fcb7a33f52"><code>70d8e88</code></a>
Fix a false positive for <code>Style/ZeroLengthPredicate</code> when
using safe navigati...</li>
<li><a
href="https://github.com/rubocop/rubocop/commit/ea309c2da7c72d8ebaccabbf7c673e66e40b6636"><code>ea309c2</code></a>
[Fix <a
href="https://redirect.github.com/rubocop/rubocop/issues/13076">#13076</a>]
Fix an incorrect autocorrect for `Naming/RescuedExceptionsVariab...</li>
<li>Additional commits viewable in <a
href="https://github.com/rubocop/rubocop/compare/v1.64.1...v1.65.1">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] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Aug 1, 2024
1 parent b690934 commit e7594ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ gem "concurrent-ruby", "~> 1.1"
gem "mighty_test", "~> 0.3.0" unless RUBY_VERSION < "3.1"
gem "minitest", "~> 5.11"
gem "rake", "~> 13.0"
gem "rubocop", "1.64.1"
gem "rubocop", "1.65.1"
gem "rubocop-md", "1.2.2"
gem "rubocop-minitest", "0.35.1"
gem "rubocop-packaging", "0.5.2"
Expand Down

0 comments on commit e7594ae

Please sign in to comment.