Commit 4cab688
Merge #207
207: Update rubocop requirement from ~> 1.16.1 to ~> 1.19.1 r=curquiza a=dependabot[bot]
Updates the requirements on [rubocop](https://github.com/rubocop/rubocop) to permit the latest version.
<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.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>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9977">#9977</a>: Update <code>Layout/EmptyLineAfterGuardClause</code> to not register an offense if there is another expression following the guard clause on the same line. ([<a href="https://github.com/dvandersluis"><code>`@dvandersluis</code></a>][])</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9980">#9980</a>: Fix a false positive for <code>Style/IdenticalConditionalBranches</code> when assigning to a variable used in a condition. ([<a href="https://github.com/koic"><code>`@koic</code></a>][])</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9975">#9975</a>: Parentheses are always required for <code>Style/MethodDefParentheses</code> when a forwarding argument (<code>...</code>) is used. ([<a href="https://github.com/dvandersluis"><code>`@dvandersluis</code></a>][])</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/9984">#9984</a>: Fix false negatives involving heredocs for <code>Layout/SpaceBeforeComma</code>, <code>Layout/SpaceBeforeComment</code>, <code>Layout/SpaceBeforeSemicolon</code> and <code>Layout/SpaceInsideParens</code>. ([<a href="https://github.com/dvandersluis"><code>`@dvandersluis</code></a>][])</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9954">#9954</a>: Fix infinite loop error for <code>Layout/HashAlignment</code> when <code>EnforcedStyle: with_fixed_indentation</code> is specified for <code>Layout/ArgumentAlignment</code>. ([<a href="https://github.com/koic"><code>`@koic</code></a>][])</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10002">#10002</a>: Fix an incorrect auto-correct for <code>Lint/AmbigousRegexpLiteral</code> when using nested method arguments without parentheses. ([<a href="https://github.com/koic"><code>`@koic</code></a>][])</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/9952">#9952</a> <a href="https://github-redirect.dependabot.com/rubocop/rubocop-rspec/issues/1126">rubocop-rspec#1126</a>: Fix <code>inherit_mode</code> for deeply nested configuration defined in extensions' default configuration. ([<a href="https://github.com/pirj"><code>`@pirj</code></a>][])</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9957">#9957</a>: Add <code>WholeWord</code> configuration to <code>Naming/InclusiveLanguage</code>'s <code>FlaggedTerms</code> config. ([<a href="https://github.com/dvandersluis"><code>`@dvandersluis</code></a>][])</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/9970">#9970</a>: Don't register an offense when sort method has arguments for <code>Style/RedundantSort</code> cop. ([<a href="https://github.com/mtsmfm"><code>`@mtsmfm</code></a>][])</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/4097">#4097</a>: Add require English for special globals. ([<a href="https://github.com/biinari"><code>`@biinari</code></a>][])</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9955">#9955</a>: Fix <code>Style/ExplicitBlockArgument</code> adding a second set of parentheses. ([<a href="https://github.com/dvandersluis"><code>`@dvandersluis</code></a>][])</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9973">#9973</a>: Fix a false positive for <code>Layout/RescueEnsureAlignment</code> when aligned <code>rescue</code> keyword and leading dot. ([<a href="https://github.com/koic"><code>`@koic</code></a>][])</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9945">#9945</a>: Fix auto-correction of lines in heredocs with only spaces in <code>Layout/TrailingWhitespace</code>. ([<a href="https://github.com/jonas054"><code>`@jonas054</code></a>][])</li>`
</ul>
<h3>Changes</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9989">#9989</a>: Mark <code>Style/CommentedKeyword</code> as unsafe auto-correction. ([<a href="https://github.com/koic"><code>`@koic</code></a>][])</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/9964">#9964</a>: Make <code>Layout/LeadingCommentSpace</code> aware of <code>#:nodoc</code>. ([<a href="https://github.com/koic"><code>`@koic</code></a>][])</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/9985">#9985</a>: Mark <code>Style/IdenticalConditionalBranches</code> as unsafe auto-correction. ([<a href="https://github.com/koic"><code>`@koic</code></a>][])</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9962">#9962</a>: Update <code>Style/WordArray</code> to register an offense in <code>percent</code> style if any values contain spaces. ([<a href="https://github.com/dvandersluis"><code>`@dvandersluis</code></a>][])</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/9979">#9979</a>: Enable basic autocorrection for <code>Style/Semicolon</code>. ([<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/9a48e71b52c69accf0c1f577400171233832f01e"><code>9a48e71</code></a> Cut 1.19.1</li>
<li><a href="https://github.com/rubocop/rubocop/commit/064a66c2385bb048acadf90ae8a7d1d41859fc3c"><code>064a66c</code></a> Update Changelog</li>
<li><a href="https://github.com/rubocop/rubocop/commit/d9c2330cfb64bf4777c253b58d5e3c71965fa726"><code>d9c2330</code></a> [Fix <a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9939">#9939</a>] Fix/hash as last array item (<a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9943">#9943</a>)</li>
<li><a href="https://github.com/rubocop/rubocop/commit/8e885c02bbe74a0363ec6babcafba3404481d676"><code>8e885c0</code></a> [Fix <a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10024">#10024</a>] Fix an incorrect auto-correct for `Style/RedundantSelfAssignment...</li>
<li><a href="https://github.com/rubocop/rubocop/commit/85219e52462099a8dbc629576448bae55ac14533"><code>85219e5</code></a> [Fix <a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10014">#10014</a>] Fix <code>Style/Encoding</code> to handle more situations properly.</li>
<li><a href="https://github.com/rubocop/rubocop/commit/a2730c3498984c5375d4f93e3f34d5a255f8bd01"><code>a2730c3</code></a> [Fix <a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10004">#10004</a>] Fix a false positive for <code>Style/RedundantBegin</code></li>
<li><a href="https://github.com/rubocop/rubocop/commit/4addf0987af65c8129d2b19c0385de02bb01f044"><code>4addf09</code></a> [Fix <a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10011">#10011</a>] Fix a false positive for <code>Style/RedundantSelfAssignmentBranch</code></li>
<li><a href="https://github.com/rubocop/rubocop/commit/1c9bff007ecec8a07411ec6b3c7fdabade19818a"><code>1c9bff0</code></a> [Fix <a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10010">#10010</a>] Fix a false positive for <code>Style/DoubleNegation</code></li>
<li><a href="https://github.com/rubocop/rubocop/commit/016f38ea373ab0c3c28d2bdffe95dd679a86e528"><code>016f38e</code></a> Fix an error for <code>Layout/RescueEnsureAlignment</code></li>
<li><a href="https://github.com/rubocop/rubocop/commit/4a5261591abe7d2f09a02add0b4e825291f35ae7"><code>4a52615</code></a> Bump RuboCop Performance to 1.11</li>
<li>Additional commits viewable in <a href="https://github.com/rubocop/rubocop/compare/v1.16.1...v1.19.1">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