Skip to content

Bump rubocop-minitest from 0.39.1 to 0.41.0 - #110

Merged
ceritium merged 1 commit into
masterfrom
dependabot/bundler/rubocop-minitest-0.41.0
Nov 10, 2026
Merged

ceritium merged 1 commit into
masterfrom
dependabot/bundler/rubocop-minitest-0.41.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

Bumps rubocop-minitest from 0.39.1 to 0.41.0.

Release notes

Sourced from rubocop-minitest's releases.

RuboCop Minitest v0.41.0

Bug fixes

  • #361: Fix RuboCop::TestCase raising NameError: wrong constant name when used with Minitest's spec DSL and nested describe blocks. (@​bquorning)
  • #367: Fix an error for Minitest/GlobalExpectations when the receiver of a matcher call is itself a matcher call. (@​pcbeingused333, @​koic)
  • #364: Fix Minitest/MultipleAssertions, Minitest/NoAssertions, Minitest/NoTestCases, and Minitest/DuplicateTestRun treating a test or it block inside a method definition as a test case. (@​moberegger)

Changes

  • #363: Improve Minitest/MultipleAssertions performance by removing per-node allocations and a linear matcher-method lookup from the assertion counter. (@​moberegger)
  • #360: Speed up loading rubocop-minitest by lazily loading only the cops and mixins needed for a run. This requires RuboCop 1.89.0+. (@​koic)

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.41.0 (2026-10-02)

Bug fixes

  • #361: Fix RuboCop::TestCase raising NameError: wrong constant name when used with Minitest's spec DSL and nested describe blocks. ([@​bquorning][])
  • #367: Fix an error for Minitest/GlobalExpectations when the receiver of a matcher call is itself a matcher call. ([@​pcbeingused333][], [@​koic][])
  • #364: Fix Minitest/MultipleAssertions, Minitest/NoAssertions, Minitest/NoTestCases, and Minitest/DuplicateTestRun treating a test or it block inside a method definition as a test case. ([@​moberegger][])

Changes

  • #363: Improve Minitest/MultipleAssertions performance by removing per-node allocations and a linear matcher-method lookup from the assertion counter. ([@​moberegger][])
  • #360: Speed up loading rubocop-minitest by lazily loading only the cops and mixins needed for a run. This requires RuboCop 1.89.0+. ([@​koic][])

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
  • 64ba67f Cut 0.41.0
  • 3004d92 Update Changelog
  • d50118b Merge pull request #362 from rubocop/fix-test-case-minitest-spec-nested-describe
  • c6dea3e [Fix #361] Fix NameError in derive_cop_class_from_name
  • cc3b288 Merge pull request #367 from koic/fix_global_expectations_nested_matcher_rece...
  • d66d27a Fix an error for Minitest/GlobalExpectations on a nested matcher receiver
  • b22556c Merge pull request #364 from moberegger/moberegger/optimize-test_cases-helper
  • 0566295 Optimize MinitestExplorationHelpers#test_cases helper
  • 92d3aff Merge pull request #363 from moberegger/moberegger/optimize-MultipleAssertion...
  • c826d9b Optimize MultipleAssertions cop
  • Additional commits viewable in compare view

Bumps [rubocop-minitest](https://github.com/rubocop/rubocop-minitest) from 0.39.1 to 0.41.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.41.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/bundler/rubocop-minitest-0.41.0 branch from 6dbb51b to 30ef95c Compare November 10, 2026 11:37
@ceritium
ceritium merged commit 0df5a12 into master Nov 10, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant