[openstreetmap/openstreetmap-website] Bump rubocop-rails from 2.7.1 to 2.8.0 (#2815)
dependabot[bot]
notifications at github.com
Mon Sep 7 05:01:22 UTC 2020
Bumps [rubocop-rails](https://github.com/rubocop-hq/rubocop-rails) from 2.7.1 to 2.8.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/rubocop-hq/rubocop-rails/releases">rubocop-rails's releases</a>.</em></p>
<blockquote>
<h2>RuboCop Rails 2.8.0</h2>
<h3>New features</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop-rails/pull/291">#291</a>: Add new <code>Rails/SquishedSQLHeredocs</code> cop. (<a href="https://github.com/mobilutz">@mobilutz</a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop-rails/issues/52">#52</a>: Add new <code>Rails/AfterCommitOverride</code> cop. (<a href="https://github.com/fatkodima">@fatkodima</a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop-rails/pull/323">#323</a>: Add new <code>Rails/OrderById</code> cop. (<a href="https://github.com/fatkodima">@fatkodima</a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop-rails/pull/274">#274</a>: Add new <code>Rails/WhereNot</code> cop. (<a href="https://github.com/fatkodima">@fatkodima</a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop-rails/issues/311">#311</a>: Make <code>Rails/HelperInstanceVariable</code> aware of memoization. (<a href="https://github.com/koic">@koic</a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop-rails/issues/332">#332</a>: Fix <code>Rails/ReflectionClassName</code> cop false negative when relation had a scope parameter. (<a href="https://github.com/bubaflub">@bubaflub</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop-rails/pull/315">#315</a>: Allow to use frozen scope for <code>Rails/UniqueValidationWithoutIndex</code>. (<a href="https://github.com/krim">@krim</a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop-rails/pull/313">#313</a>: Fix <code>Rails/ActiveRecordCallbacksOrder</code> to preserve the original callback execution order. (<a href="https://github.com/eugeneius">@eugeneius</a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop-rails/issues/319">#319</a>: Fix a false positive for <code>Rails/Inquiry</code> when <code>#inquiry</code>'s receiver is a variable. (<a href="https://github.com/koic">@koic</a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop-rails/pull/327">#327</a>: Fix <code>Rails/ContentTag</code> autocorrect to handle html5 tag names with hyphens. (<a href="https://github.com/jaredmoody">@jaredmoody</a>)</li>
</ul>
<h3>Changes</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop-rails/pull/312">#312</a>: Mark <code>Rails/MailerName</code> as unsafe for auto-correct. (<a href="https://github.com/eugeneius">@eugeneius</a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop-rails/pull/294">#294</a>: Update <code>Rails/ReversibleMigration</code> to register offenses for <code>remove_columns</code> and <code>remove_index</code>. (<a href="https://github.com/philcoggins">@philcoggins</a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop-rails/issues/310">#310</a>: Add <code>EnforcedStyle</code> to <code>Rails/PluckInWhere</code>. By default, it does not register an offense if <code>pluck</code> method's receiver is a variable. (<a href="https://github.com/koic">@koic</a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop-rails/pull/320">#320</a>: Mark <code>Rails/UniqBeforePluck</code> as unsafe auto-correction. (<a href="https://github.com/kunitoo">@kunitoo</a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop-rails/pull/324">#324</a>: Make <code>Rails/IndexBy</code> and <code>Rails/IndexWith</code> aware of <code>to_h</code> with block. (<a href="https://github.com/eugeneius">@eugeneius</a>)</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop-rails/pull/341">#341</a>: Make <code>Rails/WhereExists</code> configurable to allow <code>where(...).exists?</code> to be the prefered style. (<a href="https://github.com/dvandersluis">@dvandersluis</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/rubocop-hq/rubocop-rails/blob/master/CHANGELOG.md">rubocop-rails's changelog</a>.</em></p>
<blockquote>
<h2>2.8.0 (2020-09-04)</h2>
<h3>New features</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop-rails/pull/291">#291</a>: Add new <code>Rails/SquishedSQLHeredocs</code> cop. ([<a href="https://github.com/mobilutz">@mobilutz</a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop-rails/issues/52">#52</a>: Add new <code>Rails/AfterCommitOverride</code> cop. ([<a href="https://github.com/fatkodima">@fatkodima</a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop-rails/pull/323">#323</a>: Add new <code>Rails/OrderById</code> cop. ([<a href="https://github.com/fatkodima">@fatkodima</a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop-rails/pull/274">#274</a>: Add new <code>Rails/WhereNot</code> cop. ([<a href="https://github.com/fatkodima">@fatkodima</a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop-rails/issues/311">#311</a>: Make <code>Rails/HelperInstanceVariable</code> aware of memoization. ([<a href="https://github.com/koic">@koic</a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop-rails/issues/332">#332</a>: Fix <code>Rails/ReflectionClassName</code> cop false negative when relation had a scope parameter. ([<a href="https://github.com/bubaflub">@bubaflub</a>][])</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop-rails/pull/315">#315</a>: Allow to use frozen scope for <code>Rails/UniqueValidationWithoutIndex</code>. ([<a href="https://github.com/krim">@krim</a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop-rails/pull/313">#313</a>: Fix <code>Rails/ActiveRecordCallbacksOrder</code> to preserve the original callback execution order. ([<a href="https://github.com/eugeneius">@eugeneius</a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop-rails/issues/319">#319</a>: Fix a false positive for <code>Rails/Inquiry</code> when <code>#inquiry</code>'s receiver is a variable. ([<a href="https://github.com/koic">@koic</a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop-rails/pull/327">#327</a>: Fix <code>Rails/ContentTag</code> autocorrect to handle html5 tag names with hyphens. ([<a href="https://github.com/jaredmoody">@jaredmoody</a>][])</li>
</ul>
<h3>Changes</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop-rails/pull/312">#312</a>: Mark <code>Rails/MailerName</code> as unsafe for auto-correct. ([<a href="https://github.com/eugeneius">@eugeneius</a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop-rails/pull/294">#294</a>: Update <code>Rails/ReversibleMigration</code> to register offenses for <code>remove_columns</code> and <code>remove_index</code>. ([<a href="https://github.com/philcoggins">@philcoggins</a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop-rails/issues/310">#310</a>: Add <code>EnforcedStyle</code> to <code>Rails/PluckInWhere</code>. By default, it does not register an offense if <code>pluck</code> method's receiver is a variable. ([<a href="https://github.com/koic">@koic</a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop-rails/pull/320">#320</a>: Mark <code>Rails/UniqBeforePluck</code> as unsafe auto-correction. ([<a href="https://github.com/kunitoo">@kunitoo</a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop-rails/pull/324">#324</a>: Make <code>Rails/IndexBy</code> and <code>Rails/IndexWith</code> aware of <code>to_h</code> with block. ([<a href="https://github.com/eugeneius">@eugeneius</a>][])</li>
<li><a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop-rails/pull/341">#341</a>: Make <code>Rails/WhereExists</code> configurable to allow <code>where(...).exists?</code> to be the prefered style. ([<a href="https://github.com/dvandersluis">@dvandersluis</a>][])</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/rubocop-hq/rubocop-rails/commit/ed6c0e5dbc76146f73194cb420b73826f04ca657"><code>ed6c0e5</code></a> Cut 2.8.0</li>
<li><a href="https://github.com/rubocop-hq/rubocop-rails/commit/7fed2876abce713c5ac3bea56919ef1371c83137"><code>7fed287</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop-rails/issues/342">#342</a> from dvandersluis/where-exists-enforced-style</li>
<li><a href="https://github.com/rubocop-hq/rubocop-rails/commit/9e00fdabd7588fdb595101d132411fd48d02c634"><code>9e00fda</code></a> [Fix <a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop-rails/issues/341">#341</a>] Add EnforcedStyle to Rails/WhereExists to allow where(...).exists?...</li>
<li><a href="https://github.com/rubocop-hq/rubocop-rails/commit/820df971fca426553e6d56c9e57ef4afc79f3900"><code>820df97</code></a> Use new <code>RuboCop::Cop::Registry</code> APIs instead of deprecated APIs</li>
<li><a href="https://github.com/rubocop-hq/rubocop-rails/commit/786cc67f246bdc6a0ba658cc0a2a3c6b3fa3df1d"><code>786cc67</code></a> Suppress RuboCop's offense</li>
<li><a href="https://github.com/rubocop-hq/rubocop-rails/commit/630ccf07eb56ff826d7a1c61a41e9592dc29bd96"><code>630ccf0</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop-rails/issues/334">#334</a> from bubaflub/fix_reflection_class_name_matching_scop...</li>
<li><a href="https://github.com/rubocop-hq/rubocop-rails/commit/20cc15141eddffbeb196727fa0681e9d807f9d4a"><code>20cc151</code></a> [Fix <a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop-rails/issues/332">#332</a>] Fix false negative for <code>Rails/ReflectionClassName</code></li>
<li><a href="https://github.com/rubocop-hq/rubocop-rails/commit/ef26793d753d1ba97673ecb6c24f4401e4704ec5"><code>ef26793</code></a> Tweak the changelog</li>
<li><a href="https://github.com/rubocop-hq/rubocop-rails/commit/9e2ff2c126b7298fd84fd40911b839e26958e718"><code>9e2ff2c</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/rubocop-hq/rubocop-rails/issues/291">#291</a> from mobilutz/ll-squished-heredocs</li>
<li><a href="https://github.com/rubocop-hq/rubocop-rails/commit/d2e978c7aaa9ff9f254141f55a1ede8897fc2158"><code>d2e978c</code></a> Add new <code>Rails/SquishedHeredocs</code> cop</li>
<li>Additional commits viewable in <a href="https://github.com/rubocop-hq/rubocop-rails/compare/v2.7.1...v2.8.0">compare view</a></li>
</ul>
</details>
<br />
[](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/2815
-- Commit Summary --
* Bump rubocop-rails from 2.7.1 to 2.8.0
-- File Changes --
M Gemfile.lock (2)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/2815.patch
https://github.com/openstreetmap/openstreetmap-website/pull/2815.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/2815
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20200906/05bcc893/attachment-0001.htm>
More information about the rails-dev
mailing list