<p>Bumps <a href="https://github.com/rubocop-hq/rubocop">rubocop</a> from 0.86.0 to 0.87.0.</p>
<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" rel="nofollow">#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" rel="nofollow">#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" rel="nofollow">#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" rel="nofollow">#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" rel="nofollow">#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" rel="nofollow">#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" rel="nofollow">#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" rel="nofollow">#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" rel="nofollow">#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" rel="nofollow">#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" rel="nofollow">#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" rel="nofollow">#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" rel="nofollow">#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" rel="nofollow">#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" rel="nofollow">#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" rel="nofollow">#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" rel="nofollow">#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" rel="nofollow">#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" rel="nofollow">#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" rel="nofollow">#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" rel="nofollow">#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" rel="nofollow">#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" rel="nofollow">#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" rel="nofollow">#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" rel="nofollow">#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" rel="nofollow">#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" rel="nofollow">#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" rel="nofollow">#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" rel="nofollow">#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" rel="nofollow">#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" rel="nofollow">#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" rel="nofollow">#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" rel="nofollow">#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" rel="nofollow">#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" rel="nofollow">#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" rel="nofollow">#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" rel="nofollow">#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" rel="nofollow">#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" rel="nofollow">#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" rel="nofollow">#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" rel="nofollow">#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" rel="nofollow">#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" rel="nofollow">#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" rel="nofollow">#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" rel="nofollow">#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>
<p><a href="https://help.github.com/articles/configuring-automated-security-fixes"><img src="https://camo.githubusercontent.com/43daa19b3d123a1ae4f7b08efff61a72e03e5ecd/68747470733a2f2f646570656e6461626f742d6261646765732e6769746875626170702e636f6d2f6261646765732f636f6d7061746962696c6974795f73636f72653f646570656e64656e63792d6e616d653d7275626f636f70267061636b6167652d6d616e616765723d62756e646c65722670726576696f75732d76657273696f6e3d302e38362e30266e65772d76657273696f6e3d302e38372e30" alt="Dependabot compatibility score" data-canonical-src="https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=rubocop&package-manager=bundler&previous-version=0.86.0&new-version=0.87.0" style="max-width:100%;"></a></p>
<p>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 <code>@dependabot rebase</code>.</p>
<hr>
<details>
<summary>Dependabot commands and options</summary>
<br>
<p>You can trigger Dependabot actions by commenting on this PR:</p>
<ul>
<li><code>@dependabot rebase</code> will rebase this PR</li>
<li><code>@dependabot recreate</code> will recreate this PR, overwriting any edits that have been made to it</li>
<li><code>@dependabot merge</code> will merge this PR after your CI passes on it</li>
<li><code>@dependabot squash and merge</code> will squash and merge this PR after your CI passes on it</li>
<li><code>@dependabot cancel merge</code> will cancel a previously requested merge and block automerging</li>
<li><code>@dependabot reopen</code> will reopen this PR if it is closed</li>
<li><code>@dependabot close</code> will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually</li>
<li><code>@dependabot ignore this major version</code> will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)</li>
<li><code>@dependabot ignore this minor version</code> will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)</li>
<li><code>@dependabot ignore this dependency</code> will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)</li>
</ul>
</details>
<hr>
<h4>You can view, comment on, or merge this pull request online at:</h4>
<p> <a href='https://github.com/openstreetmap/openstreetmap-website/pull/2692'>https://github.com/openstreetmap/openstreetmap-website/pull/2692</a></p>
<h4>Commit Summary</h4>
<ul>
<li>Bump rubocop from 0.86.0 to 0.87.0</li>
</ul>
<h4>File Changes</h4>
<ul>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/2692/files#diff-e79a60dc6b85309ae70a6ea8261eaf95">Gemfile.lock</a>
(6)
</li>
</ul>
<h4>Patch Links:</h4>
<ul>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/2692.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/2692.patch</a></li>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/2692.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/2692.diff</a></li>
</ul>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2692">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLIQE7OGZSXSK2G2AVDR2KT37ANCNFSM4OSNUMOA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAK2OLJ7MAATB5K2TZ6JO23R2KT37A5CNFSM4OSNUMOKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4JW4XYOA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/2692",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/2692",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>