fssm 0.0.9 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +4 -2
- data/VERSION.yml +2 -2
- data/example.rb +3 -3
- data/fssm.gemspec +3 -2
- data/lib/fssm.rb +2 -2
- data/lib/fssm/backends/fsevents.rb +5 -5
- data/lib/fssm/backends/inotify.rb +25 -0
- data/lib/fssm/backends/polling.rb +2 -2
- data/lib/fssm/{fsevents.rb → backends/rubycocoa/fsevents.rb} +22 -20
- data/lib/fssm/pathname.rb +310 -132
- data/lib/fssm/support.rb +32 -3
- data/lib/fssm/tree.rb +43 -42
- data/profile/prof-cache.rb +2 -2
- data/profile/prof-fssm-pathname.html +1224 -1112
- data/profile/prof-pathname.rb +2 -2
- data/profile/prof-plain-pathname.html +981 -902
- data/profile/prof.html +2372 -2156
- data/spec/path_spec.rb +3 -3
- metadata +3 -2
data/spec/path_spec.rb
CHANGED
@@ -66,9 +66,9 @@ describe "The File System State Monitor" do
|
|
66
66
|
path.update.should be_a_kind_of(Proc)
|
67
67
|
path.delete.should be_a_kind_of(Proc)
|
68
68
|
path.create.should be_a_kind_of(Proc)
|
69
|
-
path.update.call('','').should == 'success'
|
70
|
-
path.delete.call('','').should == 'success'
|
71
|
-
path.create.call('','').should == 'success'
|
69
|
+
path.update.call('', '').should == 'success'
|
70
|
+
path.delete.call('', '').should == 'success'
|
71
|
+
path.create.call('', '').should == 'success'
|
72
72
|
end
|
73
73
|
|
74
74
|
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.0
|
4
|
+
version: 0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Travis Tilley
|
@@ -42,8 +42,9 @@ files:
|
|
42
42
|
- fssm.gemspec
|
43
43
|
- lib/fssm.rb
|
44
44
|
- lib/fssm/backends/fsevents.rb
|
45
|
+
- lib/fssm/backends/inotify.rb
|
45
46
|
- lib/fssm/backends/polling.rb
|
46
|
-
- lib/fssm/fsevents.rb
|
47
|
+
- lib/fssm/backends/rubycocoa/fsevents.rb
|
47
48
|
- lib/fssm/monitor.rb
|
48
49
|
- lib/fssm/path.rb
|
49
50
|
- lib/fssm/pathname.rb
|