fffs 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/fffs/directory.rb +2 -2
- metadata +2 -2
data/lib/fffs/directory.rb
CHANGED
@@ -72,7 +72,7 @@ class Directory < Hash
|
|
72
72
|
|
73
73
|
def push (file)
|
74
74
|
if self[file.name].is_a?(Directory) && file.is_a?(Directory)
|
75
|
-
self[file.name].
|
75
|
+
self[file.name].include(file)
|
76
76
|
else
|
77
77
|
self[file.name] = file
|
78
78
|
end
|
@@ -80,7 +80,7 @@ class Directory < Hash
|
|
80
80
|
|
81
81
|
alias << push
|
82
82
|
|
83
|
-
def
|
83
|
+
def include (dir)
|
84
84
|
dir.each_value {|file|
|
85
85
|
self << file
|
86
86
|
}
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: fffs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.0.
|
5
|
+
version: 0.0.8
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- meh.
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-04
|
13
|
+
date: 2011-05-04 00:00:00 Z
|
14
14
|
dependencies: []
|
15
15
|
|
16
16
|
description: A virtual filesystem for embedded data.
|