CHips L MINI SHELL

CHips L pro

Current Path : /opt/puppetlabs/puppet/lib/ruby/gems/2.5.0/gems/minitest-5.10.3/lib/hoe/
Upload File :
Current File : //opt/puppetlabs/puppet/lib/ruby/gems/2.5.0/gems/minitest-5.10.3/lib/hoe/minitest.rb

# :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

Copyright 2K16 - 2K18 Indonesian Hacker Rulez