Skip to content

Commit

Permalink
Merge pull request #55 from grosser/grosser/19
Browse files Browse the repository at this point in the history
support minitest 5.19
  • Loading branch information
grosser committed Jul 27, 2023
2 parents e66c30d + 3982ed1 commit 6b5889a
Show file tree
Hide file tree
Showing 12 changed files with 50 additions and 8 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Next
- support minitest 5.19

# v5.1.0
- support `before :all`
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ PATH
remote: .
specs:
maxitest (5.1.0)
minitest (>= 5.14.0, < 5.19.0)
minitest (>= 5.14.0, < 5.20.0)

GEM
remote: https://rubygems.org/
Expand Down
1 change: 1 addition & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ task :update do
end
end

desc "bundle all gemfiles/ EXTRA="
task :bundle do
extra = ENV["EXTRA"]
Bundler.with_original_env do
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/514.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ PATH
remote: ..
specs:
maxitest (5.1.0)
minitest (>= 5.14.0, < 5.19.0)
minitest (>= 5.14.0, < 5.20.0)

GEM
remote: https://rubygems.org/
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/515.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ PATH
remote: ..
specs:
maxitest (5.1.0)
minitest (>= 5.14.0, < 5.19.0)
minitest (>= 5.14.0, < 5.20.0)

GEM
remote: https://rubygems.org/
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/516.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ PATH
remote: ..
specs:
maxitest (5.1.0)
minitest (>= 5.14.0, < 5.19.0)
minitest (>= 5.14.0, < 5.20.0)

GEM
remote: https://rubygems.org/
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/517.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ PATH
remote: ..
specs:
maxitest (5.1.0)
minitest (>= 5.14.0, < 5.19.0)
minitest (>= 5.14.0, < 5.20.0)

GEM
remote: https://rubygems.org/
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/518.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ PATH
remote: ..
specs:
maxitest (5.1.0)
minitest (>= 5.14.0, < 5.19.0)
minitest (>= 5.14.0, < 5.20.0)

GEM
remote: https://rubygems.org/
Expand Down
3 changes: 3 additions & 0 deletions gemfiles/519.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
source "https://rubygems.org"
gemspec :path=>"../"
gem "minitest", "~> 5.19.0"
37 changes: 37 additions & 0 deletions gemfiles/519.gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
PATH
remote: ..
specs:
maxitest (5.1.0)
minitest (>= 5.14.0, < 5.20.0)

GEM
remote: https://rubygems.org/
specs:
diff-lcs (1.5.0)
minitest (5.19.0)
rake (13.0.6)
rspec (3.12.0)
rspec-core (~> 3.12.0)
rspec-expectations (~> 3.12.0)
rspec-mocks (~> 3.12.0)
rspec-core (3.12.2)
rspec-support (~> 3.12.0)
rspec-expectations (3.12.3)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.12.0)
rspec-mocks (3.12.6)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.12.0)
rspec-support (3.12.1)

PLATFORMS
arm64-darwin-22

DEPENDENCIES
maxitest!
minitest (~> 5.19.0)
rake
rspec

BUNDLED WITH
2.4.12
2 changes: 1 addition & 1 deletion maxitest.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Gem::Specification.new "maxitest", Maxitest::VERSION do |s|
s.license = "MIT"
s.executables = ["mtest"]

s.add_runtime_dependency "minitest", [">= 5.14.0", "< 5.19.0"]
s.add_runtime_dependency "minitest", [">= 5.14.0", "< 5.20.0"]
s.required_ruby_version = '>= 3', '< 4' # mirroring minitest

s.add_development_dependency "rake"
Expand Down
2 changes: 1 addition & 1 deletion spec/cases/xit.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

describe 2 do
it 'should include the xit module' do
assert_includes MiniTest::Spec::DSL.included_modules, Maxitest::XitMethod
assert_includes Minitest::Spec::DSL.included_modules, Maxitest::XitMethod
end

xit "is even" do
Expand Down

0 comments on commit 6b5889a

Please sign in to comment.