# encoding: utf-8
$:.push File.expand_path('../lib', __FILE__)
require 'guard/version'

Gem::Specification.new do |s|
  s.name        = 'guard'
  s.version     = Guard::VERSION
  s.platform    = Gem::Platform::RUBY
  s.license     = 'MIT'
  s.authors     = ['Thibaud Guillaume-Gentil']
  s.email       = ['thibaud@thibaud.gg']
  s.homepage    = 'http://guardgem.org'
  s.summary     = 'Guard keeps an eye on your file modifications'
  s.description = 'Guard is a command line tool to easily handle events on file system modifications.'

  s.required_ruby_version = '>= 1.9.3'

  s.add_runtime_dependency 'thor',       '>= 0.18.1'
  s.add_runtime_dependency 'listen',     '~> 2.6'
  s.add_runtime_dependency 'pry',        '>= 0.9.12'
  s.add_runtime_dependency 'lumberjack', '~> 1.0'
  s.add_runtime_dependency 'formatador', '>= 0.2.4'

  s.files        = Dir.glob('{bin,images,lib}/**/*') + %w[CHANGELOG.md LICENSE man/guard.1 man/guard.1.html README.md]
  s.executable   = 'guard'
  s.require_path = 'lib'
end

# encoding: utf-8
$:.push File.expand_path('../lib', __FILE__)
require 'guard/version'

Gem::Specification.new do |s|
  s.name        = 'guard'
  s.version     = Guard::VERSION
  s.platform    = Gem::Platform::RUBY
  s.license     = 'MIT'
  s.authors     = ['Thibaud Guillaume-Gentil']
  s.email       = ['thibaud@thibaud.gg']
  s.homepage    = 'http://guardgem.org'
  s.summary     = 'Guard keeps an eye on your file modifications'
  s.description = 'Guard is a command line tool to easily handle events on file system modifications.'

  s.required_ruby_version = '>= 1.9.3'

  s.add_runtime_dependency 'thor',       '>= 0.18.1'
  s.add_runtime_dependency 'listen',     '~> 2.7'
  s.add_runtime_dependency 'pry',        '>= 0.9.12'
  s.add_runtime_dependency 'lumberjack', '~> 1.0'
  s.add_runtime_dependency 'formatador', '>= 0.2.4'

  s.files        = Dir.glob('{bin,images,lib}/**/*') + %w[CHANGELOG.md LICENSE man/guard.1 man/guard.1.html README.md]
  s.executable   = 'guard'
  s.require_path = 'lib'
end

Make minimum listen version 2.7
Make minimum listen version 2.7

Because versions of listen < 2.7 have a bug where the rails console and tests stop responding to SIGINT, and this is affecting all of our projects that use guard