lib/vos.rb in vos-0.3.15 vs lib/vos.rb in vos-0.4.0
- old
+ new
@@ -1,24 +1,33 @@
raise 'ruby 1.9.2 or higher required!' if RUBY_VERSION < '1.9.2'
require 'vos/gems'
-require 'open3'
+require 'vfs'
-%w(
- support
+module Vos
+ module Drivers
+ end
+end
+%w(
drivers/local
- drivers/ssh_vfs_storage
- drivers/ssh
box/shell
box/marks
box/vfs
box
helpers/ubuntu
).each{|f| require "vos/#{f}"}
+
+# Vos::Drivers.class_eval do
+# autoload :SshVfsStorage, 'vos/drivers/ssh_vfs_storage'
+# autoload :Ssh, 'vos/drivers/ssh'
+#
+# autoload :S3VfsStorage, 'vos/drivers/s3_vfs_storage'
+# autoload :S3, 'vos/drivers/s3'
+# end
unless $vos_dont_mess_with_global_namespace
Box = Vos::Box
end
\ No newline at end of file