1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

[storage|local] move local storage to its own shared area (namespacing should probably be corrected)

ninefold fix
This commit is contained in:
geemus 2011-08-24 14:03:25 -05:00
parent 1a4a0efda0
commit dc61fc09b2
8 changed files with 6 additions and 6 deletions

View file

@ -5,7 +5,7 @@ module Fog
extend Fog::Provider
service(:storage, 'storage/local')
service(:storage, 'local/storage')
end
end

View file

@ -1,5 +1,5 @@
require 'fog/core/collection'
require 'fog/storage/models/local/directory'
require 'fog/local/models/storage/directory'
module Fog
module Storage

View file

@ -1,5 +1,5 @@
require 'fog/core/model'
require 'fog/storage/models/local/files'
require 'fog/local/models/storage/files'
module Fog
module Storage

View file

@ -1,5 +1,5 @@
require 'fog/core/collection'
require 'fog/storage/models/local/file'
require 'fog/local/models/storage/file'
module Fog
module Storage

View file

@ -15,7 +15,7 @@ module Fog
require 'fog/google/storage'
Fog::Storage::Google.new(attributes)
when :local
require 'fog/storage/local'
require 'fog/local/storage'
Fog::Storage::Local.new(attributes)
when :ninefold
require 'fog/storage/ninefold'

View file

@ -17,7 +17,7 @@ module Fog
model :file
collection :files
request_path 'fog/storage/requests/ninefold'
request_path 'fog/ninefold/requests/storage'
# request :delete_container
request :get_namespace
request :post_namespace