[openstreetmap/openstreetmap-website] Bump rubocop-performance from 1.8.0 to 1.8.1 (#2846)

dependabot[bot] notifications at github.com
Mon Sep 21 05:01:17 UTC 2020


Bumps [rubocop-performance](https://github.com/rubocop-hq/rubocop-performance) from 1.8.0 to 1.8.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/rubocop-hq/rubocop-performance/releases">rubocop-performance's releases</a>.</em></p>
<blockquote>
<h2>RuboCop Performance 1.8.1</h2>
<h3>Bug fixes</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop-performance/pull/164">#164</a>: Fix an error for <code>Performance/CollectionLiteralInLoop</code> when a method from <code>Enumerable</code> is called with no receiver. (<a href="https://github.com/eugeneius">@eugeneius</a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop-performance/issues/165">#165</a>: Fix a false positive for <code>Performance/Sum</code> when using initial value argument is a variable. (<a href="https://github.com/koic">@koic</a>)</li>
</ul>
<h3>Changes</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop-performance/pull/163">#163</a>: Change <code>Performance/Detect</code> to also detect offenses when index 0 or -1 is used instead (ie. <code>detect{ ... }[0]</code>). (<a href="https://github.com/dvandersluis">@dvandersluis</a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop-performance/pull/168">#168</a>: Extend <code>Performance/Sum</code> to register an offense for <code>inject(&amp;:+)</code>. (<a href="https://github.com/eugeneius">@eugeneius</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/rubocop-hq/rubocop-performance/blob/master/CHANGELOG.md">rubocop-performance's changelog</a>.</em></p>
<blockquote>
<h2>1.8.1 (2020-09-19)</h2>
<h3>Bug fixes</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop-performance/pull/164">#164</a>: Fix an error for <code>Performance/CollectionLiteralInLoop</code> when a method from <code>Enumerable</code> is called with no receiver. ([<a href="https://github.com/eugeneius">@eugeneius</a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop-performance/issues/165">#165</a>: Fix a false positive for <code>Performance/Sum</code> when using initial value argument is a variable. ([<a href="https://github.com/koic">@koic</a>][])</li>
</ul>
<h3>Changes</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop-performance/pull/163">#163</a>: Change <code>Performance/Detect</code> to also detect offenses when index 0 or -1 is used instead (ie. <code>detect{ ... }[0]</code>). ([<a href="https://github.com/dvandersluis">@dvandersluis</a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop-performance/pull/168">#168</a>: Extend <code>Performance/Sum</code> to register an offense for <code>inject(&amp;:+)</code>. ([<a href="https://github.com/eugeneius">@eugeneius</a>][])</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/rubocop-hq/rubocop-performance/commit/5d5de8bd853d4c19801c71538e108cec9137046c"><code>5d5de8b</code></a> Cut 1.8.1</li>
<li><a href="https://github.com/rubocop-hq/rubocop-performance/commit/4bfca8fa8f9c7e9071d15dca2360c11ec0abb380"><code>4bfca8f</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop-performance/issues/168">#168</a> from eugeneius/sum_block_pass</li>
<li><a href="https://github.com/rubocop-hq/rubocop-performance/commit/19223fc14d48bf9037d3dca0eefc7d26e6eb0fcb"><code>19223fc</code></a> Handle inject(&amp;:+) in Performance/Sum</li>
<li><a href="https://github.com/rubocop-hq/rubocop-performance/commit/6d7e45f009b125cef32f1abbc49d2d5a039cd1c1"><code>6d7e45f</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop-performance/issues/167">#167</a> from dvandersluis/detect-indexed</li>
<li><a href="https://github.com/rubocop-hq/rubocop-performance/commit/627f47dc6d99586a3fee9ab7358c74da6b842db0"><code>627f47d</code></a> Bump rubocop-ast requirement to &gt;= 0.4.0</li>
<li><a href="https://github.com/rubocop-hq/rubocop-performance/commit/382340966b7b065fe463680c73cb56ab4b0ab878"><code>3823409</code></a> [Fix <a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop-performance/issues/163">#163</a>] Detect array indexes for <code>Performance/Detect</code></li>
<li><a href="https://github.com/rubocop-hq/rubocop-performance/commit/a117b59cf2e9fe892f5c66d853b4acb7f2cb78ef"><code>a117b59</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop-performance/issues/166">#166</a> from koic/fix_false_positive_for_performance_sum</li>
<li><a href="https://github.com/rubocop-hq/rubocop-performance/commit/61578d9fb2a5d62d68b955d628d30cfc760821d7"><code>61578d9</code></a> [Fix <a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop-performance/issues/165">#165</a>] Fix a false positive for <code>Performance/Sum</code></li>
<li><a href="https://github.com/rubocop-hq/rubocop-performance/commit/5da259bcd46aa5372ffa3e5005e208202d8d64f9"><code>5da259b</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop-performance/issues/164">#164</a> from eugeneius/collection_literal_in_loop_no_receiver</li>
<li><a href="https://github.com/rubocop-hq/rubocop-performance/commit/1c23eba1d136608004b21fa11e7c65e3a5d87296"><code>1c23eba</code></a> Handle Enumerable methods called with no receiver</li>
<li>Additional commits viewable in <a href="https://github.com/rubocop-hq/rubocop-performance/compare/v1.8.0...v1.8.1">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=rubocop-performance&package-manager=bundler&previous-version=1.8.0&new-version=1.8.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/configuring-github-dependabot-security-updates)

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/2846

-- Commit Summary --

  * Bump rubocop-performance from 1.8.0 to 1.8.1

-- File Changes --

    M Gemfile.lock (7)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/2846.patch
https://github.com/openstreetmap/openstreetmap-website/pull/2846.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/2846
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20200920/989a7daf/attachment.htm>


More information about the rails-dev mailing list