filewatch 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/filewatch/tailglob.rb +1 -1
- metadata +21 -8
data/lib/filewatch/tailglob.rb
CHANGED
@@ -48,7 +48,7 @@ class FileWatch::TailGlob
|
|
48
48
|
if options.include?(:exclude)
|
49
49
|
options[:exclude].each do |exclusion|
|
50
50
|
if File.fnmatch?(exclusion, path)
|
51
|
-
puts "Skipping #{path}, matches #{exclusion}"
|
51
|
+
puts "Skipping #{path.inspect}, matches exclusion #{exclusion.inspect}"
|
52
52
|
return
|
53
53
|
end
|
54
54
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: filewatch
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 21
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 0.2.
|
9
|
+
- 1
|
10
|
+
version: 0.2.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Jordan Sissel
|
@@ -17,12 +17,25 @@ cert_chain: []
|
|
17
17
|
|
18
18
|
date: 2011-04-12 00:00:00 -07:00
|
19
19
|
default_executable:
|
20
|
-
dependencies:
|
21
|
-
|
22
|
-
|
20
|
+
dependencies:
|
21
|
+
- !ruby/object:Gem::Dependency
|
22
|
+
name: ffi
|
23
|
+
prerelease: false
|
24
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
hash: 3
|
30
|
+
segments:
|
31
|
+
- 0
|
32
|
+
version: "0"
|
33
|
+
type: :runtime
|
34
|
+
version_requirements: *id001
|
35
|
+
description: Watch files and directories in ruby. Also supports tailing and glob file patterns. Works with plain ruby, EventMachine, and JRuby
|
23
36
|
email: jls@semicomplete.com
|
24
|
-
executables:
|
25
|
-
|
37
|
+
executables:
|
38
|
+
- gtail
|
26
39
|
extensions: []
|
27
40
|
|
28
41
|
extra_rdoc_files: []
|