[openstreetmap/openstreetmap-website] Bump rubocop from 0.86.0 to 0.87.0 (#2692)

dependabot[bot] notifications at github.com
Tue Jul 7 05:01:51 UTC 2020


Bumps [rubocop](https://github.com/rubocop-hq/rubocop) from 0.86.0 to 0.87.0.
<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.87</h2>
<h3>New features</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/7868">#7868</a>: <code>Cop::Base</code> is the new recommended base class for cops. (<a href="https://github.com/marcandre">@marcandre</a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/3983">#3983</a>: Add new <code>Style/AccessorGrouping</code> cop. (<a href="https://github.com/fatkodima">@fatkodima</a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8244">#8244</a>: Add new <code>Style/BisectedAttrAccessor</code> cop. (<a href="https://github.com/fatkodima">@fatkodima</a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/7458">#7458</a>: Add new <code>AsciiConstants</code> option for <code>Naming/AsciiIdentifiers</code>. (<a href="https://github.com/fatkodima">@fatkodima</a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/7373">#7373</a>: Add new <code>Style/RedundantAssignment</code> cop. (<a href="https://github.com/fatkodima">@fatkodima</a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8213">#8213</a>: Permit to specify TargetRubyVersion 2.8 (experimental). (<a href="https://github.com/koic">@koic</a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8159">#8159</a>: Add new <code>CountAsOne</code> option for code length related <code>Metric</code> cops. (<a href="https://github.com/fatkodima">@fatkodima</a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8164">#8164</a>: Support auto-correction for <code>Lint/InterpolationCheck</code>. (<a href="https://github.com/koic">@koic</a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8223">#8223</a>: Support auto-correction for <code>Style/IfUnlessModifierOfIfUnless</code>. (<a href="https://github.com/koic">@koic</a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8172">#8172</a>: Support auto-correction for <code>Lint/SafeNavigationWithEmpty</code>. (<a href="https://github.com/koic">@koic</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8039">#8039</a>: Fix false positives for <code>Lint/ParenthesesAsGroupedExpression</code> in when using operators or chain functions. (<a href="https://github.com/CamilleDrapier">@CamilleDrapier</a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8196">#8196</a>: Fix a false positive for <code>Style/RedundantFetchBlock</code> when using with <code>Rails.cache</code>. (<a href="https://github.com/fatkodima">@fatkodima</a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8195">#8195</a>: Fix an error for <code>Style/RedundantFetchBlock</code> when using <code>#fetch</code> with empty block. (<a href="https://github.com/koic">@koic</a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8193">#8193</a>: Fix a false positive for <code>Style/RedundantRegexpCharacterClass</code> when using <code>[\b]</code>. (<a href="https://github.com/owst">@owst</a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8205">#8205</a>: Fix a false positive for <code>Style/RedundantRegexpCharacterClass</code> when using a leading escaped <code>]</code>. (<a href="https://github.com/owst">@owst</a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8208">#8208</a>: Fix <code>Style/RedundantParentheses</code> with hash literal as first argument to <code>yield</code>. (<a href="https://github.com/karlwithak">@karlwithak</a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8176">#8176</a>: Don't load <code>.rubocop.yml</code> from personal folders to check for exclusions if there's a project configuration. (<a href="https://github.com/deivid-rodriguez">@deivid-rodriguez</a>)</li>
</ul>
<h3>Changes</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/7868">#7868</a>: <strong>(Breaking)</strong> Extensive refactoring of internal classes <code>Team</code>, <code>Commissioner</code>, <code>Corrector</code>. <code>Cop::Cop#corrections</code> not completely compatible. See Upgrade Notes. (<a href="https://github.com/marcandre">@marcandre</a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8156">#8156</a>: <strong>(Breaking)</strong> <code>rubocop -a / --autocorrect</code> no longer run unsafe corrections; <code>rubocop -A / --autocorrect-all</code> run both safe and unsafe corrections. Options <code>--safe-autocorrect</code> is deprecated. (<a href="https://github.com/marcandre">@marcandre</a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8207">#8207</a>: <strong>(Breaking)</strong> Order for gems names now disregards underscores and dashes unless <code>ConsiderPunctuation</code> setting is set to <code>true</code>. (<a href="https://github.com/marcandre">@marcandre</a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8211">#8211</a>: <code>Style/ClassVars</code> cop now detects <code>class_variable_set</code>. (<a href="https://github.com/biinari">@biinari</a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8245">#8245</a>: Detect top-level constants like <code>::Const</code> in various cops. (<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.87.0 (2020-07-06)</h2>
<h3>New features</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/7868">#7868</a>: <code>Cop::Base</code> is the new recommended base class for cops. ([<a href="https://github.com/marcandre">@marcandre</a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/3983">#3983</a>: Add new <code>Style/AccessorGrouping</code> cop. ([<a href="https://github.com/fatkodima">@fatkodima</a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8244">#8244</a>: Add new <code>Style/BisectedAttrAccessor</code> cop. ([<a href="https://github.com/fatkodima">@fatkodima</a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/7458">#7458</a>: Add new <code>AsciiConstants</code> option for <code>Naming/AsciiIdentifiers</code>. ([<a href="https://github.com/fatkodima">@fatkodima</a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/7373">#7373</a>: Add new <code>Style/RedundantAssignment</code> cop. ([<a href="https://github.com/fatkodima">@fatkodima</a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8213">#8213</a>: Permit to specify TargetRubyVersion 2.8 (experimental). ([<a href="https://github.com/koic">@koic</a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8159">#8159</a>: Add new <code>CountAsOne</code> option for code length related <code>Metric</code> cops. ([<a href="https://github.com/fatkodima">@fatkodima</a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8164">#8164</a>: Support auto-correction for <code>Lint/InterpolationCheck</code>. ([<a href="https://github.com/koic">@koic</a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8223">#8223</a>: Support auto-correction for <code>Style/IfUnlessModifierOfIfUnless</code>. ([<a href="https://github.com/koic">@koic</a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8172">#8172</a>: Support auto-correction for <code>Lint/SafeNavigationWithEmpty</code>. ([<a href="https://github.com/koic">@koic</a>][])</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8039">#8039</a>: Fix false positives for <code>Lint/ParenthesesAsGroupedExpression</code> in when using operators or chain functions. ([<a href="https://github.com/CamilleDrapier">@CamilleDrapier</a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8196">#8196</a>: Fix a false positive for <code>Style/RedundantFetchBlock</code> when using with <code>Rails.cache</code>. ([<a href="https://github.com/fatkodima">@fatkodima</a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8195">#8195</a>: Fix an error for <code>Style/RedundantFetchBlock</code> when using <code>#fetch</code> with empty block. ([<a href="https://github.com/koic">@koic</a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8193">#8193</a>: Fix a false positive for <code>Style/RedundantRegexpCharacterClass</code> when using <code>[\b]</code>. ([<a href="https://github.com/owst">@owst</a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8205">#8205</a>: Fix a false positive for <code>Style/RedundantRegexpCharacterClass</code> when using a leading escaped <code>]</code>. ([<a href="https://github.com/owst">@owst</a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8208">#8208</a>: Fix <code>Style/RedundantParentheses</code> with hash literal as first argument to <code>yield</code>. ([<a href="https://github.com/karlwithak">@karlwithak</a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8176">#8176</a>: Don't load <code>.rubocop.yml</code> from personal folders to check for exclusions if there's a project configuration. ([<a href="https://github.com/deivid-rodriguez">@deivid-rodriguez</a>][])</li>
</ul>
<h3>Changes</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/7868">#7868</a>: <strong>(Breaking)</strong> Extensive refactoring of internal classes <code>Team</code>, <code>Commissioner</code>, <code>Corrector</code>. <code>Cop::Cop#corrections</code> not completely compatible. See Upgrade Notes. ([<a href="https://github.com/marcandre">@marcandre</a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8156">#8156</a>: <strong>(Breaking)</strong> <code>rubocop -a / --autocorrect</code> no longer run unsafe corrections; <code>rubocop -A / --autocorrect-all</code> run both safe and unsafe corrections. Options <code>--safe-autocorrect</code> is deprecated. ([<a href="https://github.com/marcandre">@marcandre</a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8207">#8207</a>: <strong>(Breaking)</strong> Order for gems names now disregards underscores and dashes unless <code>ConsiderPunctuation</code> setting is set to <code>true</code>. ([<a href="https://github.com/marcandre">@marcandre</a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8211">#8211</a>: <code>Style/ClassVars</code> cop now detects <code>class_variable_set</code>. ([<a href="https://github.com/biinari">@biinari</a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8245">#8245</a>: Detect top-level constants like <code>::Const</code> in various cops. ([<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/ba8f13ad9640e71b29853d552f90a54e0acd7625"><code>ba8f13a</code></a> Cut 0.87</li>
<li><a href="https://github.com/rubocop-hq/rubocop/commit/040e829b81f856aab4e40853f856b5df79b05738"><code>040e829</code></a> Changelog entry for <a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8245">#8245</a></li>
<li><a href="https://github.com/rubocop-hq/rubocop/commit/5e03e9be65f3568c1ec1278a2fe395a8fb644ab1"><code>5e03e9b</code></a> Allow top-level const in MutableConst</li>
<li><a href="https://github.com/rubocop-hq/rubocop/commit/91820ead1807623162aaa7653424aa0fae4cb915"><code>91820ea</code></a> Detect top-level const in ExpandPathArguments</li>
<li><a href="https://github.com/rubocop-hq/rubocop/commit/bc268f899548b3d2721917f47b7e94ae40b64119"><code>bc268f8</code></a> Detect top-level const in RandomWithOffset</li>
<li><a href="https://github.com/rubocop-hq/rubocop/commit/a59d579d100c48c076fd54c3e35deaba233cb335"><code>a59d579</code></a> Detect redundant ::RuntimeError in raise/fail</li>
<li><a href="https://github.com/rubocop-hq/rubocop/commit/ce20cb432c9b85588d9162e93d0031a04b2b2e3a"><code>ce20cb4</code></a> Detect ::ENV in Style/RedundantFreeze</li>
<li><a href="https://github.com/rubocop-hq/rubocop/commit/dbc3794111d054c0c017650759468ef5f0a12d5b"><code>dbc3794</code></a> Allow top-level const in Style/ZeroLengthPredicate</li>
<li><a href="https://github.com/rubocop-hq/rubocop/commit/d0de34a931559517bfd385f740e5e1a6d3747863"><code>d0de34a</code></a> Allow ::Proc.new with arg in Style/SymbolProc</li>
<li><a href="https://github.com/rubocop-hq/rubocop/commit/d49938681392382c5e46442d8f5bbf8b24bd319e"><code>d499386</code></a> Detect ::Struct in Style/StructInheritance</li>
<li>Additional commits viewable in <a href="https://github.com/rubocop-hq/rubocop/compare/v0.86.0...v0.87.0">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.86.0&new-version=0.87.0)](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/2692

-- Commit Summary --

  * Bump rubocop from 0.86.0 to 0.87.0

-- File Changes --

    M Gemfile.lock (6)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/2692.patch
https://github.com/openstreetmap/openstreetmap-website/pull/2692.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/2692
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20200706/43832b08/attachment-0001.htm>


More information about the rails-dev mailing list