Commit 8164e5f
Merge #324
324: Update rubocop requirement from ~> 1.28.1 to ~> 1.29.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.29</h2>
<h3>New features</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10570">#10570</a>: Add new <code>Gemspec/DependencyVersion</code> cop. (<a href="https://github.com/nobuyo"><code>`@nobuyo</code></a>)</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/10542">#10542</a>: Add markdown formatter. (<a href="https://github.com/joe-sharp"><code>`@joe-sharp</code></a>)</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10539">#10539</a>: Add <code>AllowedPatterns</code> configuration option to <code>Naming/VariableNumber</code> and <code>Naming/VariableName</code>. (<a href="https://github.com/henrahmagix"><code>`@henrahmagix</code></a>)</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10568">#10568</a>: Add new <code>Style/EnvHome</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/10586">#10586</a>: Fix a false positive for <code>Style/DoubleNegation</code> when using <code>define_method</code> or <code>define_singleton_method</code>. (<a href="https://github.com/ydah"><code>`@ydah</code></a>)</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10579">#10579</a>: Fix a false positive for <code>Style/FetchEnvVar</code> when calling a method with safe navigation`. (<a href="https://github.com/koic"><code>`@koic</code></a>)</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10581">#10581</a>: Fix a false positive for <code>Style/FetchEnvVar</code> when comparing with <code>ENV['TERM']</code>. (<a href="https://github.com/koic"><code>`@koic</code></a>)</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10589">#10589</a>: Fix autocorrect for <code>Style/RaiseArgs</code> with <code>EnforcedStyle: compact</code> and exception object is assigned to a local variable. (<a href="https://github.com/nobuyo"><code>`@nobuyo</code></a>)</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10325">#10325</a>: Enhance <code>Style/RedundantCondition</code> by considering the case that variable assignments in each branch. (<a href="https://github.com/nobuyo"><code>`@nobuyo</code></a>)</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10592">#10592</a>: Fix infinite loop on <code>Style/MultilineTernaryOperator</code> if using assignment method and condition/branch is multiline. (<a href="https://github.com/nobuyo"><code>`@nobuyo</code></a>)</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10536">#10536</a>: Fix validation for command-line options combination of <code>--display-only-fail-level-offenses</code> and <code>--auto-correct</code>. (<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/10577">#10577</a>: <strong>(Compatibility)</strong> Drop support for Ruby 2.5 and JRuby 9.2 (CRuby 2.5 compatible). (<a href="https://github.com/koic"><code>`@koic</code></a>)</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/10585">#10585</a>: Enhance the autocorrect for <code>Style/FetchEnvVar</code>. (<a href="https://github.com/johnny-miyake"><code>`@johnny-miyake</code></a>)</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/10577">#10577</a>: <strong>(Breaking)</strong> Retire <code>Lint/UselessElseWithoutRescue</code> cop. (<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.29.0 (2022-05-06)</h2>
<h3>New features</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10570">#10570</a>: Add new <code>Gemspec/DependencyVersion</code> cop. ([<a href="https://github.com/nobuyo"><code>`@nobuyo</code></a>][])</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/10542">#10542</a>: Add markdown formatter. ([<a href="https://github.com/joe-sharp"><code>`@joe-sharp</code></a>][])</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10539">#10539</a>: Add <code>AllowedPatterns</code> configuration option to <code>Naming/VariableNumber</code> and <code>Naming/VariableName</code>. ([<a href="https://github.com/henrahmagix"><code>`@henrahmagix</code></a>][])</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10568">#10568</a>: Add new <code>Style/EnvHome</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/10586">#10586</a>: Fix a false positive for <code>Style/DoubleNegation</code> when using <code>define_method</code> or <code>define_singleton_method</code>. ([<a href="https://github.com/ydah"><code>`@ydah</code></a>][])</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10579">#10579</a>: Fix a false positive for <code>Style/FetchEnvVar</code> when calling a method with safe navigation`. ([<a href="https://github.com/koic"><code>`@koic</code></a>][])</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10581">#10581</a>: Fix a false positive for <code>Style/FetchEnvVar</code> when comparing with <code>ENV['TERM']</code>. ([<a href="https://github.com/koic"><code>`@koic</code></a>][])</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10589">#10589</a>: Fix autocorrect for <code>Style/RaiseArgs</code> with <code>EnforcedStyle: compact</code> and exception object is assigned to a local variable. ([<a href="https://github.com/nobuyo"><code>`@nobuyo</code></a>][])</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10325">#10325</a>: Enhance <code>Style/RedundantCondition</code> by considering the case that variable assignments in each branch. ([<a href="https://github.com/nobuyo"><code>`@nobuyo</code></a>][])</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10592">#10592</a>: Fix infinite loop on <code>Style/MultilineTernaryOperator</code> if using assignment method and condition/branch is multiline. ([<a href="https://github.com/nobuyo"><code>`@nobuyo</code></a>][])</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10536">#10536</a>: Fix validation for command-line options combination of <code>--display-only-fail-level-offenses</code> and <code>--auto-correct</code>. ([<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/10577">#10577</a>: <strong>(Compatibility)</strong> Drop support for Ruby 2.5 and JRuby 9.2 (CRuby 2.5 compatible). ([<a href="https://github.com/koic"><code>`@koic</code></a>][])</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/10585">#10585</a>: Enhance the autocorrect for <code>Style/FetchEnvVar</code>. ([<a href="https://github.com/johnny-miyake"><code>`@johnny-miyake</code></a>][])</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/10577">#10577</a>: <strong>(Breaking)</strong> Retire <code>Lint/UselessElseWithoutRescue</code> cop. ([<a href="https://github.com/koic"><code>`@koic</code></a>][])</li>`
</ul>
<h2>1.28.2 (2022-04-25)</h2>
<h3>Bug fixes</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10566">#10566</a>: Fix a false positive for <code>Lint/AmbiguousBlockAssociation</code> when using proc is used as a last argument. ([<a href="https://github.com/koic"><code>`@koic</code></a>][])</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10573">#10573</a>: Fix a false positive for <code>Layout/SpaceBeforeBrackets</code> when there is a dot before brackets. ([<a href="https://github.com/nobuyo"><code>`@nobuyo</code></a>][])</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10563">#10563</a>: Fix <code>Style/BlockDelimiters</code> unexpectedly deletes block on moving comment if methods with block are chained. ([<a href="https://github.com/nobuyo"><code>`@nobuyo</code></a>][])</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10574">#10574</a>: Fix a false positive for <code>Style/SingleArgumentDig</code> when using dig with arguments forwarding. ([<a href="https://github.com/ydah"><code>`@ydah</code></a>][])</li>`
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/10565">#10565</a>: Fix a false positive and a true negative for <code>Style/FetchEnvVar</code>. ([<a href="https://github.com/koic"><code>`@koic</code></a>][])</li>`
</ul>
<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>`
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/rubocop/rubocop/commit/2f2b2a7aa75b5222457966fdacc464f085c8c308"><code>2f2b2a7</code></a> Cut 1.29</li>
<li><a href="https://github.com/rubocop/rubocop/commit/e6a5a9466865cedb8acb8138a7850770ecdb327f"><code>e6a5a94</code></a> Update Changelog</li>
<li><a href="https://github.com/rubocop/rubocop/commit/1b6bda43b92fc3f9b9391c4863969547e97d3b35"><code>1b6bda4</code></a> Support the cases that there is a method call in each branch</li>
<li><a href="https://github.com/rubocop/rubocop/commit/070ffead8b3041b78169b380089484aa57cca996"><code>070ffea</code></a> [Fix <a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10325">#10325</a>] Enhance <code>Style/RedundantCondition</code> by considering the case that ...</li>
<li><a href="https://github.com/rubocop/rubocop/commit/3439417b816fd31e2e6fe29d22c184f83c70a58a"><code>3439417</code></a> Remove an old reference to version 1.0</li>
<li><a href="https://github.com/rubocop/rubocop/commit/5b7c91bc86927d6cd3a247b30e2642686a640cb2"><code>5b7c91b</code></a> Tweak uniformity of expression was implemented</li>
<li><a href="https://github.com/rubocop/rubocop/commit/914551a247e92993a7b9ad7b61cfddd017190f9a"><code>914551a</code></a> [Fix <a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10568">#10568</a>] Add new <code>Style/EnvHome</code> cop</li>
<li><a href="https://github.com/rubocop/rubocop/commit/0d23a0a72fa83baac48f8da930ac8d72cb1bd2e4"><code>0d23a0a</code></a> Tweak highlight offense range for <code>InternalAffairs/MethodNameEndWith</code> cop</li>
<li><a href="https://github.com/rubocop/rubocop/commit/73dfcf21c05d891c79737cf307e7ecee490b6433"><code>73dfcf2</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/10600">#10600</a> from nobuyo/add-new-internal-affairs-method-name-en...</li>
<li><a href="https://github.com/rubocop/rubocop/commit/6eadcd92f5ad34d33e761fe65eb7a74f17389637"><code>6eadcd9</code></a> Add new <code>InternalAffairs/MethodNameEndWith</code> cop</li>
<li>Additional commits viewable in <a href="https://github.com/rubocop/rubocop/compare/v1.28.1...v1.29.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 | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
0 commit comments