fssm 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/VERSION.yml +3 -3
  2. data/fssm.gemspec +2 -2
  3. data/lib/fssm/support.rb +3 -2
  4. metadata +2 -2
@@ -1,5 +1,5 @@
1
1
  ---
2
- :patch: 1
3
- :major: 0
4
- :minor: 1
5
2
  :build:
3
+ :minor: 1
4
+ :patch: 2
5
+ :major: 0
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{fssm}
8
- s.version = "0.1.1"
8
+ s.version = "0.1.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Travis Tilley"]
12
- s.date = %q{2009-12-25}
12
+ s.date = %q{2009-12-26}
13
13
  s.description = %q{file system state monitor}
14
14
  s.email = %q{ttilley@gmail.com}
15
15
  s.extra_rdoc_files = [
@@ -6,7 +6,7 @@ module FSSM::Support
6
6
  @@backend ||= case
7
7
  when mac? && !jruby? && carbon_core?
8
8
  'FSEvents'
9
- when linux? && !jruby? && rb_inotify?
9
+ when linux? && rb_inotify?
10
10
  'Inotify'
11
11
  else
12
12
  'Polling'
@@ -39,10 +39,11 @@ module FSSM::Support
39
39
  def rb_inotify?
40
40
  begin
41
41
  require 'rubygems'
42
+ gem 'rb-inotify', '>= 0.3.0'
42
43
  require 'rb-inotify'
43
44
  true
44
45
  rescue LoadError, Gem::LoadError
45
- STDERR.puts("Warning: Unable to load rb-inotify. Inotify will be unavailable.")
46
+ STDERR.puts("Warning: Unable to load rb-inotify >= 0.3.0. Inotify will be unavailable.")
46
47
  false
47
48
  end
48
49
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fssm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Travis Tilley
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-12-25 00:00:00 -05:00
12
+ date: 2009-12-26 00:00:00 -05:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency