ffilewatch 0.6.4 → 0.6.5
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.
- checksums.yaml +4 -4
- data/lib/filewatch/watch.rb +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0adbb989620aef6b9c84a5b7d48e17862daa8eec
|
|
4
|
+
data.tar.gz: 5751a84dece40fc31af88e10083d9eb62beb3793
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e4def478b61022a302c4adbe3af219274283467cee1343ab0b97794b6b931bed76b1733c73b9d36554e5fe24eeff94aae1e937857d379e0c61fe877ab5cb0592
|
|
7
|
+
data.tar.gz: bc6a41a0c8fab5aa3b4f68d0625204442a90fe959acf4df7be7b4d8c01801ac097a26826413fa09632f94740e2e69e7aed01f0da5cd5f3dd406b13aa387c2df2
|
data/lib/filewatch/watch.rb
CHANGED
|
@@ -181,6 +181,7 @@ module FileWatch
|
|
|
181
181
|
file_glob = File.basename(glob)
|
|
182
182
|
files = []
|
|
183
183
|
Dir.glob(dir_glob).each do |dir|
|
|
184
|
+
next unless File::directory?(dir)
|
|
184
185
|
Dir.foreach(dir) do |fname|
|
|
185
186
|
next if fname == '.' || fname == '..'
|
|
186
187
|
next unless File.fnmatch?(file_glob, fname)
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ffilewatch
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.6.
|
|
4
|
+
version: 0.6.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jordan Sissel
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2014-08-
|
|
12
|
+
date: 2014-08-29 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: buftok
|