vfs 0.4.7 → 0.4.8

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.
Files changed (3) hide show
  1. data/lib/vfs.rb +14 -16
  2. data/lib/vfs/drivers/local.rb +1 -0
  3. metadata +2 -2
data/lib/vfs.rb CHANGED
@@ -1,20 +1,18 @@
1
- require 'fileutils'
2
- require 'set'
1
+ module Vfs
2
+ autoload :Path, 'vfs/path'
3
+ autoload :Error, 'vfs/error'
3
4
 
4
- %w(
5
- path
6
- error
5
+ autoload :Entry, 'vfs/entries/entry'
6
+ autoload :File, 'vfs/entries/file'
7
+ autoload :Dir, 'vfs/entries/dir'
8
+ autoload :UniversalEntry, 'vfs/entries/universal_entry'
7
9
 
8
- entries/entry
9
- entries/file
10
- entries/dir
11
- entries/universal_entry
10
+ autoload :EntryProxy, 'vfs/entry_proxy'
12
11
 
13
- entry_proxy
12
+ module Drivers
13
+ autoload :Local, 'vfs/drivers/local'
14
+ end
15
+ end
14
16
 
15
- drivers/local
16
-
17
- integration
18
-
19
- vfs
20
- ).each{|f| require "vfs/#{f}"}
17
+ require 'vfs/vfs'
18
+ require 'vfs/integration'
@@ -1,3 +1,4 @@
1
+ require 'fileutils'
1
2
  require 'tempfile'
2
3
 
3
4
  module Vfs
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vfs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.7
4
+ version: 0.4.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-09-22 00:00:00.000000000Z
12
+ date: 2011-10-27 00:00:00.000000000Z
13
13
  dependencies: []
14
14
  description:
15
15
  email: