Commit dc75472
Merge #150
150: Update rubocop requirement from ~> 1.9.0 to ~> 1.10.0 r=curquiza a=dependabot-preview[bot]
Updates the requirements on [rubocop](https://github.com/rubocop-hq/rubocop) to permit the latest version.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/rubocop-hq/rubocop/releases">rubocop's releases</a>.</em></p>
<blockquote>
<h2>RuboCop 1.10</h2>
<h3>New features</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/9478">#9478</a>: Add new <code>Style/HashConversion</code> cop. (<a href="https://github.com/zverok"><code>@zverok</code></a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/9496">#9496</a>: Add new <code>Gemspec/DateAssignment</code> cop. (<a href="https://github.com/koic"><code>@koic</code></a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8724">#8724</a>: Add <code>IgnoreModules</code> configuration to <code>Style/ConstantVisibility</code> to not register offense for module definitions. (<a href="https://github.com/tejasbubane"><code>@tejasbubane</code></a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/9403">#9403</a>: Add autocorrect for <code>Style/EvalWithLocation</code> cop. (<a href="https://github.com/cteece"><code>@cteece</code></a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/9500">#9500</a>: Update <code>Lint/Debugger</code> so that only specific receivers for debug methods lead to offenses. (<a href="https://github.com/dvandersluis"><code>@dvandersluis</code></a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/9499">#9499</a>: Fix a false positive for <code>Layout/SpaceBeforeBrackets</code> when multiple spaces are inserted inside the left bracket. (<a href="https://github.com/koic"><code>@koic</code></a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/9507">#9507</a>: Fix an incorrect auto-correct for <code>Lint/RedundantSplatExpansion</code> when expanding <code>Array.new</code> call on method argument. (<a href="https://github.com/koic"><code>@koic</code></a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/9490">#9490</a>: Fix incorrect auto-correct for <code>Layout/FirstArgumentIndentation</code> when specifying <code>EnforcedStyle: with_fixed_indentation</code> of <code>Layout/ArgumentAlignment</code> and <code>EnforcedStyle: consistent</code> of <code>Layout/FirstArgumentIndentation</code>. (<a href="https://github.com/koic"><code>@koic</code></a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/9497">#9497</a>: Fix an error for <code>Style/ExplicitBlockArgument</code> when <code>yield</code> is inside block of <code>super</code>. (<a href="https://github.com/koic"><code>@koic</code></a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/9349">#9349</a>: Fix a false positive for <code>Lint/MultipleComparison</code> when using <code>&</code>, <code>|</code>, and <code>^</code> set operation operators in multiple comparison. (<a href="https://github.com/koic"><code>@koic</code></a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/9511">#9511</a>: Fix a false negative for <code>Lint/ElseLayout</code> when using multiple <code>elsif</code>s. (<a href="https://github.com/koic"><code>@koic</code></a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/9513">#9513</a>: Fix an incorrect auto-correct for <code>Style/HashConversion</code> when using hash argument <code>Hash[]</code>. (<a href="https://github.com/koic"><code>@koic</code></a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/9492">#9492</a>: Fix an incorrect auto-correct for <code>Lint/DeprecatedOpenSSLConstant</code> when using no argument algorithm. (<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-hq/rubocop/pull/9405">#9405</a>: Improve documentation for <code>Style/EvalWithLocation</code> cop. (<a href="https://github.com/taichi-ishitani"><code>@taichi-ishitani</code></a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md">rubocop's changelog</a>.</em></p>
<blockquote>
<h2>1.10.0 (2021-02-15)</h2>
<h3>New features</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/9478">#9478</a>: Add new <code>Style/HashConversion</code> cop. ([<a href="https://github.com/zverok"><code>@zverok</code></a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/9496">#9496</a>: Add new <code>Gemspec/DateAssignment</code> cop. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8724">#8724</a>: Add <code>IgnoreModules</code> configuration to <code>Style/ConstantVisibility</code> to not register offense for module definitions. ([<a href="https://github.com/tejasbubane"><code>@tejasbubane</code></a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/9403">#9403</a>: Add autocorrect for <code>Style/EvalWithLocation</code> cop. ([<a href="https://github.com/cteece"><code>@cteece</code></a>][])</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/9500">#9500</a>: Update <code>Lint/Debugger</code> so that only specific receivers for debug methods lead to offenses. ([<a href="https://github.com/dvandersluis"><code>@dvandersluis</code></a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/9499">#9499</a>: Fix a false positive for <code>Layout/SpaceBeforeBrackets</code> when multiple spaces are inserted inside the left bracket. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/9507">#9507</a>: Fix an incorrect auto-correct for <code>Lint/RedundantSplatExpansion</code> when expanding <code>Array.new</code> call on method argument. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/9490">#9490</a>: Fix incorrect auto-correct for <code>Layout/FirstArgumentIndentation</code> when specifying <code>EnforcedStyle: with_fixed_indentation</code> of <code>Layout/ArgumentAlignment</code> and <code>EnforcedStyle: consistent</code> of <code>Layout/FirstArgumentIndentation</code>. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/9497">#9497</a>: Fix an error for <code>Style/ExplicitBlockArgument</code> when <code>yield</code> is inside block of <code>super</code>. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/9349">#9349</a>: Fix a false positive for <code>Lint/MultipleComparison</code> when using <code>&</code>, <code>|</code>, and <code>^</code> set operation operators in multiple comparison. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/9511">#9511</a>: Fix a false negative for <code>Lint/ElseLayout</code> when using multiple <code>elsif</code>s. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/9513">#9513</a>: Fix an incorrect auto-correct for <code>Style/HashConversion</code> when using hash argument <code>Hash[]</code>. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/9492">#9492</a>: Fix an incorrect auto-correct for <code>Lint/DeprecatedOpenSSLConstant</code> when using no argument algorithm. ([<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-hq/rubocop/pull/9405">#9405</a>: Improve documentation for <code>Style/EvalWithLocation</code> cop. ([<a href="https://github.com/taichi-ishitani"><code>@taichi-ishitani</code></a>][])</li>
</ul>
<h2>1.9.1 (2021-02-01)</h2>
<h3>New features</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/9459">#9459</a>: Add <code>AllowedMethods</code> option to <code>Style/IfWithBooleanLiteralBranches</code> and set <code>nonzero?</code> as default value. ([<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-hq/rubocop/issues/9431">#9431</a>: Fix an error for <code>Style/DisableCopsWithinSourceCodeDirective</code> when using leading source comment. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/9444">#9444</a>: Fix error on colorization for offenses with <code>Severity: info</code>. ([<a href="https://github.com/tejasbubane"><code>@tejasbubane</code></a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/9448">#9448</a>: Fix an error for <code>Style/SoleNestedConditional</code> when using nested <code>unless</code> modifier with a single expression condition. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/9449">#9449</a>: Fix an error for <code>Style/NilComparison</code> when using <code>x == nil</code> as a guard condition'. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/9440">#9440</a>: Fix <code>Lint/SymbolConversion</code> for implicit <code>to_sym</code> without a receiver. ([<a href="https://github.com/dvandersluis"><code>@dvandersluis</code></a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/9453">#9453</a>: Fix infinite loop error for <code>Layout/FirstParameterIndentation</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-hq/rubocop/issues/9466">#9466</a>: Don't correct <code>Style/SingleLineMethods</code> using endless methods if the target ruby is < 3.0. ([<a href="https://github.com/dvandersluis"><code>@dvandersluis</code></a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/9455">#9455</a>: Fix a false positive for <code>Lint/SymbolConversion</code> when hash keys that contain <code>":"</code>. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/9454">#9454</a>: Fix an incorrect auto-correct for <code>Style/IfWithBooleanLiteralBranches</code> when using <code>elsif do_something?</code> with boolean literal branches. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/9438">#9438</a>: Fix a false positive for <code>Layout/SpaceBeforeBrackets</code> when space is used in left bracket. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/9457">#9457</a>: Fix a false positive for <code>Lint/SymbolConversion</code> when hash keys that end with <code>=</code>. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/9473">#9473</a>: Fix an error for <code>Lint/DeprecatedConstants</code> when using <code>__ENCODING__</code>. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/9452">#9452</a>: Fix <code>StyleGuideBaseURL</code> not functioning with nested departments. ([<a href="https://github.com/tas50"><code>@tas50</code></a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/9465">#9465</a>: Update <code>Metrics/ParameterLists</code> to be able to write <code>MaxOptionalParameters</code> in rubocop_todo.yml. ([<a href="https://github.com/dvandersluis"><code>@dvandersluis</code></a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/9433">#9433</a>: Fix an error for <code>Style/EvalWithLocation</code> when using eval with block argument. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li>
</ul>
<h3>Changes</h3>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/rubocop-hq/rubocop/commit/9e8a5ee053d93d4b0e2249a1d9abb22878b3dbdf"><code>9e8a5ee</code></a> Cut 1.10</li>
<li><a href="https://github.com/rubocop-hq/rubocop/commit/53d872366d7966cdfe38346ce66a90ad8aef56c7"><code>53d8723</code></a> Update Changelog</li>
<li><a href="https://github.com/rubocop-hq/rubocop/commit/dcd8b7d2b211c00f349faffb73bf3d63b254b8ec"><code>dcd8b7d</code></a> Upgrade rubocop-rspec</li>
<li><a href="https://github.com/rubocop-hq/rubocop/commit/708eb90e1d9ff59789e31cab275a04f59f347982"><code>708eb90</code></a> Fix RSpec/StubbedMock offenses</li>
<li><a href="https://github.com/rubocop-hq/rubocop/commit/fcb3a94c90472c7f5562a089db6565c70c1f4950"><code>fcb3a94</code></a> Improve documentation for Style/EvalWithLocation cop</li>
<li><a href="https://github.com/rubocop-hq/rubocop/commit/6cdce3bbb0ab12a6cccf1b0ccddb15230b9c655c"><code>6cdce3b</code></a> Add <code>IgnoreModules</code> configuration to <code>Style/ConstantVisibility</code></li>
<li><a href="https://github.com/rubocop-hq/rubocop/commit/07cd64c355dceebe967da613ee019821c496f92e"><code>07cd64c</code></a> [Fix <a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/9349">#9349</a>] Fix a false positive for <code>Lint/MultipleComparison</code></li>
<li><a href="https://github.com/rubocop-hq/rubocop/commit/7e89008894cb10a4b39847ff5e755b8405462dac"><code>7e89008</code></a> [Fix <a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/9513">#9513</a>] Fix an incorrect auto-correct for <code>Style/HashConversion</code></li>
<li><a href="https://github.com/rubocop-hq/rubocop/commit/2d3e1bc19660ec06d3efa43a1045c6ae34f016b9"><code>2d3e1bc</code></a> [Fix <a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/9403">#9403</a>] Add autocorrect for <code>Style/EvalWithLocation</code></li>
<li><a href="https://github.com/rubocop-hq/rubocop/commit/b2aa853763106f151722504407505f68a641c72c"><code>b2aa853</code></a> Fix a false negative for <code>Lint/ElseLayout</code></li>
<li>Additional commits viewable in <a href="https://github.com/rubocop-hq/rubocop/compare/v1.9.0...v1.10.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