Sha256: 2691150ca83158159f940a0f22dca540aa458d0d9252a5fdfc3fc06e95d181e0

Contents?: true

Size: 452 Bytes

Versions: 49

Compression:

Stored size: 452 Bytes

Contents

# :stopdoc:

class Hoe
end

module Hoe::Minitest
  def initialize_minitest
    gem "minitest"
    require 'minitest/unit'
    version = MiniTest::Unit::VERSION.split(/\./).first(2).join(".")

    dependency 'minitest', "~> #{version}", :development unless
      self.name == "minitest"
  end

  def define_minitest_tasks
    self.testlib = :minitest

    # make sure we use the gemmed minitest on 1.9
    self.test_prelude = 'gem "minitest"'
  end
end

Version data entries

49 entries across 46 versions & 4 rubygems

Version Path
minitest-2.11.4 lib/hoe/minitest.rb
minitest-2.11.3 lib/hoe/minitest.rb
minitest-2.11.2 lib/hoe/minitest.rb
minitest-2.11.1 lib/hoe/minitest.rb
minitest-2.11.0 lib/hoe/minitest.rb
minitest-2.10.1 lib/hoe/minitest.rb
minitest-2.10.0 lib/hoe/minitest.rb
minitest-2.9.1 lib/hoe/minitest.rb
minitest-2.9.0 lib/hoe/minitest.rb