[openstreetmap/openstreetmap-website] Bump rubocop-rails from 2.35.5 to 2.36.0 in the rubocop group (PR #7232)

dependabot[bot] notifications at github.com
Wed Jul 15 23:13:08 UTC 2026


Bumps the rubocop group with 1 update: [rubocop-rails](https://github.com/rubocop/rubocop-rails).

Updates `rubocop-rails` from 2.35.5 to 2.36.0
<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.36.0</h2>
<h3>Bug fixes</h3>
<ul>
<li><a href="https://redirect.github.com/rubocop/rubocop-rails/pull/1647">#1647</a>: Fix a false negative for <code>Rails/EagerEvaluationLogMessage</code> when the interpolated string is passed to <code>Rails.logger.debug</code> as the sole body of an enclosing block such as <code>each</code> or <code>tap</code>. (<a href="https://github.com/conwayje"><code>@​conwayje</code></a>)</li>
<li><a href="https://redirect.github.com/rubocop/rubocop-rails/pull/1646">#1646</a>: Fix a false negative for <code>Rails/ReversibleMigration</code> when using <code>remove_index</code> without a column inside a <code>change_table</code> block. (<a href="https://github.com/ilianah"><code>@​ilianah</code></a>)</li>
<li><a href="https://redirect.github.com/rubocop/rubocop-rails/pull/1642">#1642</a>: Fix a false negative for <code>Rails/SafeNavigation</code> when using <code>try</code>/<code>try!</code> with a symbol to proc such as <code>foo.try(&:bar)</code>. (<a href="https://github.com/koic"><code>@​koic</code></a>)</li>
<li><a href="https://redirect.github.com/rubocop/rubocop-rails/issues/1599">#1599</a>: Fix an incorrect autocorrect for <code>Rails/LinkToBlank</code> when <code>Style/TrailingCommaInArguments</code> with <code>EnforcedStyleForMultiline: consistent_comma</code> adds a trailing comma, which produced a duplicate comma. (<a href="https://github.com/koic"><code>@​koic</code></a>)</li>
<li><a href="https://redirect.github.com/rubocop/rubocop-rails/pull/1619">#1619</a>: Fix <code>MigratedSchemaVersion</code> setting so it works for all cops. (<a href="https://github.com/lovro-bikic"><code>@​lovro-bikic</code></a>)</li>
</ul>
<h3>Changes</h3>
<ul>
<li><a href="https://redirect.github.com/rubocop/rubocop-rails/pull/1641">#1641</a>: Fix false negatives in <code>Rails/SafeNavigation</code> when using <code>try</code>/<code>try!</code> with operator methods such as <code>[]</code>, <code>[]=</code>, and <code>==</code>. (<a href="https://github.com/koic"><code>@​koic</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.36.0 (2026-07-11)</h2>
<h3>Bug fixes</h3>
<ul>
<li><a href="https://redirect.github.com/rubocop/rubocop-rails/pull/1647">#1647</a>: Fix a false negative for <code>Rails/EagerEvaluationLogMessage</code> when the interpolated string is passed to <code>Rails.logger.debug</code> as the sole body of an enclosing block such as <code>each</code> or <code>tap</code>. ([<a href="https://github.com/conwayje"><code>@​conwayje</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop-rails/pull/1646">#1646</a>: Fix a false negative for <code>Rails/ReversibleMigration</code> when using <code>remove_index</code> without a column inside a <code>change_table</code> block. ([<a href="https://github.com/ilianah"><code>@​ilianah</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop-rails/pull/1642">#1642</a>: Fix a false negative for <code>Rails/SafeNavigation</code> when using <code>try</code>/<code>try!</code> with a symbol to proc such as <code>foo.try(&:bar)</code>. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop-rails/issues/1599">#1599</a>: Fix an incorrect autocorrect for <code>Rails/LinkToBlank</code> when <code>Style/TrailingCommaInArguments</code> with <code>EnforcedStyleForMultiline: consistent_comma</code> adds a trailing comma, which produced a duplicate comma. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop-rails/pull/1619">#1619</a>: Fix <code>MigratedSchemaVersion</code> setting so it works for all cops. ([<a href="https://github.com/lovro-bikic"><code>@​lovro-bikic</code></a>][])</li>
</ul>
<h3>Changes</h3>
<ul>
<li><a href="https://redirect.github.com/rubocop/rubocop-rails/pull/1641">#1641</a>: Fix false negatives in <code>Rails/SafeNavigation</code> when using <code>try</code>/<code>try!</code> with operator methods such as <code>[]</code>, <code>[]=</code>, and <code>==</code>. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/rubocop/rubocop-rails/commit/b49bdd29c446ccb2bbd4a69fcd74b0746d993322"><code>b49bdd2</code></a> Cut 2.36.0</li>
<li><a href="https://github.com/rubocop/rubocop-rails/commit/c38ff7c3c04171dd347ecb50a9382d9fe1282eeb"><code>c38ff7c</code></a> Update Changelog</li>
<li><a href="https://github.com/rubocop/rubocop-rails/commit/4a723b4794333722d5d440003d45cb193a8c412f"><code>4a723b4</code></a> Merge pull request <a href="https://redirect.github.com/rubocop/rubocop-rails/issues/1619">#1619</a> from lovro-bikic/fix-migration-file-skippable</li>
<li><a href="https://github.com/rubocop/rubocop-rails/commit/7900fa6f01d30f3eaa7e230cc354d4576d7f975e"><code>7900fa6</code></a> Merge pull request <a href="https://redirect.github.com/rubocop/rubocop-rails/issues/1647">#1647</a> from conwayje/fix-eager-evaluation-log-message-in-block</li>
<li><a href="https://github.com/rubocop/rubocop-rails/commit/540936374fb03059738bf3a2375e58ea8929b1e6"><code>5409363</code></a> [Fix <a href="https://redirect.github.com/rubocop/rubocop-rails/issues/1647">#1647</a>] Fix a false negative for <code>Rails/EagerEvaluationLogMessage</code></li>
<li><a href="https://github.com/rubocop/rubocop-rails/commit/e55944e390d8b3e4d1904e40434adb01d2e43377"><code>e55944e</code></a> Merge pull request <a href="https://redirect.github.com/rubocop/rubocop-rails/issues/1646">#1646</a> from ilianah/fix-remove-index-reversible-migration-d...</li>
<li><a href="https://github.com/rubocop/rubocop-rails/commit/08663a3d63e7482eb739958cc1704d4f559f350e"><code>08663a3</code></a> Fix a false negative for <code>Rails/ReversibleMigration</code> with <code>remove_index</code> oper...</li>
<li><a href="https://github.com/rubocop/rubocop-rails/commit/1d3c824d4fe7362c4a4d7b7cfa9c698eb83cddc5"><code>1d3c824</code></a> Merge pull request <a href="https://redirect.github.com/rubocop/rubocop-rails/issues/1644">#1644</a> from koic/fix_an_incorrect_autocorrect_for_rails_lin...</li>
<li><a href="https://github.com/rubocop/rubocop-rails/commit/0a41e88153893d9abe0e16c0c53573d8cbe7f63c"><code>0a41e88</code></a> [Fix <a href="https://redirect.github.com/rubocop/rubocop-rails/issues/1599">#1599</a>] Fix an incorrect autocorrect for <code>Rails/LinkToBlank</code></li>
<li><a href="https://github.com/rubocop/rubocop-rails/commit/5b46a5d7f2e9ee4315a4f86c2ad751fe961dfacc"><code>5b46a5d</code></a> Merge pull request <a href="https://redirect.github.com/rubocop/rubocop-rails/issues/1645">#1645</a> from koic/fix_jruby_ci_failure_caused_by_rbs_native_...</li>
<li>Additional commits viewable in <a href="https://github.com/rubocop/rubocop-rails/compare/v2.35.5...v2.36.0">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=rubocop-rails&package-manager=bundler&previous-version=2.35.5&new-version=2.36.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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

-- Commit Summary --

  * Bump rubocop-rails from 2.35.5 to 2.36.0 in the rubocop group

-- File Changes --

    M Gemfile.lock (4)

-- Patch Links --

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

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

Message ID: <openstreetmap/openstreetmap-website/pull/7232 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260715/4d1fe7b0/attachment-0001.htm>


More information about the rails-dev mailing list