[openstreetmap/openstreetmap-website] Bump rubocop from 0.86.0 to 0.88.0 (#2706)

dependabot[bot] notifications at github.com
Tue Jul 14 05:02:07 UTC 2020


Bumps [rubocop](https://github.com/rubocop-hq/rubocop) from 0.86.0 to 0.88.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.88</h2>
<h3>New features</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8279">#8279</a>: Recognise require method passed as argument in <code>Lint/NonDeterministicRequireOrder</code> cop. (<a href="https://github.com/biinari">@biinari</a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/7333">#7333</a>: Add new <code>Style/RedundantFileExtensionInRequire</code> cop. (<a href="https://github.com/fatkodima">@fatkodima</a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8316">#8316</a>: Support autocorrect for <code>Lint/DisjunctiveAssignmentInConstructor</code> cop. (<a href="https://github.com/fatkodima">@fatkodima</a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8242">#8242</a>: Internal profiling available with <code>bin/rubocop-profile</code> and rake tasks. (<a href="https://github.com/marcandre">@marcandre</a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8295">#8295</a>: Add new <code>Style/ArrayCoercion</code> cop. (<a href="https://github.com/fatkodima">@fatkodima</a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8293">#8293</a>: Add new <code>Lint/DuplicateElsifCondition</code> cop. (<a href="https://github.com/fatkodima">@fatkodima</a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/7736">#7736</a>: Add new <code>Style/CaseLikeIf</code> cop. (<a href="https://github.com/fatkodima">@fatkodima</a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/4286">#4286</a>: Add new <code>Style/HashAsLastArrayItem</code> cop. (<a href="https://github.com/fatkodima">@fatkodima</a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8247">#8247</a>: Add new <code>Style/HashLikeCase</code> cop. (<a href="https://github.com/fatkodima">@fatkodima</a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8286">#8286</a>: Internal method <code>expect_offense</code> allows abbreviated offense messages. (<a href="https://github.com/marcandre">@marcandre</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8232">#8232</a>: Fix a false positive for <code>Layout/EmptyLinesAroundAccessModifier</code> when <code>end</code> immediately after access modifier. (<a href="https://github.com/koic">@koic</a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/7777">#7777</a>: Fix crash for <code>Layout/MultilineArrayBraceLayout</code> when comment is present after last element. (<a href="https://github.com/shekhar-patil">@shekhar-patil</a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/7776">#7776</a>: Fix crash for <code>Layout/MultilineMethodCallBraceLayout</code> when comment is present before closing braces. (<a href="https://github.com/shekhar-patil">@shekhar-patil</a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8282">#8282</a>: Fix <code>Style/IfUnlessModifier</code> bad precedence detection. (<a href="https://github.com/tejasbubane">@tejasbubane</a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8289">#8289</a>: Fix <code>Style/AccessorGrouping</code> to not register offense for accessor with comment. (<a href="https://github.com/tejasbubane">@tejasbubane</a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8310">#8310</a>: Handle major version requirements in <code>Gemspec/RequiredRubyVersion</code>. (<a href="https://github.com/eugeneius">@eugeneius</a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8315">#8315</a>: Fix crash for <code>Style/PercentLiteralDelimiters</code> when the source contains invalid characters. (<a href="https://github.com/eugeneius">@eugeneius</a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8239">#8239</a>: Don't load <code>.rubocop.yml</code> files at all outside of the current project, unless they are personal configuration files and the project has no 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/issues/8021">#8021</a>: Rewrite <code>Layout/SpaceAroundMethodCallOperator</code> cop to make it faster. (<a href="https://github.com/fatkodima">@fatkodima</a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8294">#8294</a>: Add <code>of</code> to <code>AllowedNames</code> of <code>MethodParameterName</code> cop. (<a href="https://github.com/AlexWayfer">@AlexWayfer</a>)</li>
</ul>
<h2>RuboCop 0.87.1</h2>
<h3>Bug fixes</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8252">#8252</a>: Fix a command line option name from <code>--safe-autocorrect</code> to <code>--safe-auto-correct</code>, which is compatible with RuboCop 0.86 and lower. (<a href="https://github.com/koic">@koic</a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8259">#8259</a>: Fix false positives for <code>Style/BisectedAttrAccessor</code> when accessors have different access modifiers. (<a href="https://github.com/fatkodima">@fatkodima</a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8253">#8253</a>: Fix false positives for <code>Style/AccessorGrouping</code> when accessors have different access modifiers. (<a href="https://github.com/fatkodima">@fatkodima</a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8257">#8257</a>: Fix an error for <code>Style/BisectedAttrAccessor</code> when using <code>attr_reader</code> and <code>attr_writer</code> with splat arguments. (<a href="https://github.com/fatkodima">@fatkodima</a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8239">#8239</a>: Don't load <code>.rubocop.yml</code> from personal folders to check for exclusions if given a custom configuration file. (<a href="https://github.com/deivid-rodriguez">@deivid-rodriguez</a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8256">#8256</a>: Fix an error for <code>--auto-gen-config</code> when running a cop who do not support auto-correction. (<a href="https://github.com/koic">@koic</a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8262">#8262</a>: Fix <code>Lint/DeprecatedOpenSSLConstant</code> auto-correction of <code>OpenSSL::Cipher</code> to use lower case, as some Linux-based systems do not accept upper cased cipher names. ([<a href="https://github.com/bdewater">@bdewater</a>][])</li>
</ul>
<!-- raw HTML omitted -->
</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.88.0 (2020-07-13)</h2>
<h3>New features</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8279">#8279</a>: Recognise require method passed as argument in <code>Lint/NonDeterministicRequireOrder</code> cop. ([<a href="https://github.com/biinari">@biinari</a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/7333">#7333</a>: Add new <code>Style/RedundantFileExtensionInRequire</code> cop. ([<a href="https://github.com/fatkodima">@fatkodima</a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8316">#8316</a>: Support autocorrect for <code>Lint/DisjunctiveAssignmentInConstructor</code> cop. ([<a href="https://github.com/fatkodima">@fatkodima</a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8242">#8242</a>: Internal profiling available with <code>bin/rubocop-profile</code> and rake tasks. ([<a href="https://github.com/marcandre">@marcandre</a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8295">#8295</a>: Add new <code>Style/ArrayCoercion</code> cop. ([<a href="https://github.com/fatkodima">@fatkodima</a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8293">#8293</a>: Add new <code>Lint/DuplicateElsifCondition</code> cop. ([<a href="https://github.com/fatkodima">@fatkodima</a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/7736">#7736</a>: Add new <code>Style/CaseLikeIf</code> cop. ([<a href="https://github.com/fatkodima">@fatkodima</a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/4286">#4286</a>: Add new <code>Style/HashAsLastArrayItem</code> cop. ([<a href="https://github.com/fatkodima">@fatkodima</a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8247">#8247</a>: Add new <code>Style/HashLikeCase</code> cop. ([<a href="https://github.com/fatkodima">@fatkodima</a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8286">#8286</a>: Internal method <code>expect_offense</code> allows abbreviated offense messages. ([<a href="https://github.com/marcandre">@marcandre</a>][])</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8232">#8232</a>: Fix a false positive for <code>Layout/EmptyLinesAroundAccessModifier</code> when <code>end</code> immediately after access modifier. ([<a href="https://github.com/koic">@koic</a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/7777">#7777</a>: Fix crash for <code>Layout/MultilineArrayBraceLayout</code> when comment is present after last element. ([<a href="https://github.com/shekhar-patil">@shekhar-patil</a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/7776">#7776</a>: Fix crash for <code>Layout/MultilineMethodCallBraceLayout</code> when comment is present before closing braces. ([<a href="https://github.com/shekhar-patil">@shekhar-patil</a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8282">#8282</a>: Fix <code>Style/IfUnlessModifier</code> bad precedence detection. ([<a href="https://github.com/tejasbubane">@tejasbubane</a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8289">#8289</a>: Fix <code>Style/AccessorGrouping</code> to not register offense for accessor with comment. ([<a href="https://github.com/tejasbubane">@tejasbubane</a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8310">#8310</a>: Handle major version requirements in <code>Gemspec/RequiredRubyVersion</code>. ([<a href="https://github.com/eugeneius">@eugeneius</a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8315">#8315</a>: Fix crash for <code>Style/PercentLiteralDelimiters</code> when the source contains invalid characters. ([<a href="https://github.com/eugeneius">@eugeneius</a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8239">#8239</a>: Don't load <code>.rubocop.yml</code> files at all outside of the current project, unless they are personal configuration files and the project has no 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/issues/8021">#8021</a>: Rewrite <code>Layout/SpaceAroundMethodCallOperator</code> cop to make it faster. ([<a href="https://github.com/fatkodima">@fatkodima</a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8294">#8294</a>: Add <code>of</code> to <code>AllowedNames</code> of <code>MethodParameterName</code> cop. ([<a href="https://github.com/AlexWayfer">@AlexWayfer</a>][])</li>
</ul>
<h2>0.87.1 (2020-07-07)</h2>
<h3>Bug fixes</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8189">#8189</a>: Fix an error for <code>Layout/MultilineBlockLayout</code> where spaces for a new line where not considered. ([<a href="https://github.com/knejad">@knejad</a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8252">#8252</a>: Fix a command line option name from <code>--safe-autocorrect</code> to <code>--safe-auto-correct</code>, which is compatible with RuboCop 0.86 and lower. ([<a href="https://github.com/koic">@koic</a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8259">#8259</a>: Fix false positives for <code>Style/BisectedAttrAccessor</code> when accessors have different access modifiers. ([<a href="https://github.com/fatkodima">@fatkodima</a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8253">#8253</a>: Fix false positives for <code>Style/AccessorGrouping</code> when accessors have different access modifiers. ([<a href="https://github.com/fatkodima">@fatkodima</a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8257">#8257</a>: Fix an error for <code>Style/BisectedAttrAccessor</code> when using <code>attr_reader</code> and <code>attr_writer</code> with splat arguments. ([<a href="https://github.com/fatkodima">@fatkodima</a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8239">#8239</a>: Don't load <code>.rubocop.yml</code> from personal folders to check for exclusions if given a custom configuration file. ([<a href="https://github.com/deivid-rodriguez">@deivid-rodriguez</a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8256">#8256</a>: Fix an error for <code>--auto-gen-config</code> when running a cop who do not support auto-correction. ([<a href="https://github.com/koic">@koic</a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/8262">#8262</a>: Fix <code>Lint/DeprecatedOpenSSLConstant</code> auto-correction of <code>OpenSSL::Cipher</code> to use lower case, as some Linux-based systems do not accept upper cased cipher names. ([<a href="https://github.com/bdewater">@bdewater</a>][])</li>
</ul>
<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>
</ul>
<!-- raw HTML omitted -->
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/rubocop-hq/rubocop/commit/acddd7381f47c0eb9cb896640c452d1899d483e8"><code>acddd73</code></a> Cut 0.88</li>
<li><a href="https://github.com/rubocop-hq/rubocop/commit/535c5442f6603508d0b19d055d2772f0551924e0"><code>535c544</code></a> Add a changelog entry</li>
<li><a href="https://github.com/rubocop-hq/rubocop/commit/d1822bce760ffcdee7276e068adb70b7485ab791"><code>d1822bc</code></a> Ignore configuration files outside of the project</li>
<li><a href="https://github.com/rubocop-hq/rubocop/commit/e1a2da0e28c1411bb3c4679c9c62f57e9eb67f92"><code>e1a2da0</code></a> Only look up to the project's root for exclusions</li>
<li><a href="https://github.com/rubocop-hq/rubocop/commit/0563861979a9054f59fdbd7478d61429b5826833"><code>0563861</code></a> Fix <code>traverse_files_upwards</code> to make searching up to the root possible</li>
<li><a href="https://github.com/rubocop-hq/rubocop/commit/18e318fe5cf35482b1f09a9c3b024627622070b0"><code>18e318f</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8279">#8279</a> from Fatsoma/feature/require_order_block_pass</li>
<li><a href="https://github.com/rubocop-hq/rubocop/commit/fe066fcfb1a1d13dfcbff774a9dd70d371e84a4a"><code>fe066fc</code></a> Merge branch 'master' into feature/require_order_block_pass</li>
<li><a href="https://github.com/rubocop-hq/rubocop/commit/0c786c07d283d6096535ab5d89ce9315a7ff27cb"><code>0c786c0</code></a> Fix line number for empty file offense</li>
<li><a href="https://github.com/rubocop-hq/rubocop/commit/930b65fcb9e71a297d82bf73ce9b303e01fbc828"><code>930b65f</code></a> Fix expect_offense when annotations missing</li>
<li><a href="https://github.com/rubocop-hq/rubocop/commit/34a2dbd836505a9465b22218781715f0a8e545a1"><code>34a2dbd</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/8316">#8316</a> from fatkodima/autocorrect-to-disjunctive_assignment...</li>
<li>Additional commits viewable in <a href="https://github.com/rubocop-hq/rubocop/compare/v0.86.0...v0.88.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.88.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/2706

-- Commit Summary --

  * Bump rubocop from 0.86.0 to 0.88.0

-- File Changes --

    M Gemfile.lock (6)

-- Patch Links --

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


More information about the rails-dev mailing list