Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 40 lines (33 sloc) 1.466 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
# encoding: utf-8
$:.push File.expand_path('../lib', __FILE__)
require 'guard/minitest/version'

Gem::Specification.new do |s|
  s.name = 'guard-minitest'
  s.version = Guard::MinitestVersion::VERSION
  s.platform = Gem::Platform::RUBY
  s.authors = ['Yann Lugrin']
  s.email = ['yann.lugrin@sans-savoir.net']
  s.homepage = 'http://rubygems.org/gems/guard-minitest'
  s.summary = 'Guard gem for MiniTest framework'
  s.description = 'Guard::Minitest automatically run your tests with MiniTest framework (much like autotest)'

  s.required_rubygems_version = '>= 1.3.6'
  s.rubyforge_project = 'guard-minitest'

  s.add_dependency 'guard', '>= 0.2.2'

  # Use this environment variable only for testing
  if ENV["minitest_version"] =~ /^1/
    s.add_development_dependency 'minitest', '~> 1.7.2'
    s.add_development_dependency 'bundler', '~> 1.0.2'
    s.add_development_dependency 'mocha', '~> 0.9.8'
  else
    if ENV["minitest_version"] =~ /^2\.0/
      s.add_development_dependency 'minitest', '~> 2.0.0'
    else
      s.add_development_dependency 'minitest', '>= 2.0.0'
    end
    s.add_development_dependency 'bundler', '>= 1.0.2'
    s.add_development_dependency 'mocha', '>= 0.9.8'
  end

  s.files = Dir.glob('{lib}/**/*') + %w[LICENSE README.rdoc]
  s.require_path = 'lib'

  s.rdoc_options = ["--charset=UTF-8", "--main=README.rdoc", "--exclude='(lib|test|spec)|(Gem|Guard|Rake)file'"]
end
Something went wrong with that request. Please try again.