Commit c995e8a
Merge #151
151: Update rubocop requirement from ~> 1.10.0 to ~> 1.11.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.11</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>
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9541">#9541</a>: Fix <code>Style/HashConversion</code> when the correction needs to be wrapped in parens. (<a href="https://github.com/dvandersluis"><code>@dvandersluis</code></a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9533">#9533</a>: Make metrics length cops aware of multi-line kwargs. (<a href="https://github.com/koic"><code>@koic</code></a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9523">#9523</a>: Fix an error for <code>Style/TrailingMethodEndStatement</code> when endless method definition signature and body are on different lines. (<a href="https://github.com/koic"><code>@koic</code></a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9482">#9482</a>: Return minimal known ruby version from gemspecs <code>required_ruby_version</code>. (<a href="https://github.com/HeroProtagonist"><code>@HeroProtagonist</code></a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9539">#9539</a>: Fix an error for <code>Style/RedundantBegin</code> when using body of <code>begin</code> is empty. (<a href="https://github.com/koic"><code>@koic</code></a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/9542">#9542</a>: Fix <code>Layout/FirstArgumentIndentation</code> for operator methods not called as operators. (<a href="https://github.com/dvandersluis"><code>@dvandersluis</code></a>, <a href="https://github.com/TSMMark"><code>@TSMMark</code></a>)</li>
</ul>
<h3>Changes</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9526">#9526</a>: Add <code>AllowSplatArgument</code> option to <code>Style/HashConversion</code> and the option is true by default. (<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.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>
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9541">#9541</a>: Fix <code>Style/HashConversion</code> when the correction needs to be wrapped in parens. ([<a href="https://github.com/dvandersluis"><code>@dvandersluis</code></a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9533">#9533</a>: Make metrics length cops aware of multi-line kwargs. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9523">#9523</a>: Fix an error for <code>Style/TrailingMethodEndStatement</code> when endless method definition signature and body are on different lines. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9482">#9482</a>: Return minimal known ruby version from gemspecs <code>required_ruby_version</code>. ([<a href="https://github.com/HeroProtagonist"><code>@HeroProtagonist</code></a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9539">#9539</a>: Fix an error for <code>Style/RedundantBegin</code> when using body of <code>begin</code> is empty. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/pull/9542">#9542</a>: Fix <code>Layout/FirstArgumentIndentation</code> for operator methods not called as operators. ([<a href="https://github.com/dvandersluis"><code>@dvandersluis</code></a>][], [<a href="https://github.com/TSMMark"><code>@TSMMark</code></a>][])</li>
</ul>
<h3>Changes</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9526">#9526</a>: Add <code>AllowSplatArgument</code> option to <code>Style/HashConversion</code> and the option is true by default. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li>
</ul>
<h2>1.10.0 (2021-02-15)</h2>
<h3>New features</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/rubocop/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/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/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/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/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/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/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/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/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/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/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/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/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/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>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/rubocop/rubocop/commit/3741eebc29e145daabc611cae7460eeda4fc0c4a"><code>3741eeb</code></a> Cut 1.11</li>
<li><a href="https://github.com/rubocop/rubocop/commit/e3287dc98913817ce10e319dbd01d8fde79653c1"><code>e3287dc</code></a> Update Changelog</li>
<li><a href="https://github.com/rubocop/rubocop/commit/28a81455e32a46c4b244fe4f662b69eab6f99710"><code>28a8145</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9550">#9550</a> from koic/bump_rubocop_performance_to_1_10</li>
<li><a href="https://github.com/rubocop/rubocop/commit/3790bb7e3af9f8d43db41591a02907d8d02c40d9"><code>3790bb7</code></a> Bump RuboCop Performance to 1.10</li>
<li><a href="https://github.com/rubocop/rubocop/commit/2a727f9a79b855aa44cb36e292148c03b8719cea"><code>2a727f9</code></a> [Fix <a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9533">#9533</a>] Fix calc of multiline hash arg length for metrics length cops</li>
<li><a href="https://github.com/rubocop/rubocop/commit/8a4ee257d75cacf22e3ad5db6635d017248980a5"><code>8a4ee25</code></a> Fix a false positive for <code>Style/TrailingBodyOnMethodDefinition</code></li>
<li><a href="https://github.com/rubocop/rubocop/commit/6fb5d75727c15953134ebfa23a79fb6060b44da0"><code>6fb5d75</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9549">#9549</a> from koic/fix_error_for_internal_affairs_node_matche...</li>
<li><a href="https://github.com/rubocop/rubocop/commit/aef3d43b0dcd6e4cd5d687c81749df01a09e2b81"><code>aef3d43</code></a> Fix an error for <code>InternalAffairs/NodeMatcherDirective</code></li>
<li><a href="https://github.com/rubocop/rubocop/commit/1dd69ab0e20e662c6e90a47634b69ddf1c484dac"><code>1dd69ab</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/rubocop/rubocop/issues/9506">#9506</a> from dvandersluis/internal/method-directive</li>
<li><a href="https://github.com/rubocop/rubocop/commit/e850b2716370f3fa9de5db9f3c1ec1dc298ac6c1"><code>e850b27</code></a> Correct <code>InternalAffairs/NodeMatcherDirective</code> offenses.</li>
<li>Additional commits viewable in <a href="https://github.com/rubocop/rubocop/compare/v1.10.0...v1.11.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