Depends on rb-fsevent >= 0.3.5 for ruby 1.8.6 support
This commit is contained in:
parent
9c89577a6d
commit
edeaa1e864
2
Gemfile
2
Gemfile
@ -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.4'
|
gem 'rb-fsevent', '>= 0.3.5'
|
||||||
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
|
||||||
|
@ -4,7 +4,7 @@ Guard is a command line tool to easly handle events on files modifications.
|
|||||||
|
|
||||||
== Features
|
== Features
|
||||||
|
|
||||||
- {FSEvent}[http://en.wikipedia.org/wiki/FSEvents] support on Mac OS X 10.5+ (without RubyCocoa!, {rb-fsevent gem, >= 0.3.4}[https://rubygems.org/gems/rb-fsevent] required)
|
- {FSEvent}[http://en.wikipedia.org/wiki/FSEvents] support on Mac OS X 10.5+ (without RubyCocoa!, {rb-fsevent gem, >= 0.3.5}[https://rubygems.org/gems/rb-fsevent] required)
|
||||||
- {Inotify}[http://en.wikipedia.org/wiki/Inotify] support on Linux ({rb-inotify gem, >= 0.5.1}[https://rubygems.org/gems/rb-inotify] required)
|
- {Inotify}[http://en.wikipedia.org/wiki/Inotify] support on Linux ({rb-inotify gem, >= 0.5.1}[https://rubygems.org/gems/rb-inotify] required)
|
||||||
- Polling for others (help us to support more systems)
|
- Polling for others (help us to support more systems)
|
||||||
- Super fast change detection (when polling not used)
|
- Super fast change detection (when polling not used)
|
||||||
@ -87,6 +87,7 @@ Signal handlers are used to interact with Guard:
|
|||||||
- {guard-compass}[http://github.com/guard/guard-compass]
|
- {guard-compass}[http://github.com/guard/guard-compass]
|
||||||
- {guard-shell}[http://github.com/guard/guard-shell]
|
- {guard-shell}[http://github.com/guard/guard-shell]
|
||||||
- {guard-bundler}[http://github.com/guard/guard-bundler]
|
- {guard-bundler}[http://github.com/guard/guard-bundler]
|
||||||
|
- {guard-passenger}[http://github.com/guard/guard-passenger]
|
||||||
|
|
||||||
guard ideas:
|
guard ideas:
|
||||||
|
|
||||||
|
@ -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.4')
|
if !defined?(FSEvent::VERSION) || Gem::Version.new(FSEvent::VERSION) < Gem::Version.new('0.3.5')
|
||||||
UI.info "Please update rb-fsevent (>= 0.3.4)"
|
UI.info "Please update rb-fsevent (>= 0.3.5)"
|
||||||
false
|
false
|
||||||
else
|
else
|
||||||
true
|
true
|
||||||
|
Loading…
Reference in New Issue
Block a user