Skip to content

Commit

Permalink
Update rubocop requirement from 1.48.1 to 1.50.2 (#378)
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.50.2</h2>
<h3>Bug fixes</h3>
<ul>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/11799">#11799</a>:
Fix a false positive for <code>Style/CollectionCompact</code> when using
<code>reject</code> on hash to reject nils in Ruby 2.3 analysis. (<a
href="https://github.com/koic"><code>@​koic</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/11792">#11792</a>:
Fix an error for <code>Lint/DuplicateMatchPattern</code> when using hash
pattern with <code>if</code> guard. (<a
href="https://github.com/koic"><code>@​koic</code></a>)</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/11800">#11800</a>:
Mark <code>Style/InvertibleUnlessCondition</code> as unsafe. (<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.50.2 (2023-04-17)</h2>
<h3>Bug fixes</h3>
<ul>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/11799">#11799</a>:
Fix a false positive for <code>Style/CollectionCompact</code> when using
<code>reject</code> on hash to reject nils in Ruby 2.3 analysis. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/11792">#11792</a>:
Fix an error for <code>Lint/DuplicateMatchPattern</code> when using hash
pattern with <code>if</code> guard. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/11800">#11800</a>:
Mark <code>Style/InvertibleUnlessCondition</code> as unsafe. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
</ul>
<h2>1.50.1 (2023-04-12)</h2>
<h3>Bug fixes</h3>
<ul>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/11787">#11787</a>:
Fix a false positive for <code>Lint/DuplicateMatchPattern</code> when
repeated <code>in</code> patterns but different <code>if</code> guard is
used. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/11789">#11789</a>:
Fix false negatives for <code>Style/ParallelAssignment</code> when Ruby
2.7+. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/11783">#11783</a>:
Fix a false positive for <code>Style/RedundantLineContinuation</code>
using line concatenation for assigning a return value and without
argument parentheses. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
</ul>
<h2>1.50.0 (2023-04-11)</h2>
<h3>New features</h3>
<ul>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/11749">#11749</a>:
Add new <code>Lint/DuplicateMatchPattern</code> cop. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/11773">#11773</a>:
Make <code>Layout/ClassStructure</code> aware of singleton class. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/11779">#11779</a>:
Make <code>Lint/RedundantStringCoercion</code> aware of print method
arguments. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/11776">#11776</a>:
Make <code>Metrics/ClassLength</code> aware of singleton class. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/11775">#11775</a>:
Make <code>Style/TrailingBodyOnClass</code> aware of singleton class.
([<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/11758">#11758</a>:
Fix a false positive for <code>Style/RedundantLineContinuation</code>
when line continuations for string. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/11754">#11754</a>:
Fix a false positive for <code>Style/RedundantLineContinuation</code>
when using <code>&amp;&amp;</code> and <code>||</code> with a multiline
condition. ([<a
href="https://github.com/ydah"><code>@​ydah</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/11765">#11765</a>:
Fix an error for <code>Style/MultilineMethodSignature</code> when line
break after <code>def</code> keyword. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/11762">#11762</a>:
Fix an incorrect autocorrect for
<code>Style/ClassEqualityComparison</code> when comparing a variable or
return value for equality. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/11752">#11752</a>:
Fix a false positive for <code>Style/RedundantLineContinuation</code>
when using line concatenation and calling a method without parentheses.
([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li>
</ul>
<h2>1.49.0 (2023-04-03)</h2>
<h3>New features</h3>
<ul>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/11122">#11122</a>:
Add new <code>Style/RedundantLineContinuation</code> cop. ([<a
href="https://github.com/ydah"><code>@​ydah</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/11696">#11696</a>:
Add new <code>Style/DataInheritance</code> cop. ([<a
href="https://github.com/ktopolski"><code>@​ktopolski</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/11746">#11746</a>:
Make <code>Layout/EndAlignment</code> aware of pattern matching. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/11750">#11750</a>:
Make <code>Metrics/BlockNesting</code> aware of numbered parameter. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/11699">#11699</a>:
Make <code>Style/ClassEqualityComparison</code> aware of
<code>Class#to_s</code> and <code>Class#inspect</code> for class
equality comparison. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/11737">#11737</a>:
Make <code>Style/MapToHash</code> and <code>Style/MapToSet</code> aware
of numbered parameters. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/issues/11732">#11732</a>:
Make <code>Style/MapToHash</code> and <code>Style/MapToSet</code> aware
of symbol proc. ([<a
href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a
href="https://redirect.github.com/rubocop/rubocop/pull/11703">#11703</a>:
Make <code>Naming/InclusiveLanguage</code> support autocorrection when
there is only one suggestion. ([<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/11730">#11730</a>:
Fix an error for <code>Layout/HashAlignment</code> when using anonymous
keyword rest arguments. ([<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/ca0beb7eff823fab00e6517c6f48ec44b4f123e5"><code>ca0beb7</code></a>
Cut 1.50.2</li>
<li><a
href="https://github.com/rubocop/rubocop/commit/90844aef864cdef9883e71e27f1eb22228fe74a6"><code>90844ae</code></a>
Update Changelog</li>
<li><a
href="https://github.com/rubocop/rubocop/commit/f59711f700263c8fd8ad92af6fdaade4f6b85147"><code>f59711f</code></a>
[Fix <a
href="https://redirect.github.com/rubocop/rubocop/issues/11803">#11803</a>]
Update the doc for <code>Style/RedundantFetchBlock</code></li>
<li><a
href="https://github.com/rubocop/rubocop/commit/b5c8dda3469c0b5fdb2bcd6f795d33caa20ba61a"><code>b5c8dda</code></a>
Merge pull request <a
href="https://redirect.github.com/rubocop/rubocop/issues/11799">#11799</a>
from koic/fix_a_false_positive_for_style_collection...</li>
<li><a
href="https://github.com/rubocop/rubocop/commit/eeffa1000b5c0e14de417f2f0ed995ff8e3ff277"><code>eeffa10</code></a>
Merge pull request <a
href="https://redirect.github.com/rubocop/rubocop/issues/11805">#11805</a>
from tagliala/chore/fix-typo-in-deprecated-attribut...</li>
<li><a
href="https://github.com/rubocop/rubocop/commit/13eef33ef3d52c2c8bf74368a374ae48c817044a"><code>13eef33</code></a>
Fix typo in DeprecatedAttributeAssignment cop</li>
<li><a
href="https://github.com/rubocop/rubocop/commit/edcae93ed7e915807cfed9d1d6d4fa183fe3a24f"><code>edcae93</code></a>
[Fix <a
href="https://redirect.github.com/rubocop/rubocop/issues/11800">#11800</a>]
Mark <code>Style/InvertibleUnlessCondition</code> as unsafe</li>
<li><a
href="https://github.com/rubocop/rubocop/commit/c62667394667e5aed15a21bddfefce8282bf089e"><code>c626673</code></a>
Fix a false positive for <code>Style/CollectionCompact</code></li>
<li><a
href="https://github.com/rubocop/rubocop/commit/8dfe1b473d8e6083dded2c10cba0da6ab2354e69"><code>8dfe1b4</code></a>
[Doc] Tweak examples for <code>AllowMultilineFinalElement</code></li>
<li><a
href="https://github.com/rubocop/rubocop/commit/c59e349efcdd1ac0ce55e5a932b75d77d50ff659"><code>c59e349</code></a>
[Fix <a
href="https://redirect.github.com/rubocop/rubocop/issues/11792">#11792</a>]
Fix an error for <code>Lint/DuplicateMatchPattern</code></li>
<li>Additional commits viewable in <a
href="https://github.com/rubocop/rubocop/compare/v1.48.1...v1.50.2">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 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 Apr 22, 2023
1 parent 101b101 commit 35d1d49
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 @@ -6,7 +6,7 @@ gem "minitest", "~> 5.11"
gem "minitest-ci", "~> 3.4"
gem "minitest-reporters", "~> 1.3"
gem "rake", "~> 13.0"
gem "rubocop", "1.48.1"
gem "rubocop", "1.50.2"
gem "rubocop-md", "1.2.0"
gem "rubocop-minitest", "0.29.0"
gem "rubocop-packaging", "0.5.2"
Expand Down

0 comments on commit 35d1d49

Please sign in to comment.