Sha256: 97e321481e971fb694549e8cbb27eac92c0fc0e3c8d80eaf95878e28649ef597

Contents?: true

Size: 536 Bytes

Versions: 64

Compression:

Stored size: 536 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
  end
end

Version data entries

64 entries across 51 versions & 17 rubygems

Version Path
minato_ruby_api_client-0.2.2 vendor/bundle/ruby/3.2.0/gems/minitest-5.24.1/lib/hoe/minitest.rb
direct7-0.0.18 vendor/bundle/ruby/3.0.0/gems/minitest-5.20.0/lib/hoe/minitest.rb
direct7-0.0.18 vendor/bundle/ruby/2.7.0/gems/minitest-5.20.0/lib/hoe/minitest.rb
direct7-0.0.17 vendor/bundle/ruby/2.7.0/gems/minitest-5.20.0/lib/hoe/minitest.rb
direct7-0.0.17 vendor/bundle/ruby/3.0.0/gems/minitest-5.20.0/lib/hoe/minitest.rb
direct7-0.0.16 vendor/bundle/ruby/3.0.0/gems/minitest-5.20.0/lib/hoe/minitest.rb
direct7-0.0.16 vendor/bundle/ruby/2.7.0/gems/minitest-5.20.0/lib/hoe/minitest.rb
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/minitest-5.24.1/lib/hoe/minitest.rb
minitest-5.24.1 lib/hoe/minitest.rb
minitest-5.24.0 lib/hoe/minitest.rb
cm-admin-1.5.22 vendor/bundle/ruby/3.3.0/gems/minitest-5.18.1/lib/hoe/minitest.rb
cm-admin-1.5.21 vendor/bundle/ruby/3.3.0/gems/minitest-5.18.1/lib/hoe/minitest.rb
cm-admin-1.5.20 vendor/bundle/ruby/3.3.0/gems/minitest-5.18.1/lib/hoe/minitest.rb
katalyst-govuk-formbuilder-1.9.2 vendor/bundle/ruby/3.3.0/gems/minitest-5.23.1/lib/hoe/minitest.rb
tinymce-rails-7.1.2 vendor/bundle/ruby/3.3.0/gems/minitest-5.23.1/lib/hoe/minitest.rb
minitest-5.22.3 lib/hoe/minitest.rb
direct7-0.0.13 vendor/bundle/ruby/2.7.0/gems/minitest-5.20.0/lib/hoe/minitest.rb
direct7-0.0.13 vendor/bundle/ruby/3.0.0/gems/minitest-5.20.0/lib/hoe/minitest.rb
minitest-5.22.2 lib/hoe/minitest.rb
minitest-5.22.1 lib/hoe/minitest.rb