[openstreetmap/openstreetmap-website] Bump rubocop from 0.89.0 to 0.89.1 (#2766)

dependabot[bot] notifications at github.com
Tue Aug 11 05:01:15 UTC 2020


Bumps [rubocop](https://github.com/rubocop-hq/rubocop) from 0.89.0 to 0.89.1.
<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 0.89.1</h2>
<h3>Bug fixes</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8463">#8463</a>: Fix false positives for <code>Lint/OutOfRangeRegexpRef</code> when a regexp is defined and matched in separate steps. (<a href="https://github.com/eugeneius">@eugeneius</a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8464">#8464</a>: Handle regexps matched with <code>when</code>, <code>grep</code>, <code>gsub</code>, <code>gsub!</code>, <code>sub</code>, <code>sub!</code>, <code>[]</code>, <code>slice</code>, <code>slice!</code>, <code>scan</code>, <code>index</code>, <code>rindex</code>, <code>partition</code>, <code>rpartition</code>, <code>start_with?</code>, and <code>end_with?</code> in <code>Lint/OutOfRangeRegexpRef</code>. (<a href="https://github.com/eugeneius">@eugeneius</a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8466">#8466</a>: Fix a false positive for <code>Lint/UriRegexp</code> when using <code>regexp</code> method without receiver. (<a href="https://github.com/koic">@koic</a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8478">#8478</a>: Relax <code>Lint/BinaryOperatorWithIdenticalOperands</code> for mathematical operations. (<a href="https://github.com/marcandre">@marcandre</a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8480">#8480</a>: Tweak callback list of <code>Lint/MissingSuper</code>. (<a href="https://github.com/marcandre">@marcandre</a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8481">#8481</a>: Fix autocorrect for elements with newlines in <code>Style/SymbolArray</code> and <code>Style/WordArray</code>. (<a href="https://github.com/biinari">@biinari</a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8475">#8475</a>: Fix a false positive for <code>Style/HashAsLastArrayItem</code> when there are duplicate hashes in the array. (<a href="https://github.com/wcmonty">@wcmonty</a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8497">#8497</a>: Fix <code>Style/IfUnlessModifier</code> to add parentheses when converting if-end condition inside a parenthesized method argument list. (<a href="https://github.com/dsavochkin">@dsavochkin</a>)</li>
</ul>
<h3>Changes</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8487">#8487</a>: Detect <code>&lt;</code> and <code>&gt;</code> as comparison operators in <code>Style/ConditionalAssignment</code> cop. (<a href="https://github.com/biinari">@biinari</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>0.89.1 (2020-08-10)</h2>
<h3>Bug fixes</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8463">#8463</a>: Fix false positives for <code>Lint/OutOfRangeRegexpRef</code> when a regexp is defined and matched in separate steps. ([<a href="https://github.com/eugeneius">@eugeneius</a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8464">#8464</a>: Handle regexps matched with <code>when</code>, <code>grep</code>, <code>gsub</code>, <code>gsub!</code>, <code>sub</code>, <code>sub!</code>, <code>[]</code>, <code>slice</code>, <code>slice!</code>, <code>scan</code>, <code>index</code>, <code>rindex</code>, <code>partition</code>, <code>rpartition</code>, <code>start_with?</code>, and <code>end_with?</code> in <code>Lint/OutOfRangeRegexpRef</code>. ([<a href="https://github.com/eugeneius">@eugeneius</a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8466">#8466</a>: Fix a false positive for <code>Lint/UriRegexp</code> when using <code>regexp</code> method without receiver. ([<a href="https://github.com/koic">@koic</a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8478">#8478</a>: Relax <code>Lint/BinaryOperatorWithIdenticalOperands</code> for mathematical operations. ([<a href="https://github.com/marcandre">@marcandre</a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8480">#8480</a>: Tweak callback list of <code>Lint/MissingSuper</code>. ([<a href="https://github.com/marcandre">@marcandre</a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8481">#8481</a>: Fix autocorrect for elements with newlines in <code>Style/SymbolArray</code> and <code>Style/WordArray</code>. ([<a href="https://github.com/biinari">@biinari</a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8475">#8475</a>: Fix a false positive for <code>Style/HashAsLastArrayItem</code> when there are duplicate hashes in the array. ([<a href="https://github.com/wcmonty">@wcmonty</a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8497">#8497</a>: Fix <code>Style/IfUnlessModifier</code> to add parentheses when converting if-end condition inside a parenthesized method argument list. ([<a href="https://github.com/dsavochkin">@dsavochkin</a>][])</li>
</ul>
<h3>Changes</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8487">#8487</a>: Detect <code>&lt;</code> and <code>&gt;</code> as comparison operators in <code>Style/ConditionalAssignment</code> cop. ([<a href="https://github.com/biinari">@biinari</a>][])</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/rubocop-hq/rubocop/commit/e27942a99c0372273c185dbb2d4b9b92be9e51a3"><code>e27942a</code></a> Cut 0.89.1</li>
<li><a href="https://github.com/rubocop-hq/rubocop/commit/3cba8231ee4ba4ce948b88cf51c6e9bf7c09b4b7"><code>3cba823</code></a> [Fix <a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8497">#8497</a>] Fix Style/IfUnlessModifier to handle if-end condition in method a...</li>
<li><a href="https://github.com/rubocop-hq/rubocop/commit/78f1ec9d3941ca68def673b7fa307cac996e5082"><code>78f1ec9</code></a> Alter multiline memoization message for braces enforced style</li>
<li><a href="https://github.com/rubocop-hq/rubocop/commit/e0f28e084011b1471de67676c180ba2071757a31"><code>e0f28e0</code></a> Deprecate comment_lines?</li>
<li><a href="https://github.com/rubocop-hq/rubocop/commit/9a08fde50bbeaa49f16ff4530465a03321565fac"><code>9a08fde</code></a> Avoid use of ProcessedSource#commented?</li>
<li><a href="https://github.com/rubocop-hq/rubocop/commit/28eabb7df4c1771bf31042548ab1ba5c839b27bf"><code>28eabb7</code></a> Fix Style/EmptyCaseCondition's autocorrect.</li>
<li><a href="https://github.com/rubocop-hq/rubocop/commit/14a5c208a81470c5f2dea240e09442dd4f55380c"><code>14a5c20</code></a> Avoid comments_before_line</li>
<li><a href="https://github.com/rubocop-hq/rubocop/commit/8a02e42f3e78323af0bdb4fef6c124a545bb55cb"><code>8a02e42</code></a> Simplify and optimize comment lookup</li>
<li><a href="https://github.com/rubocop-hq/rubocop/commit/a0ec79974f81aae429aee8f069cf11f5a606de2a"><code>a0ec799</code></a> New rubocop-ast insures that <code>ProcessedSource#comments</code> is never <code>nil</code>.</li>
<li><a href="https://github.com/rubocop-hq/rubocop/commit/7fd90a4cc1cf5d459e7150c15f17edb847932731"><code>7fd90a4</code></a> Avoid use of each_comment</li>
<li>Additional commits viewable in <a href="https://github.com/rubocop-hq/rubocop/compare/v0.89.0...v0.89.1">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=rubocop&package-manager=bundler&previous-version=0.89.0&new-version=0.89.1)](https://help.github.com/articles/configuring-automated-security-fixes)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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>
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/2766

-- Commit Summary --

  * Bump rubocop from 0.89.0 to 0.89.1

-- File Changes --

    M Gemfile.lock (4)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/2766.patch
https://github.com/openstreetmap/openstreetmap-website/pull/2766.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/2766
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20200810/5284a299/attachment-0001.htm>


More information about the rails-dev mailing list