Commit da043c5
Merge #159
159: Update rubocop requirement from ~> 1.11.0 to ~> 1.12.0 r=curquiza a=dependabot-preview[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.12</h2>
<h3>New features</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/9615">#9615</a>: Add new <code>Style/StringChars</code> cop. (<a href="https://github.com/koic"><code>@koic</code></a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9629">#9629</a>: Add <code>AllowParenthesesInStringInterpolation</code> configuration to <code>Style/MethodCallWithArgsParentheses</code> to allow parenthesized calls in string interpolation. (<a href="https://github.com/gsamokovarov"><code>@gsamokovarov</code></a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/9219">#9219</a>: Allow excluding some constants from Style/Documentation. (<a href="https://github.com/fsateler"><code>@fsateler</code></a>)</li>
<li>Add <code>AllowNil</code> option for <code>Lint/SuppressedException</code> to allow/disallow <code>rescue nil</code>. (<a href="https://github.com/corroded"><code>@corroded</code></a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/9560">#9560</a>: Fix an error for <code>Lint/ClassMethodsDefinitions</code> when defining class methods with <code>class << self</code> with comment only body. (<a href="https://github.com/koic"><code>@koic</code></a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9551">#9551</a>: Fix a false positive for <code>Style/UnlessLogicalOperators</code> when using <code>||</code> operator and invoked method name includes "or" in the conditional branch. (<a href="https://github.com/koic"><code>@koic</code></a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/9620">#9620</a>: Allow parentheses in operator methods calls for <code>Style/MethodCallWithArgsParentheses</code> <code>EnforcedStyle: omit_parentheses</code>. (<a href="https://github.com/gsamokovarov"><code>@gsamokovarov</code></a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9622">#9622</a>: Fixed <code>Style/BisectedAttrAccessor</code> autocorrection to handle multiple bisected attrs in the same macro. (<a href="https://github.com/dvandersluis"><code>@dvandersluis</code></a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9606">#9606</a>: Fix an error for <code>Layout/IndentationConsistency</code> when using access modifier at the top level. (<a href="https://github.com/koic"><code>@koic</code></a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/9619">#9619</a>: Fix infinite loop between <code>Layout/IndentationWidth</code> and <code>Layout/RescueEnsureAlignment</code> autocorrection. (<a href="https://github.com/dvandersluis"><code>@dvandersluis</code></a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/9633">#9633</a>: Fix an incorrect auto-correct for <code>Lint/NumberConversion</code> when <code>to_i</code> method in symbol form. (<a href="https://github.com/koic"><code>@koic</code></a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/9616">#9616</a>: Fix an incorrect auto-correct for <code>Style/EvalWithLocation</code> when using <code>#instance_eval</code> with a string argument in parentheses. (<a href="https://github.com/koic"><code>@koic</code></a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9429">#9429</a>: Fix <code>Style/NegatedIfElseCondition</code> autocorrect to keep comments in correct branch. (<a href="https://github.com/tejasbubane"><code>@tejasbubane</code></a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9631">#9631</a>: Fix an incorrect auto-correct for <code>Style/RedundantReturn</code> when using <code>return</code> with splat argument. (<a href="https://github.com/koic"><code>@koic</code></a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9627">#9627</a>: Fix an incorrect auto-correct for <code>Style/StructInheritance</code> when extending instance of Struct without <code>do</code> ... <code>end</code> and class body is empty. (<a href="https://github.com/koic"><code>@koic</code></a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/5953">#5953</a>: Fix a false positive for <code>Style/AccessModifierDeclarations</code> when using <code>module_function</code> with symbol. (<a href="https://github.com/koic"><code>@koic</code></a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9593">#9593</a>: Fix an error when processing a directory is named <code>{}</code>. (<a href="https://github.com/koic"><code>@koic</code></a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9599">#9599</a>: Fix an error for <code>Style/CaseLikeIf</code> when using <code>include?</code> without a receiver. (<a href="https://github.com/koic"><code>@koic</code></a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9582">#9582</a>: Fix incorrect auto-correct for <code>Style/ClassEqualityComparison</code> when comparing <code>Module#name</code> for equality. (<a href="https://github.com/koic"><code>@koic</code></a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9603">#9603</a>: Fix a false positive for <code>Style/SoleNestedConditional</code> when using nested modifier on value assigned in condition. (<a href="https://github.com/koic"><code>@koic</code></a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/9598">#9598</a>: Fix RuboCop::MagicComment#valid_shareable_constant_value?. (<a href="https://github.com/kachick"><code>@kachick</code></a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/9625">#9625</a>: Allow parentheses in yield arguments with <code>Style/MethodCallWithArgsParentheses</code> <code>EnforcedStyle: omit_parentheses</code> to fix invalid Ruby auto-correction. (<a href="https://github.com/gsamokovarov"><code>@gsamokovarov</code></a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9558">#9558</a>: Fix inconsistency when dealing with URIs that are wrapped in single quotes vs double quotes. (<a href="https://github.com/dvandersluis"><code>@dvandersluis</code></a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9613">#9613</a>: Fix a false positive for <code>Style/RedundantSelf</code> when a self receiver on an lvalue of mlhs arguments. (<a href="https://github.com/koic"><code>@koic</code></a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9586">#9586</a>: Update <code>Naming/RescuedExceptionsVariableName</code> to not register on inner rescues when nested. (<a href="https://github.com/dvandersluis"><code>@dvandersluis</code></a>)</li>
</ul>
<h3>Changes</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9487">#9487</a>: Mark Naming/MemoizedInstanceVariableName as unsafe. (<a href="https://github.com/marcandre"><code>@marcandre</code></a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9601">#9601</a>: Make <code>Style/RedundantBegin</code> aware of redundant <code>begin</code>/<code>end</code> blocks around memoization. (<a href="https://github.com/koic"><code>@koic</code></a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9617">#9617</a>: Disable suggested extensions when using the <code>--stdin</code> option. (<a href="https://github.com/dvandersluis"><code>@dvandersluis</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.12.0 (2021-03-24)</h2>
<h3>New features</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/9615">#9615</a>: Add new <code>Style/StringChars</code> cop. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9629">#9629</a>: Add <code>AllowParenthesesInStringInterpolation</code> configuration to <code>Style/MethodCallWithArgsParentheses</code> to allow parenthesized calls in string interpolation. ([<a href="https://github.com/gsamokovarov"><code>@gsamokovarov</code></a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/9219">#9219</a>: Allow excluding some constants from Style/Documentation. ([<a href="https://github.com/fsateler"><code>@fsateler</code></a>][])</li>
<li>Add <code>AllowNil</code> option for <code>Lint/SuppressedException</code> to allow/disallow <code>rescue nil</code>. ([<a href="https://github.com/corroded"><code>@corroded</code></a>][])</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/9560">#9560</a>: Fix an error for <code>Lint/ClassMethodsDefinitions</code> when defining class methods with <code>class << self</code> with comment only body. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9551">#9551</a>: Fix a false positive for <code>Style/UnlessLogicalOperators</code> when using <code>||</code> operator and invoked method name includes "or" in the conditional branch. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/9620">#9620</a>: Allow parentheses in operator methods calls for <code>Style/MethodCallWithArgsParentheses</code> <code>EnforcedStyle: omit_parentheses</code>. ([<a href="https://github.com/gsamokovarov"><code>@gsamokovarov</code></a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9622">#9622</a>: Fixed <code>Style/BisectedAttrAccessor</code> autocorrection to handle multiple bisected attrs in the same macro. ([<a href="https://github.com/dvandersluis"><code>@dvandersluis</code></a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9606">#9606</a>: Fix an error for <code>Layout/IndentationConsistency</code> when using access modifier at the top level. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/9619">#9619</a>: Fix infinite loop between <code>Layout/IndentationWidth</code> and <code>Layout/RescueEnsureAlignment</code> autocorrection. ([<a href="https://github.com/dvandersluis"><code>@dvandersluis</code></a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/9633">#9633</a>: Fix an incorrect auto-correct for <code>Lint/NumberConversion</code> when <code>to_i</code> method in symbol form. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/9616">#9616</a>: Fix an incorrect auto-correct for <code>Style/EvalWithLocation</code> when using <code>#instance_eval</code> with a string argument in parentheses. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9429">#9429</a>: Fix <code>Style/NegatedIfElseCondition</code> autocorrect to keep comments in correct branch. ([<a href="https://github.com/tejasbubane"><code>@tejasbubane</code></a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9631">#9631</a>: Fix an incorrect auto-correct for <code>Style/RedundantReturn</code> when using <code>return</code> with splat argument. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9627">#9627</a>: Fix an incorrect auto-correct for <code>Style/StructInheritance</code> when extending instance of Struct without <code>do</code> ... <code>end</code> and class body is empty. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/5953">#5953</a>: Fix a false positive for <code>Style/AccessModifierDeclarations</code> when using <code>module_function</code> with symbol. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9593">#9593</a>: Fix an error when processing a directory is named <code>{}</code>. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9599">#9599</a>: Fix an error for <code>Style/CaseLikeIf</code> when using <code>include?</code> without a receiver. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9582">#9582</a>: Fix incorrect auto-correct for <code>Style/ClassEqualityComparison</code> when comparing <code>Module#name</code> for equality. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9603">#9603</a>: Fix a false positive for <code>Style/SoleNestedConditional</code> when using nested modifier on value assigned in condition. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/9598">#9598</a>: Fix RuboCop::MagicComment#valid_shareable_constant_value?. ([<a href="https://github.com/kachick"><code>@kachick</code></a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/9625">#9625</a>: Allow parentheses in yield arguments with <code>Style/MethodCallWithArgsParentheses</code> <code>EnforcedStyle: omit_parentheses</code> to fix invalid Ruby auto-correction. ([<a href="https://github.com/gsamokovarov"><code>@gsamokovarov</code></a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9558">#9558</a>: Fix inconsistency when dealing with URIs that are wrapped in single quotes vs double quotes. ([<a href="https://github.com/dvandersluis"><code>@dvandersluis</code></a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9613">#9613</a>: Fix a false positive for <code>Style/RedundantSelf</code> when a self receiver on an lvalue of mlhs arguments. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9586">#9586</a>: Update <code>Naming/RescuedExceptionsVariableName</code> to not register on inner rescues when nested. ([<a href="https://github.com/dvandersluis"><code>@dvandersluis</code></a>][])</li>
</ul>
<h3>Changes</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9487">#9487</a>: Mark Naming/MemoizedInstanceVariableName as unsafe. ([<a href="https://github.com/marcandre"><code>@marcandre</code></a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9601">#9601</a>: Make <code>Style/RedundantBegin</code> aware of redundant <code>begin</code>/<code>end</code> blocks around memoization. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9617">#9617</a>: Disable suggested extensions when using the <code>--stdin</code> option. ([<a href="https://github.com/dvandersluis"><code>@dvandersluis</code></a>][])</li>
</ul>
<h2>1.11.0 (2021-03-01)</h2>
<h3>New features</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/5388">#5388</a>: Add new <code>Style/UnlessLogicalOperators</code> cop. ([<a href="https://github.com/caalberts"><code>@caalberts</code></a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9525">#9525</a>: Add <code>AllowMethodsWithArguments</code> option to <code>Style/SymbolProc</code>. ([<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/9520">#9520</a>: Fix an incorrect auto-correct for <code>Style/MultipleComparison</code> when comparing a variable with multiple items in <code>if</code> and <code>elsif</code> conditions. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/9548">#9548</a>: Fix a false positive for <code>Style/TrailingBodyOnMethodDefinition</code> when endless method definition body is after newline in opening parenthesis. ([<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/fa02e853be1a1c5c8c5d9f1b485bb20d39e67392"><code>fa02e85</code></a> Cut 1.12</li>
<li><a href="https://github.com/rubocop/rubocop/commit/50650dd0372435cf989bf572525bf10144a5cdbe"><code>50650dd</code></a> Update Changelog</li>
<li><a href="https://github.com/rubocop/rubocop/commit/56d645de13b5b17d69c42d839f9f2516b7fdf8fd"><code>56d645d</code></a> [Fix <a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9622">#9622</a>] Fixed <code>Style/BisectedAttrAccessor</code> autocorrection to handle multi...</li>
<li><a href="https://github.com/rubocop/rubocop/commit/211c017926391b1606632d1ed6edcec546995614"><code>211c017</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9632">#9632</a> from koic/fix_a_false_positive_for_style_access_modi...</li>
<li><a href="https://github.com/rubocop/rubocop/commit/107624aa57c919e7994f24855d193e6746d30aa5"><code>107624a</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9633">#9633</a> from koic/fix_incorrect_autocorrect_for_lint_number_...</li>
<li><a href="https://github.com/rubocop/rubocop/commit/ee40857c42ef5433e2fc7d51eaff5559e7fab16d"><code>ee40857</code></a> Fix an incorrect auto-correct for <code>Lint/NumberConversion</code></li>
<li><a href="https://github.com/rubocop/rubocop/commit/c5913b3c00294fbb758bc1589acc4af8a6a944dc"><code>c5913b3</code></a> [Fix <a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/5953">#5953</a>] Fix a false positive for <code>Style/AccessModifierDeclarations</code></li>
<li><a href="https://github.com/rubocop/rubocop/commit/98ff6844284ddeac017a5fc77733b80d97c3c097"><code>98ff684</code></a> Refactor CommentConfig</li>
<li><a href="https://github.com/rubocop/rubocop/commit/51252844c5912e2d95b1105d8d2e1d8aa69568af"><code>5125284</code></a> [Fix <a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9621">#9621</a>] Add <code>consistent</code> style to <code>Lint/SymbolConversion</code> to require all ...</li>
<li><a href="https://github.com/rubocop/rubocop/commit/8535e3230b9990c483442c028fc025912815c723"><code>8535e32</code></a> Fix an incorrect auto-correct for <code>Style/RedundantReturn</code></li>
<li>Additional commits viewable in <a href="https://github.com/rubocop/rubocop/compare/v1.11.0...v1.12.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)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
</details>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[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