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

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

local fix
This commit is contained in:
geemus 2011-08-24 14:07:16 -05:00
parent dc61fc09b2
commit 8338c5f81a
12 changed files with 6 additions and 6 deletions

View file

@ -4,7 +4,7 @@ module Fog
requires :local_root
model_path 'fog/storage/models/local'
model_path 'fog/local/models/storage'
collection :directories
model :directory
model :file

View file

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

View file

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

View file

@ -6,7 +6,7 @@ module Fog
extend Fog::Provider
service(:compute, 'compute/ninefold')
service(:storage, 'storage/ninefold')
service(:storage, 'ninefold/storage')
end
end

View file

@ -11,7 +11,7 @@ module Fog
requires :ninefold_storage_token, :ninefold_storage_secret
model_path 'fog/storage/models/ninefold'
model_path 'fog/ninefold/models/storage'
model :directory
collection :directories
model :file

View file

@ -18,7 +18,7 @@ module Fog
require 'fog/local/storage'
Fog::Storage::Local.new(attributes)
when :ninefold
require 'fog/storage/ninefold'
require 'fog/ninefold/storage'
Fog::Storage::Ninefold.new(attributes)
when :rackspace
require 'fog/storage/rackspace'