Commit 41e3177
Merge #209
209: Update rubocop requirement from ~> 1.19.1 to ~> 1.20.0 r=curquiza a=dependabot[bot]
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.20</h2>
<h3>New features</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/10040">#10040</a>: Make <code>Lint/Debugger</code> aware of debug.rb. (<a href="https://github.com/koic"><code>`@koic</code></a>)</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9580">#9580</a>: Add a new cop that enforces which bundler gem file to use. (<a href="https://github.com/gregfletch"><code>`@gregfletch</code></a>)</li>`
</ul>
<h3>Bug fixes</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10033">#10033</a>: Fix an incorrect auto-correct for <code>Style/BlockDelimiters</code> when there is a comment after the closing brace and using method chanin. (<a href="https://github.com/koic"><code>`@koic</code></a>)</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/6630">#6630</a>: Updated <code>Style/CommentAnnotation</code> to be able to handle multiword keyword phrases. (<a href="https://github.com/dvandersluis"><code>`@dvandersluis</code></a>)</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/7836">#7836</a>: Update <code>Style/BlockDelimeters</code> to add <code>begin</code>...<code>end</code> when converting a block containing <code>rescue</code> or <code>ensure</code> to braces. (<a href="https://github.com/dvandersluis"><code>`@dvandersluis</code></a>)</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10031">#10031</a>: Fix a false positive for <code>Style/HashExcept</code> when comparing with hash value. (<a href="https://github.com/koic"><code>`@koic</code></a>)</li>`
</ul>
<h3>Changes</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/10034">#10034</a>: Add <code>RubyJard</code> debugger calls to Lint/Debugger/DebuggerMethods. (<a href="https://github.com/DanielVartanov"><code>`@DanielVartanov</code></a>)</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/10006">#10006</a>: Interpolated string literals are no longer frozen since Ruby 3.0. (<a href="https://github.com/splattael"><code>`@splattael</code></a>)</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9328">#9328</a>: Recognize shareable_constant_value magic comment. (<a href="https://github.com/thearjunmdas"><code>`@thearjunmdas</code></a>,` <a href="https://github.com/caalberts"><code>`@caalberts</code></a>)</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10036">#10036</a>: Mark <code>Style/StructInheritance</code> as unsafe auto-correction. (<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.20.0 (2021-08-26)</h2>
<h3>New features</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/10040">#10040</a>: Make <code>Lint/Debugger</code> aware of debug.rb. ([<a href="https://github.com/koic"><code>`@koic</code></a>][])</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9580">#9580</a>: Add a new cop that enforces which bundler gem file to use. ([<a href="https://github.com/gregfletch"><code>`@gregfletch</code></a>][])</li>`
</ul>
<h3>Bug fixes</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10033">#10033</a>: Fix an incorrect auto-correct for <code>Style/BlockDelimiters</code> when there is a comment after the closing brace and using method chanin. ([<a href="https://github.com/koic"><code>`@koic</code></a>][])</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/6630">#6630</a>: Updated <code>Style/CommentAnnotation</code> to be able to handle multiword keyword phrases. ([<a href="https://github.com/dvandersluis"><code>`@dvandersluis</code></a>][])</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/7836">#7836</a>: Update <code>Style/BlockDelimeters</code> to add <code>begin</code>...<code>end</code> when converting a block containing <code>rescue</code> or <code>ensure</code> to braces. ([<a href="https://github.com/dvandersluis"><code>`@dvandersluis</code></a>][])</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10031">#10031</a>: Fix a false positive for <code>Style/HashExcept</code> when comparing with hash value. ([<a href="https://github.com/koic"><code>`@koic</code></a>][])</li>`
</ul>
<h3>Changes</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/10034">#10034</a>: Add <code>RubyJard</code> debugger calls to Lint/Debugger/DebuggerMethods. ([<a href="https://github.com/DanielVartanov"><code>`@DanielVartanov</code></a>][])</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/10006">#10006</a>: Interpolated string literals are no longer frozen since Ruby 3.0. ([<a href="https://github.com/splattael"><code>`@splattael</code></a>][])</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9328">#9328</a>: Recognize shareable_constant_value magic comment. ([<a href="https://github.com/thearjunmdas"><code>`@thearjunmdas</code></a>][],` [<a href="https://github.com/caalberts"><code>`@caalberts</code></a>][])</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10036">#10036</a>: Mark <code>Style/StructInheritance</code> as unsafe auto-correction. ([<a href="https://github.com/koic"><code>`@koic</code></a>][])</li>`
</ul>
<h2>1.19.1 (2021-08-19)</h2>
<h3>Bug fixes</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/10017">#10017</a>: Fixan error for <code>Layout/RescueEnsureAlignment</code> when using zsuper with block. ([<a href="https://github.com/koic"><code>`@koic</code></a>][])</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10011">#10011</a>: Fix a false positive for <code>Style/RedundantSelfAssignmentBranch</code> when using instance variable, class variable, and global variable. ([<a href="https://github.com/koic"><code>`@koic</code></a>][])</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10010">#10010</a>: Fix a false positive for <code>Style/DoubleNegation</code> when <code>!!</code> is used at return location and before <code>rescue</code> keyword. ([<a href="https://github.com/koic"><code>`@koic</code></a>][])</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10014">#10014</a>: Fix <code>Style/Encoding</code> to handle more situations properly. ([<a href="https://github.com/dvandersluis"><code>`@dvandersluis</code></a>][])</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10016">#10016</a>: Fix conflict between <code>Style/SoleNestedConditional</code> and <code>Style/NegatedIf</code>/<code>Style/NegatedUnless</code>. ([<a href="https://github.com/dvandersluis"><code>`@dvandersluis</code></a>][])</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10024">#10024</a>: Fix an incorrect auto-correct for <code>Style/RedundantSelfAssignmentBranch</code> when using multiline <code>if</code> / <code>else</code> conditional assignment. ([<a href="https://github.com/koic"><code>`@koic</code></a>][])</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10004">#10004</a>: Fix a false positive for <code>Style/RedundantBegin</code> when using one-liner with semicolon. ([<a href="https://github.com/koic"><code>`@koic</code></a>][])</li>`
</ul>
<h2>1.19.0 (2021-08-12)</h2>
<h3>New features</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/4182">#4182</a>: Add <code>Lint/AmbiguousRange</code> cop to check for ranges with ambiguous boundaries. ([<a href="https://github.com/dvandersluis"><code>`@dvandersluis</code></a>][])</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/10000">#10000</a>: Parallel static analysis by default. ([<a href="https://github.com/koic"><code>`@koic</code></a>][])</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/9948">#9948</a>: Support Ruby 2.7's pattern matching for <code>Style/ConditionalAssignment</code> cop. ([<a href="https://github.com/koic"><code>`@koic</code></a>][])</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/9999">#9999</a>: Add new <code>Style/RedundantSelfAssignmentBranch</code> cop. ([<a href="https://github.com/koic"><code>`@koic</code></a>][])</li>`
</ul>
<h3>Bug fixes</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9927">#9927</a>: Indent hash values in <code>Layout/LineEndStringConcatenationIndentation</code>. ([<a href="https://github.com/jonas054"><code>`@jonas054</code></a>][])</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9959">#9959</a>: Make <code>Style/IdenticalConditionalBranches</code> able to handle ternary <code>if</code>s. ([<a href="https://github.com/dvandersluis"><code>`@dvandersluis</code></a>][])</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9946">#9946</a>: Avoid slow regexp matches in <code>Style/CommentedKeyword</code>. ([<a href="https://github.com/jonas054"><code>`@jonas054</code></a>][])</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/7422">#7422</a>: Treat constant assignment like other assignment in <code>Layout/SpaceAroundOperators</code>. ([<a href="https://github.com/dvandersluis"><code>`@dvandersluis</code></a>][])</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9953">#9953</a>: Fix an infinite loop error and a false auto-correction behavior for <code>Layout/EndAlignment</code> when using a conditional statement in a method argument. ([<a href="https://github.com/koic"><code>`@koic</code></a>][])</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9958">#9958</a>: Prevent an infinite loop when a detected method has fewer arguments than expected. ([<a href="https://github.com/dvandersluis"><code>`@dvandersluis</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/536d986ebc0db213048a12bc554477eb7f9ca57f"><code>536d986</code></a> Cut 1.20</li>
<li><a href="https://github.com/rubocop/rubocop/commit/6516c18edd153781fd13b0d7204db15fde73bd52"><code>6516c18</code></a> Update Changelog</li>
<li><a href="https://github.com/rubocop/rubocop/commit/60552ea9bf444b135b25065a463e54b4cb601624"><code>60552ea</code></a> Update a changelog entry</li>
<li><a href="https://github.com/rubocop/rubocop/commit/baba941f1b755b9823cd0874ff4d79e5af3d4df0"><code>baba941</code></a> [Fix <a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9580">#9580</a>] Add New Cop to Enforce Bundler Gem filename (<a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9903">#9903</a>)</li>
<li><a href="https://github.com/rubocop/rubocop/commit/016838bfc20ad69445cc77a04264f4802975aa91"><code>016838b</code></a> [Fix <a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/7836">#7836</a>] Update <code>Style/BlockDelimeters</code> to add <code>begin</code>...<code>end</code> when conver...</li>
<li><a href="https://github.com/rubocop/rubocop/commit/5ad72a171161c440c8522aeb506315ef81032b57"><code>5ad72a1</code></a> Clarify relationship between <code>Layout/MultilineMethodArgumentLineBreaks</code> and `...</li>
<li><a href="https://github.com/rubocop/rubocop/commit/2bab715e3d878e8274cf79fd04e531fee1a3899c"><code>2bab715</code></a> [Fix <a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/6630">#6630</a>] Updated <code>Style/CommentAnnotation</code> to be able to handle multiword ...</li>
<li><a href="https://github.com/rubocop/rubocop/commit/150f285f5faa578d3fec948b2cdaa6e7c1201e29"><code>150f285</code></a> Refactor <code>AnnotationComment</code> into an actual class representing an annotation ...</li>
<li><a href="https://github.com/rubocop/rubocop/commit/9ff50d117a57fde05234376fef23c46f5cb867bd"><code>9ff50d1</code></a> Make <code>Lint/Debugger</code> aware of debug.rb</li>
<li><a href="https://github.com/rubocop/rubocop/commit/7b0358fe4a6d3b4bd9238667c12c09f3954689ca"><code>7b0358f</code></a> [Fix <a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10031">#10031</a>] Fix a false positive for <code>Style/HashExcept</code></li>
<li>Additional commits viewable in <a href="https://github.com/rubocop/rubocop/compare/v1.19.1...v1.20.0">compare view</a></li>
</ul>
</details>
<br />
You can trigger a rebase of this PR 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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
0 commit comments