Bumps the rubocop group with 2 updates: 
[rubocop](https://github.com/rubocop/rubocop) and 
[rubocop-rails](https://github.com/rubocop/rubocop-rails).

Updates `rubocop` from 1.86.2 to 1.87.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a 
href="https://github.com/rubocop/rubocop/releases";>rubocop's 
releases</a>.</em></p>
<blockquote>
<h2>RuboCop v1.87.0</h2>
<h3>New features</h3>
<ul>
<li><a 
href="https://redirect.github.com/rubocop/rubocop/pull/15167";>#15167</a>: Add 
<code>--enable-all-cops</code> and <code>--disable-all-cops</code> command line 
options that override <code>AllCops/EnabledByDefault</code> and 
<code>AllCops/DisabledByDefault</code> in configuration files. (<a 
href="https://github.com/koic";><code>@​koic</code></a>)</li>
<li><a 
href="https://redirect.github.com/rubocop/rubocop/issues/15185";>#15185</a>: 
Make <code>Layout/EmptyLineAfterGuardClause</code> accept the new <code># 
simplecov:disable</code> and <code># simplecov:enable</code> directive 
comments. (<a href="https://github.com/koic";><code>@​koic</code></a>)</li>
<li><a 
href="https://redirect.github.com/rubocop/rubocop/pull/15173";>#15173</a>: Add 
optional Rubydex integration via <code>AllCops/UseProjectIndex</code> to enable 
cross-file detection in <code>Lint/ConstantReassignment</code> (experimental). 
(<a href="https://github.com/koic";><code>@​koic</code></a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li><a 
href="https://redirect.github.com/rubocop/rubocop/issues/15168";>#15168</a>: Fix 
false positives in <code>Lint/ParenthesesAsGroupedExpression</code> when the 
first argument is a call-like expression with its own parentheses, such as 
<code>yield(...)</code>. (<a 
href="https://github.com/koic";><code>@​koic</code></a>)</li>
<li><a 
href="https://redirect.github.com/rubocop/rubocop/issues/15188";>#15188</a>: Fix 
false positives in <code>Style/YodaCondition</code> when one side is an array 
or hash literal containing non-literal elements. (<a 
href="https://github.com/koic";><code>@​koic</code></a>)</li>
<li><a 
href="https://redirect.github.com/rubocop/rubocop/pull/15182";>#15182</a>: Fix 
incorrect autocorrect for <code>Style/Alias</code> causing a syntax error when 
the return value of <code>alias_method</code> is used, such as an argument to 
<code>public</code>, <code>private</code>, <code>protected</code>, or 
<code>module_function</code>, or the right-hand side of an assignment. (<a 
href="https://github.com/koic";><code>@​koic</code></a>)</li>
<li><a 
href="https://redirect.github.com/rubocop/rubocop/pull/15174";>#15174</a>: Fix 
incorrect autocorrect for <code>Style/ClassAndModuleChildren</code> causing a 
syntax error when the namespace contains a method call (e.g., <code>class 
self.class::Foo; end</code>). (<a 
href="https://github.com/koic";><code>@​koic</code></a>)</li>
<li><a 
href="https://redirect.github.com/rubocop/rubocop/pull/15180";>#15180</a>: Fix 
incorrect autocorrect for <code>Style/FileWrite</code> causing a syntax error 
when the written heredoc is chained with another method call. (<a 
href="https://github.com/koic";><code>@​koic</code></a>)</li>
<li><a 
href="https://redirect.github.com/rubocop/rubocop/pull/15186";>#15186</a>: Fix 
incorrect autocorrect for <code>Style/HashConversion</code> causing a syntax 
error when <code>Hash[...]</code> is passed an anonymous splat 
(<code>*</code>). (<a 
href="https://github.com/koic";><code>@​koic</code></a>)</li>
<li><a 
href="https://redirect.github.com/rubocop/rubocop/pull/15192";>#15192</a>: Fix 
incorrect autocorrect for <code>Style/StructInheritance</code> causing a syntax 
error when the inherited <code>Struct.new</code> is called without parentheses. 
(<a href="https://github.com/koic";><code>@​koic</code></a>)</li>
<li><a 
href="https://redirect.github.com/rubocop/rubocop/pull/15170";>#15170</a>: Fix 
an infinite loop for <code>Layout/RedundantLineBreak</code> when a single-line 
block is chained with a safe navigation method call. (<a 
href="https://github.com/koic";><code>@​koic</code></a>)</li>
<li><a 
href="https://redirect.github.com/rubocop/rubocop/pull/15175";>#15175</a>: Fix 
<code>Layout/IndentationWidth</code> to indent block bodies relative to the 
method selector for trailing-dot multi-line method chains when 
<code>EnforcedStyleAlignWith</code> is <code>relative_to_receiver</code>. (<a 
href="https://github.com/ddbrendan";><code>@​ddbrendan</code></a>)</li>
<li><a 
href="https://redirect.github.com/rubocop/rubocop/issues/15135";>#15135</a>: Fix 
incorrect autocorrect for <code>Style/RedundantParentheses</code> that 
swallowed chained method calls into a trailing inline comment on the line above 
the closing parenthesis. (<a 
href="https://github.com/hammadxcm";><code>@​hammadxcm</code></a>)</li>
<li><a 
href="https://redirect.github.com/rubocop/rubocop/pull/15184";>#15184</a>: Fix 
various typos and grammar mistakes in documentation and cop descriptions. (<a 
href="https://github.com/bbatsov";><code>@​bbatsov</code></a>)</li>
</ul>
<h3>Changes</h3>
<ul>
<li><a 
href="https://redirect.github.com/rubocop/rubocop/pull/15171";>#15171</a>: Cache 
<code>FilePatterns#match?</code> results per path so cops sharing the same 
<code>Include</code>/<code>Exclude</code> configuration do not each repeat 
<code>File.fnmatch?</code> work on every file. (<a 
href="https://github.com/Darhazer";><code>@​Darhazer</code></a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a 
href="https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md";>rubocop's 
changelog</a>.</em></p>
<blockquote>
<h2>1.87.0 (2026-05-30)</h2>
<h3>New features</h3>
<ul>
<li><a 
href="https://redirect.github.com/rubocop/rubocop/pull/15167";>#15167</a>: Add 
<code>--enable-all-cops</code> and <code>--disable-all-cops</code> command line 
options that override <code>AllCops/EnabledByDefault</code> and 
<code>AllCops/DisabledByDefault</code> in configuration files. ([<a 
href="https://github.com/koic";><code>@​koic</code></a>][])</li>
<li><a 
href="https://redirect.github.com/rubocop/rubocop/issues/15185";>#15185</a>: 
Make <code>Layout/EmptyLineAfterGuardClause</code> accept the new <code># 
simplecov:disable</code> and <code># simplecov:enable</code> directive 
comments. ([<a href="https://github.com/koic";><code>@​koic</code></a>][])</li>
<li><a 
href="https://redirect.github.com/rubocop/rubocop/pull/15173";>#15173</a>: Add 
optional Rubydex integration via <code>AllCops/UseProjectIndex</code> to enable 
cross-file detection in <code>Lint/ConstantReassignment</code> (experimental). 
([<a href="https://github.com/koic";><code>@​koic</code></a>][])</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li><a 
href="https://redirect.github.com/rubocop/rubocop/issues/15168";>#15168</a>: Fix 
false positives in <code>Lint/ParenthesesAsGroupedExpression</code> when the 
first argument is a call-like expression with its own parentheses, such as 
<code>yield(...)</code>. ([<a 
href="https://github.com/koic";><code>@​koic</code></a>][])</li>
<li><a 
href="https://redirect.github.com/rubocop/rubocop/issues/15188";>#15188</a>: Fix 
false positives in <code>Style/YodaCondition</code> when one side is an array 
or hash literal containing non-literal elements. ([<a 
href="https://github.com/koic";><code>@​koic</code></a>][])</li>
<li><a 
href="https://redirect.github.com/rubocop/rubocop/pull/15182";>#15182</a>: Fix 
incorrect autocorrect for <code>Style/Alias</code> causing a syntax error when 
the return value of <code>alias_method</code> is used, such as an argument to 
<code>public</code>, <code>private</code>, <code>protected</code>, or 
<code>module_function</code>, or the right-hand side of an assignment. ([<a 
href="https://github.com/koic";><code>@​koic</code></a>][])</li>
<li><a 
href="https://redirect.github.com/rubocop/rubocop/pull/15174";>#15174</a>: Fix 
incorrect autocorrect for <code>Style/ClassAndModuleChildren</code> causing a 
syntax error when the namespace contains a method call (e.g., <code>class 
self.class::Foo; end</code>). ([<a 
href="https://github.com/koic";><code>@​koic</code></a>][])</li>
<li><a 
href="https://redirect.github.com/rubocop/rubocop/pull/15180";>#15180</a>: Fix 
incorrect autocorrect for <code>Style/FileWrite</code> causing a syntax error 
when the written heredoc is chained with another method call. ([<a 
href="https://github.com/koic";><code>@​koic</code></a>][])</li>
<li><a 
href="https://redirect.github.com/rubocop/rubocop/pull/15186";>#15186</a>: Fix 
incorrect autocorrect for <code>Style/HashConversion</code> causing a syntax 
error when <code>Hash[...]</code> is passed an anonymous splat 
(<code>*</code>). ([<a 
href="https://github.com/koic";><code>@​koic</code></a>][])</li>
<li><a 
href="https://redirect.github.com/rubocop/rubocop/pull/15192";>#15192</a>: Fix 
incorrect autocorrect for <code>Style/StructInheritance</code> causing a syntax 
error when the inherited <code>Struct.new</code> is called without parentheses. 
([<a href="https://github.com/koic";><code>@​koic</code></a>][])</li>
<li><a 
href="https://redirect.github.com/rubocop/rubocop/pull/15170";>#15170</a>: Fix 
an infinite loop for <code>Layout/RedundantLineBreak</code> when a single-line 
block is chained with a safe navigation method call. ([<a 
href="https://github.com/koic";><code>@​koic</code></a>][])</li>
<li><a 
href="https://redirect.github.com/rubocop/rubocop/pull/15175";>#15175</a>: Fix 
<code>Layout/IndentationWidth</code> to indent block bodies relative to the 
method selector for trailing-dot multi-line method chains when 
<code>EnforcedStyleAlignWith</code> is <code>relative_to_receiver</code>. ([<a 
href="https://github.com/ddbrendan";><code>@​ddbrendan</code></a>][])</li>
<li><a 
href="https://redirect.github.com/rubocop/rubocop/issues/15135";>#15135</a>: Fix 
incorrect autocorrect for <code>Style/RedundantParentheses</code> that 
swallowed chained method calls into a trailing inline comment on the line above 
the closing parenthesis. ([<a 
href="https://github.com/hammadxcm";><code>@​hammadxcm</code></a>][])</li>
<li><a 
href="https://redirect.github.com/rubocop/rubocop/pull/15184";>#15184</a>: Fix 
various typos and grammar mistakes in documentation and cop descriptions. ([<a 
href="https://github.com/bbatsov";><code>@​bbatsov</code></a>][])</li>
</ul>
<h3>Changes</h3>
<ul>
<li><a 
href="https://redirect.github.com/rubocop/rubocop/pull/15171";>#15171</a>: Cache 
<code>FilePatterns#match?</code> results per path so cops sharing the same 
<code>Include</code>/<code>Exclude</code> configuration do not each repeat 
<code>File.fnmatch?</code> work on every file. ([<a 
href="https://github.com/Darhazer";><code>@​Darhazer</code></a>][])</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a 
href="https://github.com/rubocop/rubocop/commit/e5b788dba181ad94de30cfbad661c5d6aa08a4e5";><code>e5b788d</code></a>
 Cut 1.87</li>
<li><a 
href="https://github.com/rubocop/rubocop/commit/65aece887ba956fe585873d9bfcf4034effce9cd";><code>65aece8</code></a>
 Update Changelog</li>
<li><a 
href="https://github.com/rubocop/rubocop/commit/810c790a68123a8c4aae6607bfa792e9d9275585";><code>810c790</code></a>
 Fix incorrect autocorrect for <code>Style/StructInheritance</code> cop</li>
<li><a 
href="https://github.com/rubocop/rubocop/commit/1ec05543769f7cd7b89bf9bf2d6c0e2f071af6a1";><code>1ec0554</code></a>
 [Fix <a 
href="https://redirect.github.com/rubocop/rubocop/issues/15185";>#15185</a>] 
Make <code>Layout/EmptyLineAfterGuardClause</code> accept new SimpleCov 
dir...</li>
<li><a 
href="https://github.com/rubocop/rubocop/commit/11cd569b1512310aa1ae253ff3e4793bdeb08091";><code>11cd569</code></a>
 Merge pull request <a 
href="https://redirect.github.com/rubocop/rubocop/issues/15190";>#15190</a> from 
koic/fix_false_positives_in_style_yoda_condition</li>
<li><a 
href="https://github.com/rubocop/rubocop/commit/ceff1364bf05d61ea2aff88c0082b30ef8c3c70a";><code>ceff136</code></a>
 [Fix <a 
href="https://redirect.github.com/rubocop/rubocop/issues/15188";>#15188</a>] Fix 
false positives for <code>Style/YodaCondition</code></li>
<li><a 
href="https://github.com/rubocop/rubocop/commit/4a12596a39e512dcf7aa4aea728c1c688a704fc7";><code>4a12596</code></a>
 Fix incorrect autocorrect for <code>Style/HashConversion</code> cop</li>
<li><a 
href="https://github.com/rubocop/rubocop/commit/4801e9d2bafc6208770b0a5b930562c517f77275";><code>4801e9d</code></a>
 Merge pull request <a 
href="https://redirect.github.com/rubocop/rubocop/issues/15184";>#15184</a> from 
rubocop/fix-typos-and-grammar-in-docs</li>
<li><a 
href="https://github.com/rubocop/rubocop/commit/bfe7dc5e3893ce4ce9276e088122106ea8690b7f";><code>bfe7dc5</code></a>
 Fix various typos and grammar mistakes in documentation</li>
<li><a 
href="https://github.com/rubocop/rubocop/commit/6988aa464bd5d797d715a187ef9814bed26a5659";><code>6988aa4</code></a>
 Merge pull request <a 
href="https://redirect.github.com/rubocop/rubocop/issues/15182";>#15182</a> from 
koic/fix_incorrect_autocorrect_for_style_alias...</li>
<li>Additional commits viewable in <a 
href="https://github.com/rubocop/rubocop/compare/v1.86.2...v1.87.0";>compare 
view</a></li>
</ul>
</details>
<br />

Updates `rubocop-rails` from 2.35.2 to 2.35.3
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a 
href="https://github.com/rubocop/rubocop-rails/releases";>rubocop-rails's 
releases</a>.</em></p>
<blockquote>
<h2>RuboCop Rails v2.35.3</h2>
<h3>Bug fixes</h3>
<ul>
<li><a 
href="https://redirect.github.com/rubocop/rubocop-rails/issues/1630";>#1630</a>: 
Fix a false positive in <code>Rails/StrongParametersExpect</code> when negating 
<code>params[:key]</code> with <code>!</code>, such as 
<code>!params[:key]</code>. (<a 
href="https://github.com/koic";><code>@​koic</code></a>)</li>
<li><a 
href="https://redirect.github.com/rubocop/rubocop-rails/pull/1629";>#1629</a>: 
Fix false positives in <code>Rails/StrongParametersExpect</code> when using the 
safe navigation operator (<code>&amp;.</code>) on <code>params[:key]</code>. 
Autocorrecting <code>params[:key]&amp;.downcase</code> to 
<code>params.expect(:key).downcase</code> silently changes behavior — a missing 
param goes from returning <code>nil</code> to raising 
<code>ActionController::ParameterMissing</code>. (<a 
href="https://github.com/lucasmazza";><code>@​lucasmazza</code></a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a 
href="https://github.com/rubocop/rubocop-rails/blob/master/CHANGELOG.md";>rubocop-rails's
 changelog</a>.</em></p>
<blockquote>
<h2>2.35.3 (2026-05-27)</h2>
<h3>Bug fixes</h3>
<ul>
<li><a 
href="https://redirect.github.com/rubocop/rubocop-rails/issues/1630";>#1630</a>: 
Fix a false positive in <code>Rails/StrongParametersExpect</code> when negating 
<code>params[:key]</code> with <code>!</code>, such as 
<code>!params[:key]</code>. ([<a 
href="https://github.com/koic";><code>@​koic</code></a>][])</li>
<li><a 
href="https://redirect.github.com/rubocop/rubocop-rails/pull/1629";>#1629</a>: 
Fix false positives in <code>Rails/StrongParametersExpect</code> when using the 
safe navigation operator (<code>&amp;.</code>) on <code>params[:key]</code>. 
Autocorrecting <code>params[:key]&amp;.downcase</code> to 
<code>params.expect(:key).downcase</code> silently changes behavior — a missing 
param goes from returning <code>nil</code> to raising 
<code>ActionController::ParameterMissing</code>. ([<a 
href="https://github.com/lucasmazza";><code>@​lucasmazza</code></a>][])</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a 
href="https://github.com/rubocop/rubocop-rails/commit/944f6f5bd5d315c3f643d3a348166257c8859d8d";><code>944f6f5</code></a>
 Cut 2.35.3</li>
<li><a 
href="https://github.com/rubocop/rubocop-rails/commit/7f93b765d6f99ede575a4b4f59e165f94488eb2d";><code>7f93b76</code></a>
 Update Changelog</li>
<li><a 
href="https://github.com/rubocop/rubocop-rails/commit/3e9d4a56effb4b7518c6af5550ce3964b62a983a";><code>3e9d4a5</code></a>
 Merge pull request <a 
href="https://redirect.github.com/rubocop/rubocop-rails/issues/1631";>#1631</a> 
from koic/fix_false_positive_for_rails_strong_parame...</li>
<li><a 
href="https://github.com/rubocop/rubocop-rails/commit/3529b8dbf03d7ff622b8ff262270160383d3b07b";><code>3529b8d</code></a>
 [Fix <a 
href="https://redirect.github.com/rubocop/rubocop-rails/issues/1630";>#1630</a>] 
Fix a false positive in <code>Rails/StrongParametersExpect</code></li>
<li><a 
href="https://github.com/rubocop/rubocop-rails/commit/dbb2e27d40b0cc9b5fdb5e4383eff21944f527e1";><code>dbb2e27</code></a>
 Merge pull request <a 
href="https://redirect.github.com/rubocop/rubocop-rails/issues/1629";>#1629</a> 
from lucasmazza/fix/strong-parameters-expect-safe-na...</li>
<li><a 
href="https://github.com/rubocop/rubocop-rails/commit/0ea9fbca315791155a18c5cf7ccf37546697010d";><code>0ea9fbc</code></a>
 Fix Rails/StrongParametersExpect to allow safe navigation operator on 
optiona...</li>
<li><a 
href="https://github.com/rubocop/rubocop-rails/commit/5d4154d85b4510c3534942629cf5ad59f9ea974f";><code>5d4154d</code></a>
 Reset the docs version</li>
<li>See full diff in <a 
href="https://github.com/rubocop/rubocop-rails/compare/v2.35.2...v2.35.3";>compare
 view</a></li>
</ul>
</details>
<br />


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 show <dependency name> ignore conditions` will show all of the 
ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close this group 
update PR and stop Dependabot creating any more for the specific dependency's 
major version (unless you unignore this specific dependency's major version or 
upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this group 
update PR and stop Dependabot creating any more for the specific dependency's 
minor version (unless you unignore this specific dependency's minor version or 
upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR and 
stop Dependabot creating any more for the specific dependency (unless you 
unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore 
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will remove the 
ignore condition of the specified dependency and ignore conditions


</details>
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/7129

-- Commit Summary --

  * Bump the rubocop group with 2 updates

-- File Changes --

    M Gemfile.lock (6)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/7129.patch
https://github.com/openstreetmap/openstreetmap-website/pull/7129.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/7129
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/[email protected]>
_______________________________________________
rails-dev mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to