staticky-files 0.2.0 → 0.2.1
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/CHANGELOG.md +4 -0
- data/lib/staticky/files/memory_file_system.rb +2 -0
- data/lib/staticky/files/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f934ea2685768e6efe873cc81056f3409f2c154cfcd141991db8e43ba012f5e1
|
4
|
+
data.tar.gz: 536412a65bbc92a0ee48192f1e947452e4729044b12a3183d72ce0caac8aade8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: effef9f068f1caafd8907f44be7b30499cafe5340420df601a12b42ccd3f211aec73d4c33535191e8f0f2476c47acd6497bb09034ce54bd6647357d70cce9272
|
7
|
+
data.tar.gz: 7b67b101ce0f91e8edbf88b26cf5521cfd92c22a420ec944929d3fba03348fdba3cbab6a9a27263450b51140d6bc9fb0b62043c22a283a4f46ae2998ba679b93
|
data/CHANGELOG.md
CHANGED
@@ -360,6 +360,8 @@ module Staticky
|
|
360
360
|
if node.file? && File.fnmatch(pattern, current_path, File::FNM_PATHNAME)
|
361
361
|
matches << current_path
|
362
362
|
elsif node.directory?
|
363
|
+
return if node.children.nil?
|
364
|
+
|
363
365
|
node.children.each do |name, child|
|
364
366
|
traverse(child, File.join(current_path, name), pattern, matches)
|
365
367
|
end
|