Skip to content

build(deps): bump rubocop-minitest from 0.39.1 to 0.40.0 - #1009

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/bundler/rubocop-minitest-0.40.0
Open

build(deps): bump rubocop-minitest from 0.39.1 to 0.40.0#1009
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/bundler/rubocop-minitest-0.40.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 27, 2026

Copy link
Copy Markdown
Contributor

Bumps rubocop-minitest from 0.39.1 to 0.40.0.

Release notes

Sourced from rubocop-minitest's releases.

RuboCop Minitest v0.40.0

New features

  • #355: Add new RuboCop::TestCase 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 cop_class, cop_config, other_cops, and target_ruby_version. (@​koic)

Changes

  • #345: Fix false positives and negatives in Minitest/NonExecutableTestMethod for nested test classes and for test methods defined before the test class. (@​amckinnie)
  • #278: (Breaking) Remove the cop argument from inspect_source and investigate 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 AllCops: TargetRubyVersion explicitly. (@​koic)
Changelog

Sourced from rubocop-minitest's changelog.

0.40.0 (2026-07-20)

New features

  • #355: Add new RuboCop::TestCase 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 cop_class, cop_config, other_cops, and target_ruby_version. ([@​koic][])

Changes

  • #345: Fix false positives and negatives in Minitest/NonExecutableTestMethod for nested test classes and for test methods defined before the test class. ([@​amckinnie][])
  • #278: (Breaking) Remove the cop argument from inspect_source and investigate 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 AllCops: TargetRubyVersion explicitly. ([@​koic][])
Commits
  • ee2ffba Cut 0.40.0
  • a647bd0 Update Changelog
  • 8d55114 Merge pull request #359 from koic/fix_multiple_assertions_todo_test_state_leak
  • a7e210d Merge pull request #358 from koic/fix_uninitialized_instance_variable_warnings
  • 113548b Fix Minitest/MultipleAssertions todo test on the oldest supported RuboCop
  • 651e6b1 Suppress uninitialized instance variable warnings in the test support
  • eeff9aa Merge pull request #355 from koic/add_rubocop_test_case_stable_api
  • ef1fc28 Add RuboCop::TestCase as a stable API for testing custom cops
  • ef90ead Merge pull request #354 from koic/fix_jruby_ci_failure_caused_by_rbs_native_e...
  • 8027065 Fix JRuby CI failure caused by rbs native extension build
  • Additional commits viewable in compare view

Dependabot compatibility score

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 commands and options

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 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)

Bumps [rubocop-minitest](https://github.com/rubocop/rubocop-minitest) from 0.39.1 to 0.40.0.
- [Release notes](https://github.com/rubocop/rubocop-minitest/releases)
- [Changelog](https://github.com/rubocop/rubocop-minitest/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop-minitest@v0.39.1...v0.40.0)

---
updated-dependencies:
- dependency-name: rubocop-minitest
  dependency-version: 0.40.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file ruby Pull requests that update ruby code labels Jul 27, 2026

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dependabot merge

@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

AI Reviewer: first review requested successfully. AI can make mistakes. Always validate suggestions.

Run reviewer

TIP This summary will be updated as you push new changes.

@codacy-production codacy-production Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

The dependency update is up to standards according to the automated analysis. However, the library update introduces a breaking change by removing the 'cop' argument from 'inspect_source' and 'investigate' methods in test support. Since the PR diff is limited to the lockfile, it is critical to confirm that any existing tests for custom cops remain compatible with the updated test helpers.

About this PR

  • The library update includes a breaking change: the 'cop' argument has been removed from 'inspect_source' and 'investigate' methods in test support. If the codebase uses these methods for testing custom cops, those tests will fail and require updates.

Test suggestions

  • Verify that all existing Minitest-based tests pass.
  • Ensure no regressions in 'Minitest/NonExecutableTestMethod' logic for nested classes.
Prompt proposal for missing tests
Consider implementing these tests if applicable:
1. Verify that all existing Minitest-based tests pass.
2. Ensure no regressions in 'Minitest/NonExecutableTestMethod' logic for nested classes.

TIP Improve review quality by adding custom instructions
TIP How was this review? Give us feedback

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file ruby Pull requests that update ruby code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants