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:
parent
dc61fc09b2
commit
8338c5f81a
12 changed files with 6 additions and 6 deletions
|
@ -4,7 +4,7 @@ module Fog
|
||||||
|
|
||||||
requires :local_root
|
requires :local_root
|
||||||
|
|
||||||
model_path 'fog/storage/models/local'
|
model_path 'fog/local/models/storage'
|
||||||
collection :directories
|
collection :directories
|
||||||
model :directory
|
model :directory
|
||||||
model :file
|
model :file
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
require 'fog/core/collection'
|
require 'fog/core/collection'
|
||||||
require 'fog/storage/models/ninefold/directory'
|
require 'fog/ninefold/models/storage/directory'
|
||||||
|
|
||||||
module Fog
|
module Fog
|
||||||
module Storage
|
module Storage
|
|
@ -1,5 +1,5 @@
|
||||||
require 'fog/core/collection'
|
require 'fog/core/collection'
|
||||||
require 'fog/storage/models/ninefold/file'
|
require 'fog/ninefold/models/storage/file'
|
||||||
|
|
||||||
module Fog
|
module Fog
|
||||||
module Storage
|
module Storage
|
|
@ -6,7 +6,7 @@ module Fog
|
||||||
extend Fog::Provider
|
extend Fog::Provider
|
||||||
|
|
||||||
service(:compute, 'compute/ninefold')
|
service(:compute, 'compute/ninefold')
|
||||||
service(:storage, 'storage/ninefold')
|
service(:storage, 'ninefold/storage')
|
||||||
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -11,7 +11,7 @@ module Fog
|
||||||
|
|
||||||
requires :ninefold_storage_token, :ninefold_storage_secret
|
requires :ninefold_storage_token, :ninefold_storage_secret
|
||||||
|
|
||||||
model_path 'fog/storage/models/ninefold'
|
model_path 'fog/ninefold/models/storage'
|
||||||
model :directory
|
model :directory
|
||||||
collection :directories
|
collection :directories
|
||||||
model :file
|
model :file
|
|
@ -18,7 +18,7 @@ module Fog
|
||||||
require 'fog/local/storage'
|
require 'fog/local/storage'
|
||||||
Fog::Storage::Local.new(attributes)
|
Fog::Storage::Local.new(attributes)
|
||||||
when :ninefold
|
when :ninefold
|
||||||
require 'fog/storage/ninefold'
|
require 'fog/ninefold/storage'
|
||||||
Fog::Storage::Ninefold.new(attributes)
|
Fog::Storage::Ninefold.new(attributes)
|
||||||
when :rackspace
|
when :rackspace
|
||||||
require 'fog/storage/rackspace'
|
require 'fog/storage/rackspace'
|
||||||
|
|
Loading…
Reference in a new issue