rb-fsevent 0.3.2 → 0.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.rdoc +1 -1
- data/lib/rb-fsevent/fsevent.rb +2 -2
- data/lib/rb-fsevent/version.rb +1 -1
- metadata +13 -13
data/README.rdoc
CHANGED
@@ -20,7 +20,7 @@ Very simple & usable Mac OSX FSEvents API
|
|
20
20
|
end
|
21
21
|
fsevent.run
|
22
22
|
|
23
|
-
==
|
23
|
+
== Note about FFI
|
24
24
|
|
25
25
|
rb-fsevent doesn't use {ruby-ffi}[http://github.com/ffi/ffi] anymore because it sadly doesn't allow to catch Signals, you can see the code in {ffi branch}[http://github.com/thibaudgg/rb-fsevent/tree/ffi].
|
26
26
|
|
data/lib/rb-fsevent/fsevent.rb
CHANGED
@@ -12,7 +12,7 @@ class FSEvent
|
|
12
12
|
end
|
13
13
|
|
14
14
|
def stop
|
15
|
-
Process.kill("
|
15
|
+
Process.kill("KILL", pipe.pid) if pipe
|
16
16
|
end
|
17
17
|
|
18
18
|
private
|
@@ -22,7 +22,7 @@ private
|
|
22
22
|
end
|
23
23
|
|
24
24
|
def launch_bin
|
25
|
-
|
25
|
+
@pipe = IO.popen("#{bin_path}/fsevent_watch #{path.shellescape}")
|
26
26
|
end
|
27
27
|
|
28
28
|
def listen
|
data/lib/rb-fsevent/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rb-fsevent
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 21
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 3
|
9
|
-
-
|
10
|
-
version: 0.3.
|
9
|
+
- 3
|
10
|
+
version: 0.3.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Thibaud Guillaume-Gentil
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-10-
|
18
|
+
date: 2010-10-24 00:00:00 +02:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -26,12 +26,12 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ~>
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
hash:
|
29
|
+
hash: 17
|
30
30
|
segments:
|
31
31
|
- 1
|
32
32
|
- 0
|
33
|
-
-
|
34
|
-
version: 1.0.
|
33
|
+
- 3
|
34
|
+
version: 1.0.3
|
35
35
|
type: :development
|
36
36
|
version_requirements: *id001
|
37
37
|
- !ruby/object:Gem::Dependency
|
@@ -42,12 +42,12 @@ dependencies:
|
|
42
42
|
requirements:
|
43
43
|
- - ~>
|
44
44
|
- !ruby/object:Gem::Version
|
45
|
-
hash:
|
45
|
+
hash: 13
|
46
46
|
segments:
|
47
47
|
- 2
|
48
48
|
- 0
|
49
|
-
-
|
50
|
-
version: 2.0.
|
49
|
+
- 1
|
50
|
+
version: 2.0.1
|
51
51
|
type: :development
|
52
52
|
version_requirements: *id002
|
53
53
|
- !ruby/object:Gem::Dependency
|
@@ -58,12 +58,12 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - ~>
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
hash:
|
61
|
+
hash: 19
|
62
62
|
segments:
|
63
63
|
- 0
|
64
64
|
- 1
|
65
|
-
-
|
66
|
-
version: 0.1.
|
65
|
+
- 4
|
66
|
+
version: 0.1.4
|
67
67
|
type: :development
|
68
68
|
version_requirements: *id003
|
69
69
|
description: FSEvents API with Signals catching (without RubyCocoa)
|