fffs 0.0.12 → 0.0.12.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/fffs/filesystem.rb +7 -1
- metadata +3 -3
data/lib/fffs/filesystem.rb
CHANGED
@@ -77,7 +77,13 @@ class FileSystem < Directory
|
|
77
77
|
into = self
|
78
78
|
|
79
79
|
path.split('/').each {|dir|
|
80
|
-
|
80
|
+
if dir == '.'
|
81
|
+
next
|
82
|
+
elsif dir == '..'
|
83
|
+
into = into.parent
|
84
|
+
else
|
85
|
+
into = into[dir] || (into << Directory.new(dir))
|
86
|
+
end
|
81
87
|
}
|
82
88
|
|
83
89
|
if link
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: fffs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.0.12
|
5
|
+
version: 0.0.12.1
|
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-
|
13
|
+
date: 2011-06-02 00:00:00 Z
|
14
14
|
dependencies: []
|
15
15
|
|
16
16
|
description: A virtual filesystem for embedded data.
|
@@ -51,7 +51,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
51
51
|
requirements: []
|
52
52
|
|
53
53
|
rubyforge_project:
|
54
|
-
rubygems_version: 1.8.
|
54
|
+
rubygems_version: 1.8.5
|
55
55
|
signing_key:
|
56
56
|
specification_version: 3
|
57
57
|
summary: A virtual filesystem.
|