Sha256: 66a98ba72d7c7d57c5ea948c9d7ce442567e6c68b22fd34bdd18e4814d1099ef
Contents?: true
Size: 544 Bytes
Versions: 5
Compression:
Stored size: 544 Bytes
Contents
# :stopdoc: class Hoe # empty end module Hoe::Minitest def minitest? self.name == "minitest" end def initialize_minitest unless minitest? then dir = "../../minitest/dev/lib" Hoe.add_include_dirs dir if File.directory? dir end gem "minitest" require "minitest" version = Minitest::VERSION.split(".").first(2).join "." dependency "minitest", "~> #{version}", :development unless minitest? or ENV["MT_NO_ISOLATE"] end def define_minitest_tasks self.testlib = :minitest end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
minitest-5.25.4 | lib/hoe/minitest.rb |
minitest-5.25.3 | lib/hoe/minitest.rb |
minitest-5.25.2 | lib/hoe/minitest.rb |
minitest-5.25.1 | lib/hoe/minitest.rb |
minitest-5.25.0 | lib/hoe/minitest.rb |