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
files.com-1.0.55 docs/vendor/bundle/ruby/2.5.0/gems/minitest-5.11.3/lib/hoe/minitest.rb
minitest-5.14.1 lib/hoe/minitest.rb
nlmt-wrappers-0.0.1 vendor/bundle/ruby/2.6.0/gems/minitest-5.14.0/lib/hoe/minitest.rb
hirohig_palindrome-0.2.0 vendor/bundle/ruby/2.6.0/gems/minitest-5.14.0/lib/hoe/minitest.rb
hirohig_palindrome-0.1.0 vendor/bundle/ruby/2.6.0/gems/minitest-5.14.0/lib/hoe/minitest.rb
argon-1.3.1 vendor/bundle/ruby/2.7.0/gems/minitest-5.14.0/lib/hoe/minitest.rb
symbolic_enum-1.1.5 vendor/bundle/ruby/2.7.0/gems/minitest-5.14.0/lib/hoe/minitest.rb
minitest-5.14.0 lib/hoe/minitest.rb
grape-extra_validators-1.0.0 vendor/bundle/ruby/2.4.0/gems/minitest-5.13.0/lib/hoe/minitest.rb
zuora_connect_ui-0.10.0 vendor/ruby/2.6.0/gems/minitest-5.12.2/lib/hoe/minitest.rb
zuora_connect_ui-0.10.0 vendor/ruby/2.6.0/gems/minitest-5.11.3/lib/hoe/minitest.rb
zuora_connect_ui-0.10.0 vendor/ruby/2.6.0/gems/minitest-5.13.0/lib/hoe/minitest.rb
zuora_connect_ui-0.9.2 vendor/ruby/2.6.0/gems/minitest-5.11.3/lib/hoe/minitest.rb
zuora_connect_ui-0.9.2 vendor/ruby/2.6.0/gems/minitest-5.12.2/lib/hoe/minitest.rb
zuora_connect_ui-0.9.2 vendor/ruby/2.6.0/gems/minitest-5.13.0/lib/hoe/minitest.rb
chatops-rpc-0.0.2 fixtures/chatops-controller-example/vendor/bundle/ruby/2.5.0/gems/minitest-5.12.2/lib/hoe/minitest.rb
chatops-rpc-0.0.1 fixtures/chatops-controller-example/vendor/bundle/ruby/2.5.0/gems/minitest-5.12.2/lib/hoe/minitest.rb
minitest-5.13.0 lib/hoe/minitest.rb
zuora_connect_ui-0.9.1 vendor/ruby/2.6.0/gems/minitest-5.12.2/lib/hoe/minitest.rb
zuora_connect_ui-0.9.1 vendor/ruby/2.6.0/gems/minitest-5.11.3/lib/hoe/minitest.rb