deps: update minitest requirement from ~> 5.10, != 5.10.2 to != 5.10.2, ~> 6.0 in the development-dependencies group#28
Conversation
…2, ~> 6.0 Updates the requirements on [minitest](https://github.com/minitest/minitest) to permit the latest version. Updates `minitest` to 6.0.1 - [Changelog](https://github.com/minitest/minitest/blob/master/History.rdoc) - [Commits](minitest/minitest@v5.10.0...v6.0.1) --- updated-dependencies: - dependency-name: minitest dependency-version: 6.0.1 dependency-type: direct:development dependency-group: development-dependencies ... Signed-off-by: dependabot[bot] <support@github.com>
LabelsThe following labels could not be found: Please fix the above issues or remove invalid values from |
- Change minitest constraint from '~> 6.0' to '>= 5.10', '< 7' This allows bundler to select minitest 5.x for Rails < 6.1 (which require minitest ~> 5.1) and minitest 6.x for Rails >= 6.1 - Add minitest-mock gem dependency Required for minitest 6.0 which extracted minitest/mock to separate gem - Remove Minitest 4 backward compatibility code The MiniTest:: namespace compatibility is no longer needed and was removed in minitest 6.0 This approach maintains compatibility with all supported Rails versions (5.1, 5.2, 6.0, 6.1, 7.0, 7.1, 7.2, 8.0, 8.1) while allowing the project to use the latest minitest 6.0 features when possible. Tested with Rails 6.1.7.10 and 7.0.10 - all tests pass.
Changes AppliedI've updated this PR to make it compatible with all supported Rails versions. The original PR attempted to upgrade to What was the problem?Rails versions 5.1, 5.2, and 6.0 have How was it fixed?
Testing✅ Tested locally with Rails 6.1.7.10 + minitest 6.0.1: All 704 tests pass This approach maintains compatibility with all supported Rails versions while allowing the project to use the latest minitest 6.0 features when possible. |
Updates the requirements on minitest to permit the latest version.
Updates
minitestto 6.0.1Changelog
Sourced from minitest's changelog.
... (truncated)
Commits
edd37ceprepped for release248c9e2- Fixed method signature of Minitest::Benchmark.run. (flavorjones)18bbdb1- Flush stdout/stderr before exit./bin/minitest -Ilib ./bug1046.rb:1 < /dev/n...50a1b1f- Normalize paths while processing file.rb:line args.372b997- Fixed --help and --version exiting 1. (grosser)c05a898- Improved usage banner output by reordering and reformatting.692c2e7+ Added new rake tasktest:futo Minitest::TestTask, to only run tests with...5bbab5cFix format of History.rdoc. (y-yagi)2f3d88eprepped for release756f965Add Hoe's :cov plugin and start to look at gapsDependabot 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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore <dependency name> major versionwill 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 versionwill 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