vfs 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/vfs/entries/dir.rb +1 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5ffd70f6872a939bfdc7f946087a40debd40cf24
|
4
|
+
data.tar.gz: 77d049c9360b4dbd38efa5464e3579a386ab51cc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 138feb7f87306350521286371bab0f25811215935dc3ba263aaee1a1cdb77e938a86e65dd8623ba825448e7a334baec9d0dc610ce9278972c95e411fbcb96ce7
|
7
|
+
data.tar.gz: 839350f8cafe561e72706f5a8528db98dcf5e67cb2794cd76a5055758d7862fcb6cb2004b58b28159f31261a31ccaa29b8c856636d867fd2a85fb33bfe34e4b0
|
data/lib/vfs/entries/dir.rb
CHANGED
@@ -74,6 +74,7 @@ module Vfs
|
|
74
74
|
# optionally evaluated callback.
|
75
75
|
type = type.call if (filter or type_required) and type.is_a?(Proc)
|
76
76
|
|
77
|
+
next if name == '' # Fix for https://github.com/alexeypetrushin/vfs/issues/5
|
77
78
|
next if filter and (filter != type)
|
78
79
|
|
79
80
|
entry = if type == :dir
|