Commit 02636c5
Merge #314
314: Update rubocop requirement from ~> 1.26.0 to ~> 1.28.1 r=brunoocasali 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.28.1 (2022-04-21)</h2>
<h3>Bug fixes</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10559">#10559</a>: Fix crash on CodeLengthCalculator if method call is not parenthesized. ([<a href="https://github.com/nobuyo"><code>`@nobuyo</code></a>][])</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10557">#10557</a>: Fix a false positive for <code>Style/FetchEnvVar</code> when <code>ENV['key']</code> is a receiver of <code>||=</code>. ([<a href="https://github.com/koic"><code>`@koic</code></a>][])</li>`
</ul>
<h2>1.28.0 (2022-04-21)</h2>
<h3>New features</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/10551">#10551</a>: Add <code>AllowComments</code> option to <code>Style/RedundantInitialize</code> is true by default. ([<a href="https://github.com/koic"><code>`@koic</code></a>][])</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/10552">#10552</a>: Support autocorrection for <code>Style/RedundantInitialize</code>. ([<a href="https://github.com/koic"><code>`@koic</code></a>][])</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/10441">#10441</a>: Add Security/CompoundHash Cop. ([<a href="https://github.com/sambostock"><code>`@sambostock</code></a>][],` [<a href="https://github.com/chrisseaton"><code>`@chrisseaton</code></a>][])</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/10521">#10521</a>: Add <code>use_builtin_english_names</code> style to <code>Style/SpecialGlobalVars</code>. ([<a href="https://github.com/splattael"><code>`@splattael</code></a>][])</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10522">#10522</a>: Add new <code>Style/ObjectThen</code> cop. ([<a href="https://github.com/ydah"><code>`@ydah</code></a>][])</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/10502">#10502</a>: Add new <code>Style/FetchEnvVar</code> cop. ([<a href="https://github.com/johnny-miyake"><code>`@johnny-miyake</code></a>][])</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/10544">#10544</a>: Support auto-correction for <code>Lint/DuplicateRequire</code>. ([<a href="https://github.com/koic"><code>`@koic</code></a>][])</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10481">#10481</a>: Add command line options <code>--display-only-correctable</code> and <code>--display-only-safe-correctable</code>. ([<a href="https://github.com/nobuyo"><code>`@nobuyo</code></a>][])</li>`
</ul>
<h3>Bug fixes</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10528">#10528</a>: Fix an infinite loop at autocorrect for <code>Layout/CaseIndentation</code>. ([<a href="https://github.com/ydah"><code>`@ydah</code></a>][])</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/10537">#10537</a>: Fix an incorrect auto-correct for <code>Style/MultilineTernaryOperator</code> when returning a multiline ternary operator expression with <code>break</code>, <code>next</code>, or method call. ([<a href="https://github.com/koic"><code>`@koic</code></a>][])</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10529">#10529</a>: Fix autocorrect for <code>Style/SoleNestedConditional</code> causes logical error when using a outer condition of method call by omitting parentheses for method arguments. ([<a href="https://github.com/nobuyo"><code>`@nobuyo</code></a>][])</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10530">#10530</a>: Fix a false positive for <code>Style/RedundantRegexpCharacterClass</code> when using regexp character class with a character class containing multiple unicode code-points. ([<a href="https://github.com/koic"><code>`@koic</code></a>][])</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/10518">#10518</a>: Fix a false positive for <code>Style/DoubleNegation</code> when inside returned conditional clauses with Ruby 2.7's pattern matching. ([<a href="https://github.com/koic"><code>`@koic</code></a>][])</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10510">#10510</a>: Fix an error for <code>Style/SingleArgumentDig</code> when using multiple <code>dig</code> in a method chain. ([<a href="https://github.com/koic"><code>`@koic</code></a>][])</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10553">#10553</a>: Fix crash with trailing tabs in heredocs for <code>Layout/TrailingWhitespace</code>. ([<a href="https://github.com/dvandersluis"><code>`@dvandersluis</code></a>][])</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10488">#10488</a>: Fix autocorrection for <code>Layout/MultilineMethodCallIndentation</code> breaks indentation for nesting of method calls. ([<a href="https://github.com/nobuyo"><code>`@nobuyo</code></a>][])</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/10543">#10543</a>: Fix incorrect code length calculation for few more patterns of hash folding asked. ([<a href="https://github.com/nobuyo"><code>`@nobuyo</code></a>][])</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/10541">#10541</a>: Fix an incorrect autocorrect for <code>Style/SpecialGlobalVars</code> when global variable as Perl name is used multiple times. ([<a href="https://github.com/koic"><code>`@koic</code></a>][])</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10514">#10514</a>: Fix an error for <code>Lint/EmptyConditionalBody</code> when missing second <code>elsif</code> body. ([<a href="https://github.com/koic"><code>`@koic</code></a>][])</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10469">#10469</a>: Fix code length calculation when kwargs written in single line. ([<a href="https://github.com/nobuyo"><code>`@nobuyo</code></a>][])</li>`
</ul>
<h3>Changes</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/10555">#10555</a>: Deprecate <code>IgnoredPatterns</code> in favour of <code>AllowedPatterns</code>. ([<a href="https://github.com/dvandersluis"><code>`@dvandersluis</code></a>][])</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10356">#10356</a>: Add <code>AllowConsecutiveConditionals</code> option to <code>Style/GuardClause</code> and the option is false by default. ([<a href="https://github.com/ydah"><code>`@ydah</code></a>][])</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10524">#10524</a>: Mark <code>Style/RedundantInitialize</code> as unsafe. ([<a href="https://github.com/koic"><code>`@koic</code></a>][])</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10280">#10280</a>: Add <code>AllowComments</code> option to <code>Style/SymbolProc</code> and the option is false by default. ([<a href="https://github.com/ydah"><code>`@ydah</code></a>][])</li>`
</ul>
<h2>1.27.0 (2022-04-08)</h2>
<h3>New features</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/10500">#10500</a>: Add new <code>Lint/RefinementImportMethods</code> cop. ([<a href="https://github.com/koic"><code>`@koic</code></a>][])</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10438">#10438</a>: Add new <code>Style/RedundantInitialize</code> cop to check for unnecessary <code>initialize</code> methods. ([<a href="https://github.com/dvandersluis"><code>`@dvandersluis</code></a>][])</li>`
</ul>
<h3>Bug fixes</h3>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/rubocop/rubocop/commit/54f4c82286c725a28a57216158d05f409a94eb7c"><code>54f4c82</code></a> Cut 1.28.1</li>
<li><a href="https://github.com/rubocop/rubocop/commit/e2bd465b15f9971017f8f6aa850881e2c6fd2154"><code>e2bd465</code></a> Update Changelog</li>
<li><a href="https://github.com/rubocop/rubocop/commit/52ffecdeb44b028690b7d66e2f80a99fe5b9e31e"><code>52ffecd</code></a> [Fix <a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10559">#10559</a>] Fix crash on CodeLengthCalculator if method call is not parenthe...</li>
<li><a href="https://github.com/rubocop/rubocop/commit/269fc467b42f455002779d77f0e8e9259ed7f4f2"><code>269fc46</code></a> [Fix <a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10557">#10557</a>] Fix a false positive for <code>Style/FetchEnvVar</code></li>
<li><a href="https://github.com/rubocop/rubocop/commit/16c6f74864582b4c12ac562a26a0eb2a2c99a86c"><code>16c6f74</code></a> Fix a build error</li>
<li><a href="https://github.com/rubocop/rubocop/commit/24ab7b24ee7eefbab38920f98af2a343fc1cfa2b"><code>24ab7b2</code></a> Cut 1.28.0</li>
<li><a href="https://github.com/rubocop/rubocop/commit/3e11aa1b03ae9e16c3972f919477ab88a892536c"><code>3e11aa1</code></a> Update Changelog</li>
<li><a href="https://github.com/rubocop/rubocop/commit/7fcb27205fa30f5554a4f9b694be1f78c205acd9"><code>7fcb272</code></a> Support autocorrection for <code>Style/RedundantInitialize</code></li>
<li><a href="https://github.com/rubocop/rubocop/commit/e4911660627e120b5cd2ae3c570a7b478792b431"><code>e491166</code></a> Update uses of <code>IgnoredPatterns</code> to <code>AllowedPatterns</code>.</li>
<li><a href="https://github.com/rubocop/rubocop/commit/8ac5b5985bb0791e793726f4864ebc64c3142d01"><code>8ac5b59</code></a> Add obsoletion rules for <code>AllowedPatterns</code>.</li>
<li>Additional commits viewable in <a href="https://github.com/rubocop/rubocop/compare/v1.26.0...v1.28.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 | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
0 commit comments