Skip to content

Commit 8757116

Browse files
committed
Limit minitest to v5 or v6
Removes support for minintest v3 and v4 and requires ruby >= 3.2
1 parent 0e4dc1a commit 8757116

File tree

5 files changed

+7
-13
lines changed

5 files changed

+7
-13
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,8 @@ jobs:
1212
matrix:
1313
ruby: ["3.2", "3.3", "3.4", "4.0"]
1414
gemfile:
15-
- minitest-3
16-
- minitest-4
1715
- minitest-5
16+
- minitest-6
1817

1918
env:
2019
BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
Guard::Minitest allows to automatically & intelligently launch tests with the
88
[minitest framework](https://github.com/seattlerb/minitest) when files are modified.
99

10-
* Compatible with minitest >= 3.0 (optimal support for 5.x).
11-
* Tested against Ruby 1.9.3, 2.0.0, JRuby and Rubinius (1.9 mode).
10+
* Compatible with minitest >= 5.0
11+
* Tested against Ruby >= 3.2.0
1212

1313
*IMPORTANT NOTE: `guard-minitest` does not depend on `guard` due to obscure issues - you must either install `guard` first or add it explicitly in your `Gemfile` (see: [#131](https://github.com/guard/guard-minitest/pull/131) for details)*
1414

gemfiles/minitest-4.gemfile

Lines changed: 0 additions & 5 deletions
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
source 'https://rubygems.org'
22

3-
gem 'minitest', '~> 4.0'
3+
gem 'minitest', '~> 6.0'
44

55
gemspec path: '../'

guard-minitest.gemspec

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@ Gem::Specification.new do |s|
2020
'source_code_uri' => s.homepage,
2121
}
2222

23-
s.required_ruby_version = '>= 1.9.2'
23+
s.required_ruby_version = '>= 3.2'
2424

2525
s.add_runtime_dependency 'guard-compat', '~> 1.2'
26-
s.add_runtime_dependency 'minitest', '>= 3.0', '< 6.0'
26+
s.add_runtime_dependency 'minitest', '>= 5.0', '< 7.0'
2727

2828
s.add_development_dependency 'coveralls'
2929
s.add_development_dependency 'guard-rubocop'
3030
s.add_development_dependency 'rake'
31-
s.add_development_dependency 'rspec', '>= 3.1.0'
31+
s.add_development_dependency 'rspec', '>= 3.1'
3232

3333
s.files = `git ls-files -z lib`.split("\x0") + %w[CHANGELOG.md LICENSE README.md]
3434
s.require_path = 'lib'

0 commit comments

Comments
 (0)