vitreous_share 0.0.15 → 0.0.17

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.
@@ -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 ) : [],
@@ -1,5 +1,5 @@
1
1
  module Vitreous
2
2
  module Share
3
- VERSION = "0.0.15"
3
+ VERSION = "0.0.17"
4
4
  end
5
5
  end
@@ -2,6 +2,7 @@ require 'json'
2
2
  require 'dropbox'
3
3
  require 'mustache'
4
4
  require 'rdiscount'
5
+ require 'ostruct'
5
6
 
6
7
  require "#{File.dirname(__FILE__)}/vitreous/vitreous"
7
8
  require "#{File.dirname(__FILE__)}/vitreous/share/indexer_utils"
@@ -13,7 +13,7 @@
13
13
  # def test_generate
14
14
  # structure =
15
15
  # Vitreous::Share::DropboxStructure.new(
16
- # "/Public/XXX5/website",
16
+ # "/Public/Vitreous FAQ Spanish/website",
17
17
  # @session
18
18
  # )
19
19
  #
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 15
9
- version: 0.0.15
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-07 00:00:00 +02:00
17
+ date: 2011-08-08 00:00:00 +02:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency