Sha256: 84fcc882db3ec14125247d6f6df3189a440629659791bbe0d5c3352aefa2a0e8

Contents?: true

Size: 684 Bytes

Versions: 3

Compression:

Stored size: 684 Bytes

Contents

#!/usr/bin/env ruby
# frozen_string_literal: true

begin
  minitest_bisect = Gem.bin_path("minitest-bisect", "minitest_bisect")
rescue Gem::GemNotFoundException
  abort "Install minitest-bisect gem to run a rubygems test suite bisection"
end

#
# Need to monkeypatch the `path_expander` gem to make sure it uses the same
# sorted set of files as `rake`. Otherwise `rake test` failures are
# irreproducible. Can be removed once
# https://github.com/seattlerb/path_expander/pull/4 is released.
#

module RefinedPathExpander
  def expand_dirs_to_files(*dirs)
    super.sort
  end
end

require 'path_expander'

class PathExpander

  prepend RefinedPathExpander

end

load minitest_bisect

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rubygems-update-3.1.0.pre3 util/bisect
rubygems-update-3.1.0.pre2 util/bisect
rubygems-update-3.1.0.pre1 util/bisect