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
challah-1.0.0 vendor/bundle/gems/minitest-4.7.5/lib/hoe/minitest.rb
minitest-4.7.5 lib/hoe/minitest.rb
swipe-rails-0.0.5 vendor/bundle/gems/minitest-4.7.4/lib/hoe/minitest.rb
challah-1.0.0.beta3 vendor/bundle/gems/minitest-4.7.1/lib/hoe/minitest.rb
challah-1.0.0.beta3 vendor/bundle/gems/minitest-4.7.4/lib/hoe/minitest.rb
challah-1.0.0.beta3 vendor/bundle/gems/minitest-4.7.0/lib/hoe/minitest.rb
minitest-4.7.4 lib/hoe/minitest.rb
minitest-4.7.3 lib/hoe/minitest.rb
minitest-4.7.2 lib/hoe/minitest.rb
challah-1.0.0.beta2 vendor/bundle/gems/minitest-4.7.0/lib/hoe/minitest.rb
challah-1.0.0.beta2 vendor/bundle/gems/minitest-4.7.1/lib/hoe/minitest.rb
challah-1.0.0.beta vendor/bundle/gems/minitest-4.7.0/lib/hoe/minitest.rb
minitest-4.7.1 lib/hoe/minitest.rb
minitest-4.7.0 lib/hoe/minitest.rb
minitest-4.6.2 lib/hoe/minitest.rb
minitest-4.6.1 lib/hoe/minitest.rb
challah-0.9.1.beta.3 vendor/bundle/gems/minitest-4.3.2/lib/hoe/minitest.rb
minitest-4.6.0 lib/hoe/minitest.rb
minitest-4.5.0 lib/hoe/minitest.rb
challah-0.9.1.beta vendor/bundle/gems/minitest-4.3.2/lib/hoe/minitest.rb