vitreous_share 0.0.15 → 0.0.17
Sign up to get free protection for your applications and to get access to all the features.
@@ -22,7 +22,7 @@ module Vitreous
|
|
22
22
|
@session.entry( path ).list.to_a.map do |e|
|
23
23
|
{
|
24
24
|
'name' => File.basename( e.path ),
|
25
|
-
'path' => e.path.gsub( @path, '' ),
|
25
|
+
'path' => e.path.gsub( /#{@path}/i, '' ),
|
26
26
|
'uri' => uri( e.path ),
|
27
27
|
'type' => e.directory? ? 'directory' : 'file',
|
28
28
|
'elements' => e.directory? ? tree( e.path ) : [],
|
data/lib/vitreous_share.rb
CHANGED
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
version: 0.0.
|
8
|
+
- 17
|
9
|
+
version: 0.0.17
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Fernando Guillen
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2011-08-
|
17
|
+
date: 2011-08-08 00:00:00 +02:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|