Sha256: 1812c94fa4c53a00340f2a83d35e053644c266003b73c8152816b780056b6483

Contents?: true

Size: 675 Bytes

Versions: 173

Compression:

Stored size: 675 Bytes

Contents

# :stopdoc:

class Hoe
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

    # make sure we use the gemmed minitest on 1.9
    self.test_prelude = 'gem "minitest"' unless
      minitest? or ENV["MT_NO_ISOLATE"]
  end
end

Version data entries

173 entries across 122 versions & 35 rubygems

Version Path
plaid-14.13.0 vendor/bundle/ruby/3.0.0/gems/minitest-5.14.2/lib/hoe/minitest.rb
plaid-14.12.1 vendor/bundle/ruby/3.0.0/gems/minitest-5.14.2/lib/hoe/minitest.rb
mountapi-0.11.1 vendor/bundle/ruby/2.7.0/gems/minitest-5.11.3/lib/hoe/minitest.rb
plaid-14.12.0 vendor/bundle/ruby/2.6.0/gems/minitest-5.14.2/lib/hoe/minitest.rb
plaid-14.11.1 vendor/bundle/ruby/2.6.0/gems/minitest-5.14.2/lib/hoe/minitest.rb
plaid-14.10.0 vendor/bundle/ruby/2.6.0/gems/minitest-5.14.2/lib/hoe/minitest.rb
date_n_time_picker_activeadmin-0.1.2 vendor/bundle/ruby/2.6.0/gems/minitest-5.14.4/lib/hoe/minitest.rb
date_n_time_picker_activeadmin-0.1.1 vendor/bundle/ruby/2.6.0/gems/minitest-5.14.4/lib/hoe/minitest.rb
plaid-14.7.0 vendor/bundle/ruby/2.6.0/gems/minitest-5.14.2/lib/hoe/minitest.rb
rails_mini_profiler-0.2.0 vendor/bundle/ruby/3.0.0/gems/minitest-5.14.4/lib/hoe/minitest.rb
mumukit-content-type-1.11.1 vendor/bundle/ruby/2.6.0/gems/minitest-5.14.4/lib/hoe/minitest.rb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/minitest-5.14.4/lib/hoe/minitest.rb
minitest-5.14.4 lib/hoe/minitest.rb
minitest-5.14.3 lib/hoe/minitest.rb
colorcode_convert_rgb-0.1.2 vendor/bundle/ruby/2.5.0/gems/minitest-5.14.2/lib/hoe/minitest.rb
colorcode_convert_rgb-0.1.1 vendor/bundle/ruby/2.5.0/gems/minitest-5.14.2/lib/hoe/minitest.rb
colorcode_convert_rgb-0.1.0 vendor/bundle/ruby/2.5.0/gems/minitest-5.14.2/lib/hoe/minitest.rb
paynow_sdk-1.1.0 vendor/cache/ruby/2.7.0/gems/paynow_sdk-1.0.0/vendor/cache/ruby/2.7.0/gems/minitest-5.14.1/lib/hoe/minitest.rb
paynow_sdk-1.1.0 vendor/bundle/ruby/2.7.0/gems/minitest-5.14.1/lib/hoe/minitest.rb
paynow_sdk-1.1.0 vendor/cache/ruby/2.7.0/gems/minitest-5.14.1/lib/hoe/minitest.rb