ffilewatch 0.6.4 → 0.6.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/filewatch/watch.rb +1 -0
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e4f2b8df761168ebf67eee7cef93d3f9aa4ee8bc
4
- data.tar.gz: 2c5cc2a05ee5ca432fe7fbe6e3f25ae11897fa78
3
+ metadata.gz: 0adbb989620aef6b9c84a5b7d48e17862daa8eec
4
+ data.tar.gz: 5751a84dece40fc31af88e10083d9eb62beb3793
5
5
  SHA512:
6
- metadata.gz: a50d0e9fca7d1b86bc376b09c552fea749fc128db180556160cbe68f65bf195862373849616018fb855f001accffecdf871ec838d4bdbf00726109969ab29847
7
- data.tar.gz: 9cf98aa71dd6edd08ed3eda7c1f3809a947ee14536c2b670e450dd81878a1fdf5e4c7cbff49e53ee850e9b30ff353f1447518b2fcabe7fef4eb7a7764de9b2dd
6
+ metadata.gz: e4def478b61022a302c4adbe3af219274283467cee1343ab0b97794b6b931bed76b1733c73b9d36554e5fe24eeff94aae1e937857d379e0c61fe877ab5cb0592
7
+ data.tar.gz: bc6a41a0c8fab5aa3b4f68d0625204442a90fe959acf4df7be7b4d8c01801ac097a26826413fa09632f94740e2e69e7aed01f0da5cd5f3dd406b13aa387c2df2
@@ -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
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-28 00:00:00.000000000 Z
12
+ date: 2014-08-29 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: buftok