<p>Bumps <a href="https://github.com/rubocop-hq/rubocop-rails">rubocop-rails</a> from 2.7.1 to 2.8.0.</p>
<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" rel="nofollow">#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" rel="nofollow">#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" rel="nofollow">#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" rel="nofollow">#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" rel="nofollow">#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" rel="nofollow">#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" rel="nofollow">#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" rel="nofollow">#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" rel="nofollow">#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" rel="nofollow">#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" rel="nofollow">#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" rel="nofollow">#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" rel="nofollow">#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" rel="nofollow">#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" rel="nofollow">#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" rel="nofollow">#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" rel="nofollow">#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" rel="nofollow">#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" rel="nofollow">#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" rel="nofollow">#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" rel="nofollow">#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" rel="nofollow">#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" rel="nofollow">#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" rel="nofollow">#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" rel="nofollow">#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" rel="nofollow">#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" rel="nofollow">#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" rel="nofollow">#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" rel="nofollow">#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" rel="nofollow">#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" rel="nofollow">#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" rel="nofollow">#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" rel="nofollow">#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" rel="nofollow">#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" rel="nofollow">#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" rel="nofollow">#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" rel="nofollow">#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>
<p><a href="https://docs.github.com/en/github/managing-security-vulnerabilities/configuring-github-dependabot-security-updates"><img src="https://camo.githubusercontent.com/9c6d76cebc6ddb1fbd36ff1464ce59bb8544f283/68747470733a2f2f646570656e6461626f742d6261646765732e6769746875626170702e636f6d2f6261646765732f636f6d7061746962696c6974795f73636f72653f646570656e64656e63792d6e616d653d7275626f636f702d7261696c73267061636b6167652d6d616e616765723d62756e646c65722670726576696f75732d76657273696f6e3d322e372e31266e65772d76657273696f6e3d322e382e30" alt="Dependabot compatibility score" data-canonical-src="https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=rubocop-rails&package-manager=bundler&previous-version=2.7.1&new-version=2.8.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/2815'>https://github.com/openstreetmap/openstreetmap-website/pull/2815</a></p>
<h4>Commit Summary</h4>
<ul>
<li>Bump rubocop-rails from 2.7.1 to 2.8.0</li>
</ul>
<h4>File Changes</h4>
<ul>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/2815/files#diff-e79a60dc6b85309ae70a6ea8261eaf95">Gemfile.lock</a>
(2)
</li>
</ul>
<h4>Patch Links:</h4>
<ul>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/2815.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/2815.patch</a></li>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/2815.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/2815.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/2815">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLJ2GRWMQUWEOHUPCBDSERSKFANCNFSM4Q5OORDQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAK2OLLTD74KBTIKT7RCNMDSERSKFA5CNFSM4Q5OORD2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4KLIMLRQ.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/2815",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/2815",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>