vfs 0.5.0 → 0.5.1

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/vfs/entries/dir.rb +1 -0
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 912da8917a494c212593b79a0b180ab7938df9e1
4
- data.tar.gz: 1bf02fc5cb03e6ce27320956a80ac035cfe07d34
3
+ metadata.gz: 5ffd70f6872a939bfdc7f946087a40debd40cf24
4
+ data.tar.gz: 77d049c9360b4dbd38efa5464e3579a386ab51cc
5
5
  SHA512:
6
- metadata.gz: e24ebb55a45cc9c031231c2e0b792776b206431d7760906bca065227acc72469c444a84757cad7ce60125d8e0bf9b517636134f37f03bfbdaa78fe8f560821fa
7
- data.tar.gz: 45d5f24d6d93992d445409107dd858738c1809a09d6283ef14ac393a8df25f16ebcf9756127c5d14744ed820f6f41e80d813f8c4d166f3ddc938e1fced5e34ae
6
+ metadata.gz: 138feb7f87306350521286371bab0f25811215935dc3ba263aaee1a1cdb77e938a86e65dd8623ba825448e7a334baec9d0dc610ce9278972c95e411fbcb96ce7
7
+ data.tar.gz: 839350f8cafe561e72706f5a8528db98dcf5e67cb2794cd76a5055758d7862fcb6cb2004b58b28159f31261a31ccaa29b8c856636d867fd2a85fb33bfe34e4b0
@@ -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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vfs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexey Petrushin