Skip to content

Bump minitest from 5.27.0 to 6.0.2 in the bundler group#84

Merged
javierjulio merged 5 commits intomasterfrom
dependabot/bundler/bundler-c652d186c5
Feb 24, 2026
Merged

Bump minitest from 5.27.0 to 6.0.2 in the bundler group#84
javierjulio merged 5 commits intomasterfrom
dependabot/bundler/bundler-c652d186c5

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 24, 2026

Bumps the bundler group with 1 update: minitest.

Updates minitest from 5.27.0 to 6.0.2

Changelog

Sourced from minitest's changelog.

=== 6.0.2 / 2026-02-23

  • 7 bug fixes:

    • Added missing drb dependency from minitest-server. (y-yagi)
    • Cleaned up bisect's sub-commands to load files directly, not ruby+require.
    • Fixed bisect to use same cmd ($0) to run tests as original invocation.
    • load server_plugin if server is loaded. (y-yagi)
    • Manipulate local args instead of ARGV in Sprint.run.
    • Only show --bisect in usage if using minitest.
    • Remove -Itest:lib from bisect's rb_flags since bin/minitest adds them.

=== 6.0.1 / 2025-12-26

  • 1 minor enhancement:

    • Added new rake task test:fu to Minitest::TestTask, to only run tests with FU (focused units?) in their name. This should mostly obviate the need for the minitest-focus plugin.
  • 5 bug fixes:

    • Fixed --help and --version exiting 1. (grosser)
    • Fixed method signature of Minitest::Benchmark.run. (flavorjones)
    • Flush stdout/stderr before exit./bin/minitest -Ilib ./bug1046.rb:1 < /dev/null (grosser)
    • Improved usage banner output by reordering and reformatting.
    • Normalize paths while processing file.rb:line args.

=== 6.0.0 / 2025-12-17

This is a major release. Read this.

Please give feedback here: minitest/minitest#1040

Oh god... here we go... (again)

  • 8 deaths in the family(!!):

    • Deleted MiniTest and MiniTest::Unit::TestCase compatibility namespaces.
    • Deleted all use of Marshal for serialization.
    • Deleted maglev? and rubinius? guard methods. LOL.
    • Deleted all minitest/spec expectations from Object. Use _/value/expect.
    • Dropped minitest/mock.rb. This has been extracted to the minitest-mock gem.
    • assert_equal(nil, value) no longer allowed. Use assert_nil to be explicit.
    • Removed assert_send. Use assert_predicate or assert_operator.
    • Removed Minitest::Test#class_name.
  • 7 major (oft incompatible) changes:

    • Big: Major refactored MT6's run path!

... (truncated)

Commits
  • 339492c prepped for release
  • 73eb48e Fixed some doco coverage... still running into tons of pain with rdoc.
  • 58387c7 - Fixed bisect to use same cmd ($0) to run tests as original invocation.
  • 2a529a0 y-yagi is smart and I am dum
  • cf465a6 - Only show --bisect in usage if using minitest.
  • e5ad492 Push up server_plugin fix to minitest.rb guarded by env.
  • a7aeb10 Fixed up tests to be line independent.
  • 59ac1fa - MT6: load server_plugin if server is loaded. (y-yagi)
  • dba350e - Manipulate local args instead of ARGV in Sprint.run.
  • 8e008ed Added new rdoc rsync location.
  • 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 <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

