fssm 0.2.6 → 0.2.6.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/fssm/support.rb +1 -4
- data/lib/fssm/version.rb +1 -1
- metadata +2 -1
data/lib/fssm/support.rb
CHANGED
@@ -61,10 +61,7 @@ module FSSM::Support
|
|
61
61
|
def rb_fsevent?
|
62
62
|
begin
|
63
63
|
require 'rb-fsevent'
|
64
|
-
|
65
|
-
FSEvent::VERSION.to_f >= 0.4
|
66
|
-
end
|
67
|
-
true
|
64
|
+
defined?(FSEvent::VERSION) ? FSEvent::VERSION.to_f >= 0.4 : false
|
68
65
|
rescue LoadError
|
69
66
|
false
|
70
67
|
end
|
data/lib/fssm/version.rb
CHANGED