Updated rb-fsevent

This commit is contained in:
Thibaud Guillaume-Gentil 2010-10-24 10:31:00 +02:00
parent 7af452dc4c
commit 9742ce86a0
3 changed files with 6 additions and 6 deletions

View File

@ -5,7 +5,7 @@ gemspec
require 'rbconfig' require 'rbconfig'
if Config::CONFIG['target_os'] =~ /darwin/i if Config::CONFIG['target_os'] =~ /darwin/i
gem 'rb-fsevent', '>= 0.3.2' gem 'rb-fsevent', '>= 0.3.3'
gem 'growl', '~> 1.0.3' gem 'growl', '~> 1.0.3'
end end
if Config::CONFIG['target_os'] =~ /linux/i if Config::CONFIG['target_os'] =~ /linux/i

View File

@ -1,7 +1,7 @@
PATH PATH
remote: . remote: .
specs: specs:
guard (0.2.0) guard (0.2.1)
open_gem (~> 1.4.2) open_gem (~> 1.4.2)
thor (~> 0.14.3) thor (~> 0.14.3)
@ -19,7 +19,7 @@ GEM
open_gem (1.4.2) open_gem (1.4.2)
launchy (~> 0.3.5) launchy (~> 0.3.5)
rake (0.8.7) rake (0.8.7)
rb-fsevent (0.3.2) rb-fsevent (0.3.3)
rspec (2.0.1) rspec (2.0.1)
rspec-core (~> 2.0.1) rspec-core (~> 2.0.1)
rspec-expectations (~> 2.0.1) rspec-expectations (~> 2.0.1)
@ -42,6 +42,6 @@ DEPENDENCIES
guard! guard!
guard-rspec (~> 0.1.4) guard-rspec (~> 0.1.4)
open_gem (~> 1.4.2) open_gem (~> 1.4.2)
rb-fsevent (>= 0.3.2) rb-fsevent (>= 0.3.3)
rspec (~> 2.0.1) rspec (~> 2.0.1)
thor (~> 0.14.3) thor (~> 0.14.3)

View File

@ -25,8 +25,8 @@ module Guard
def self.usable? def self.usable?
require 'rb-fsevent' require 'rb-fsevent'
if !defined?(FSEvent::VERSION) || Gem::Version.new(FSEvent::VERSION) < Gem::Version.new('0.3.2') if !defined?(FSEvent::VERSION) || Gem::Version.new(FSEvent::VERSION) < Gem::Version.new('0.3.3')
UI.info "Please update rb-fsevent (>= 0.3.2)" UI.info "Please update rb-fsevent (>= 0.3.3)"
false false
else else
true true