@dependabot dependabot bot added dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code labels Feb 24, 2026
@javierjulio javierjulio force-pushed the dependabot/bundler/bundler-c652d186c5 branch from 155f641 to e284c50 Compare February 24, 2026 15:32
dependabot bot and others added 5 commits February 24, 2026 10:36
Bumps the bundler group with 1 update: [minitest](https://github.com/minitest/minitest).

Updates `minitest` from 5.27.0 to 6.0.2
- [Changelog](https://github.com/minitest/minitest/blob/master/History.rdoc)
- [Commits](minitest/minitest@v5.27.0...v6.0.2)

---
updated-dependencies:
- dependency-name: minitest
  dependency-version: 6.0.2
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: bundler
...

Signed-off-by: dependabot[bot] <support@github.com>
This helps avoid an error when running the test suite with minitest 6 so we can upgrade. Since we aren't using the gem currently I'd rather that it be removed for now.

```
/Users/j.julio/.rbenv/versions/3.4.8/lib/ruby/3.4.0/bundled_gems.rb:82:in 'Kernel.require': cannot load such file -- minitest/mock (LoadError)
	from /Users/j.julio/.rbenv/versions/3.4.8/lib/ruby/3.4.0/bundled_gems.rb:82:in 'block (2 levels) in Kernel#replace_require'
	from /Users/j.julio/.rbenv/versions/3.4.8/lib/ruby/gems/3.4.0/gems/minitest-mock_expectations-1.2.0/lib/minitest/mock_expectations/assertions.rb:3:in '<top (required)>'
	from /Users/j.julio/.rbenv/versions/3.4.8/lib/ruby/3.4.0/bundled_gems.rb:82:in 'Kernel.require'
	from /Users/j.julio/.rbenv/versions/3.4.8/lib/ruby/3.4.0/bundled_gems.rb:82:in 'block (2 levels) in Kernel#replace_require'
	from /Users/j.julio/.rbenv/versions/3.4.8/lib/ruby/gems/3.4.0/gems/minitest-mock_expectations-1.2.0/lib/minitest/mock_expectations.rb:2:in '<top (required)>'
	from /Users/j.julio/.rbenv/versions/3.4.8/lib/ruby/3.4.0/bundled_gems.rb:82:in 'Kernel.require'
	from /Users/j.julio/.rbenv/versions/3.4.8/lib/ruby/3.4.0/bundled_gems.rb:82:in 'block (2 levels) in Kernel#replace_require'
	from /Users/j.julio/Projects/paysafe/test/test_helper.rb:16:in '<top (required)>'
	from /Users/j.julio/.rbenv/versions/3.4.8/lib/ruby/3.4.0/bundled_gems.rb:82:in 'Kernel.require'
	from /Users/j.julio/.rbenv/versions/3.4.8/lib/ruby/3.4.0/bundled_gems.rb:82:in 'block (2 levels) in Kernel#replace_require'
	from /Users/j.julio/Projects/paysafe/test/birth_date_test.rb:1:in '<top (required)>'
	from /Users/j.julio/.rbenv/versions/3.4.8/lib/ruby/3.4.0/bundled_gems.rb:82:in 'Kernel.require'
	from /Users/j.julio/.rbenv/versions/3.4.8/lib/ruby/3.4.0/bundled_gems.rb:82:in 'block (2 levels) in Kernel#replace_require'
	from /Users/j.julio/.rbenv/versions/3.4.8/lib/ruby/gems/3.4.0/gems/rake-13.3.1/lib/rake/rake_test_loader.rb:21:in 'block in <main>'
	from /Users/j.julio/.rbenv/versions/3.4.8/lib/ruby/gems/3.4.0/gems/rake-13.3.1/lib/rake/rake_test_loader.rb:6:in 'Array#select'
	from /Users/j.julio/.rbenv/versions/3.4.8/lib/ruby/gems/3.4.0/gems/rake-13.3.1/lib/rake/rake_test_loader.rb:6:in '<main>'
rake aborted!
Command failed with status (1)
/Users/j.julio/.rbenv/versions/3.4.8/bin/bundle:25:in '<main>'
Tasks: TOP => test
(See full trace by running task with --trace)
```
When running the test suite on Ruby 4.0 it fails because http-cookie depends on cgi but doesn't declare it as a dependency.

```
/home/runner/work/paysafe/paysafe/vendor/bundle/ruby/4.0.0/gems/http-cookie-1.1.0/lib/http/cookie.rb:9: warning: CGI library is removed from Ruby 4.0. Please use cgi/escape instead for CGI.escape and CGI.unescape features.
If you need to use the full features of CGI library, Please install cgi gem.
```

Until then, we'll install it for dev/test so our test suite will run on Ruby 4.0.
We can remove this block when there is a new release of minitest-reporters gem that has support for minitest v6. In the meantime, we'll include this fix so we have the expected reporter output. The test suite still runs fine without this but the reporter output is not the same.
I don't understand how this gets set or if its updated ever. On jackpocket this is set to ruby so we'll do the same here. This will avoid an error when running tests on CI when it works locally.
@javierjulio javierjulio force-pushed the dependabot/bundler/bundler-c652d186c5 branch from e284c50 to 51a44db Compare February 24, 2026 15:36
@codecov
Copy link

codecov bot commented Feb 24, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (6d0cfb3) to head (51a44db).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##            master       #84   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           28        28           
  Lines          378       378           
=========================================
  Hits           378       378           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@javierjulio javierjulio self-requested a review February 24, 2026 15:37
@javierjulio javierjulio self-assigned this Feb 24, 2026
@javierjulio javierjulio merged commit 0a15f1f into master Feb 24, 2026
7 checks passed
@javierjulio javierjulio deleted the dependabot/bundler/bundler-c652d186c5 branch February 24, 2026 15:38
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.

1 participant