[openstreetmap/openstreetmap-website] Bump rubocop-minitest from 0.39.1 to 0.40.0 in the rubocop group (PR #7257)

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


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

Updates `rubocop-minitest` from 0.39.1 to 0.40.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/rubocop/rubocop-minitest/releases">rubocop-minitest's releases</a>.</em></p>
<blockquote>
<h2>RuboCop Minitest v0.40.0</h2>
<h3>New features</h3>
<ul>
<li><a href="https://redirect.github.com/rubocop/rubocop-minitest/pull/355">#355</a>: Add new <code>RuboCop::TestCase</code> as a stable API for testing custom cops with Minitest. The cop under test is derived from the test class name and can be configured with <code>cop_class</code>, <code>cop_config</code>, <code>other_cops</code>, and <code>target_ruby_version</code>. (<a href="https://github.com/koic"><code>@​koic</code></a>)</li>
</ul>
<h3>Changes</h3>
<ul>
<li><a href="https://redirect.github.com/rubocop/rubocop-minitest/pull/345">#345</a>: Fix false positives and negatives in <code>Minitest/NonExecutableTestMethod</code> for nested test classes and for test methods defined before the test class. (<a href="https://github.com/amckinnie"><code>@​amckinnie</code></a>)</li>
<li><a href="https://redirect.github.com/rubocop/rubocop-minitest/pull/278">#278</a>: <strong>(Breaking)</strong> Remove the cop argument from <code>inspect_source</code> and <code>investigate</code> in the Minitest test support; the cop under test is now resolved automatically. The test configuration now merges the default configuration for the cop under test and sets <code>AllCops: TargetRubyVersion</code> explicitly. (<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-minitest/blob/master/CHANGELOG.md">rubocop-minitest's changelog</a>.</em></p>
<blockquote>
<h2>0.40.0 (2026-07-20)</h2>
<h3>New features</h3>
<ul>
<li><a href="https://redirect.github.com/rubocop/rubocop-minitest/pull/355">#355</a>: Add new <code>RuboCop::TestCase</code> as a stable API for testing custom cops with Minitest. The cop under test is derived from the test class name and can be configured with <code>cop_class</code>, <code>cop_config</code>, <code>other_cops</code>, and <code>target_ruby_version</code>. ([<a href="https://github.com/koic"><code>@​koic</code></a>][])</li>
</ul>
<h3>Changes</h3>
<ul>
<li><a href="https://redirect.github.com/rubocop/rubocop-minitest/pull/345">#345</a>: Fix false positives and negatives in <code>Minitest/NonExecutableTestMethod</code> for nested test classes and for test methods defined before the test class. ([<a href="https://github.com/amckinnie"><code>@​amckinnie</code></a>][])</li>
<li><a href="https://redirect.github.com/rubocop/rubocop-minitest/pull/278">#278</a>: <strong>(Breaking)</strong> Remove the cop argument from <code>inspect_source</code> and <code>investigate</code> in the Minitest test support; the cop under test is now resolved automatically. The test configuration now merges the default configuration for the cop under test and sets <code>AllCops: TargetRubyVersion</code> explicitly. ([<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-minitest/commit/ee2ffba9e2274365539bf001c8db442e9b843865"><code>ee2ffba</code></a> Cut 0.40.0</li>
<li><a href="https://github.com/rubocop/rubocop-minitest/commit/a647bd0072e3ef2ee22de8db60437366370339b6"><code>a647bd0</code></a> Update Changelog</li>
<li><a href="https://github.com/rubocop/rubocop-minitest/commit/8d55114c254609b52b85388bf2b684abf0ad2205"><code>8d55114</code></a> Merge pull request <a href="https://redirect.github.com/rubocop/rubocop-minitest/issues/359">#359</a> from koic/fix_multiple_assertions_todo_test_state_leak</li>
<li><a href="https://github.com/rubocop/rubocop-minitest/commit/a7e210d4e72f3d2a826b0be4d865354e89abaa68"><code>a7e210d</code></a> Merge pull request <a href="https://redirect.github.com/rubocop/rubocop-minitest/issues/358">#358</a> from koic/fix_uninitialized_instance_variable_warnings</li>
<li><a href="https://github.com/rubocop/rubocop-minitest/commit/113548b6a200777de6286b9106833a89f6d3f7b5"><code>113548b</code></a> Fix <code>Minitest/MultipleAssertions</code> todo test on the oldest supported RuboCop</li>
<li><a href="https://github.com/rubocop/rubocop-minitest/commit/651e6b128e16b04070d02447657aa8b4efe026a0"><code>651e6b1</code></a> Suppress uninitialized instance variable warnings in the test support</li>
<li><a href="https://github.com/rubocop/rubocop-minitest/commit/eeff9aaca105ccb2f2ebf22a47208f7d730d1c5c"><code>eeff9aa</code></a> Merge pull request <a href="https://redirect.github.com/rubocop/rubocop-minitest/issues/355">#355</a> from koic/add_rubocop_test_case_stable_api</li>
<li><a href="https://github.com/rubocop/rubocop-minitest/commit/ef1fc282d801100997f48c58b822546e4bf0a1e3"><code>ef1fc28</code></a> Add <code>RuboCop::TestCase</code> as a stable API for testing custom cops</li>
<li><a href="https://github.com/rubocop/rubocop-minitest/commit/ef90eade2dbffc3899bd171b031cdd9aa453e2bf"><code>ef90ead</code></a> Merge pull request <a href="https://redirect.github.com/rubocop/rubocop-minitest/issues/354">#354</a> from koic/fix_jruby_ci_failure_caused_by_rbs_native_e...</li>
<li><a href="https://github.com/rubocop/rubocop-minitest/commit/802706512e74a3d0d55199f73151daadbf786104"><code>8027065</code></a> Fix JRuby CI failure caused by rbs native extension build</li>
<li>Additional commits viewable in <a href="https://github.com/rubocop/rubocop-minitest/compare/v0.39.1...v0.40.0">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=rubocop-minitest&package-manager=bundler&previous-version=0.39.1&new-version=0.40.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/7257

-- Commit Summary --

  * Bump rubocop-minitest from 0.39.1 to 0.40.0 in the rubocop group

-- File Changes --

    M Gemfile.lock (4)

-- Patch Links --

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

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

Message ID: <openstreetmap/openstreetmap-website/pull/7257 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260722/5012d01f/attachment-0001.htm>


More information about the rails-dev mailing list