Skip to content

Commit

Permalink
Depends on rb-fsevent >= 0.3.5 for ruby 1.8.6 support
Browse files Browse the repository at this point in the history
  • Loading branch information
thibaudgg committed Oct 26, 2010
1 parent 9c89577 commit edeaa1e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ gemspec
require 'rbconfig'

if Config::CONFIG['target_os'] =~ /darwin/i
gem 'rb-fsevent', '>= 0.3.4'
gem 'rb-fsevent', '>= 0.3.5'
gem 'growl', '~> 1.0.3'
end
if Config::CONFIG['target_os'] =~ /linux/i
Expand Down
3 changes: 2 additions & 1 deletion README.rdoc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Guard is a command line tool to easly handle events on files modifications.

== 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)
- Polling for others (help us to support more systems)
- Super fast change detection (when polling not used)
Expand Down Expand Up @@ -87,6 +87,7 @@ Signal handlers are used to interact with Guard:
- {guard-compass}[http://github.com/guard/guard-compass]
- {guard-shell}[http://github.com/guard/guard-shell]
- {guard-bundler}[http://github.com/guard/guard-bundler]
- {guard-passenger}[http://github.com/guard/guard-passenger]

guard ideas:

Expand Down
4 changes: 2 additions & 2 deletions lib/guard/listeners/darwin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ def stop

def self.usable?
require 'rb-fsevent'
if !defined?(FSEvent::VERSION) || Gem::Version.new(FSEvent::VERSION) < Gem::Version.new('0.3.4')
UI.info "Please update rb-fsevent (>= 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.5)"
false
else
true
Expand Down

0 comments on commit edeaa1e

Please sign in to comment.