mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
fix more broken require paths from reorg
This commit is contained in:
parent
a66cb9e157
commit
5d9f65ed90
47 changed files with 47 additions and 47 deletions
|
@ -27,7 +27,7 @@ class AWS < Fog::Bin
|
|||
|
||||
def [](service)
|
||||
@@connections ||= Hash.new do |hash, key|
|
||||
hash[key] = case service
|
||||
hash[key] = case key
|
||||
when :cdn
|
||||
Fog::CDN.new(:provider => 'AWS')
|
||||
when :compute
|
||||
|
|
|
@ -12,7 +12,7 @@ class Bluebox < Fog::Bin
|
|||
|
||||
def [](service)
|
||||
@@connections ||= Hash.new do |hash, key|
|
||||
hash[key] = case service
|
||||
hash[key] = case key
|
||||
when :blocks
|
||||
location = caller.first
|
||||
warning = "[yellow][WARN] Bluebox[:blocks] is deprecated, use Bluebox[:compute] instead[/]"
|
||||
|
|
|
@ -12,7 +12,7 @@ class Brightbox < Fog::Bin
|
|||
|
||||
def [](service)
|
||||
@@connections ||= Hash.new do |hash, key|
|
||||
hash[key] = case service
|
||||
hash[key] = case key
|
||||
when :compute
|
||||
Fog::Compute.new(:provider => 'Brightbox')
|
||||
else
|
||||
|
|
|
@ -12,7 +12,7 @@ class GoGrid < Fog::Bin
|
|||
|
||||
def [](service)
|
||||
@@connections ||= Hash.new do |hash, key|
|
||||
hash[key] = case service
|
||||
hash[key] = case key
|
||||
when :compute
|
||||
Fog::Compute.new(:provider => 'GoGrid')
|
||||
when :servers
|
||||
|
|
|
@ -12,7 +12,7 @@ class Google < Fog::Bin
|
|||
|
||||
def [](service)
|
||||
@@connections ||= Hash.new do |hash, key|
|
||||
hash[key] = case service
|
||||
hash[key] = case key
|
||||
when :storage
|
||||
Fog::Storage.new(:provider => 'Google')
|
||||
else
|
||||
|
|
|
@ -14,7 +14,7 @@ class Linode < Fog::Bin
|
|||
|
||||
def [](service)
|
||||
@@connections ||= Hash.new do |hash, key|
|
||||
hash[key] = case service
|
||||
hash[key] = case key
|
||||
when :compute
|
||||
Fog::Compute.new(:provider => 'Linode')
|
||||
when :dns
|
||||
|
|
|
@ -12,7 +12,7 @@ class Local < Fog::Bin
|
|||
|
||||
def [](service)
|
||||
@@connections ||= Hash.new do |hash, key|
|
||||
hash[key] = case service
|
||||
hash[key] = case key
|
||||
when :files
|
||||
location = caller.first
|
||||
warning = "[yellow][WARN] Local[:files] is deprecated, use Local[:storage] instead[/]"
|
||||
|
|
|
@ -12,7 +12,7 @@ class NewServers < Fog::Bin
|
|||
|
||||
def [](service)
|
||||
@@connections ||= Hash.new do |hash, key|
|
||||
hash[key] = case service
|
||||
hash[key] = case key
|
||||
when :compute
|
||||
Fog::Compute.new(:provider => 'NewServers')
|
||||
when :new_servers
|
||||
|
|
|
@ -16,7 +16,7 @@ class Rackspace < Fog::Bin
|
|||
|
||||
def [](service)
|
||||
@@connections ||= Hash.new do |hash, key|
|
||||
hash[key] = case service
|
||||
hash[key] = case key
|
||||
when :cdn
|
||||
Fog::CDN.new(:provider => 'Rackspace')
|
||||
when :compute
|
||||
|
|
|
@ -20,7 +20,7 @@ class Slicehost < Fog::Bin
|
|||
warning << " [light_black](" << location << ")[/] "
|
||||
Formatador.display_line(warning)
|
||||
end
|
||||
hash[key] = case service
|
||||
hash[key] = case key
|
||||
when :compute, :slices
|
||||
Fog::Compute.new(:provider => 'Slicehost')
|
||||
when :dns
|
||||
|
|
|
@ -12,7 +12,7 @@ class Zerigo < Fog::Bin
|
|||
|
||||
def [](service)
|
||||
@@connections ||= Hash.new do |hash, key|
|
||||
hash[key] = case service
|
||||
hash[key] = case key
|
||||
when :dns
|
||||
Fog::DNS.new(:provider => 'Zerigo')
|
||||
else
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
require 'fog/core/collection'
|
||||
require 'fog/brightbox/models/compute/cloud_ip'
|
||||
require 'fog/compute/models/brightbox/cloud_ip'
|
||||
|
||||
module Fog
|
||||
module Brightbox
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
require 'fog/core/collection'
|
||||
require 'fog/brightbox/models/compute/flavor'
|
||||
require 'fog/compute/models/brightbox/flavor'
|
||||
|
||||
module Fog
|
||||
module Brightbox
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
require 'fog/core/collection'
|
||||
require 'fog/brightbox/models/compute/image'
|
||||
require 'fog/compute/models/brightbox/image'
|
||||
|
||||
module Fog
|
||||
module Brightbox
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
require 'fog/core/collection'
|
||||
require 'fog/brightbox/models/compute/load_balancer'
|
||||
require 'fog/compute/models/brightbox/load_balancer'
|
||||
|
||||
module Fog
|
||||
module Brightbox
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
require 'fog/core/collection'
|
||||
require 'fog/brightbox/models/compute/server'
|
||||
require 'fog/compute/models/brightbox/server'
|
||||
|
||||
module Fog
|
||||
module Brightbox
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
require 'fog/core/collection'
|
||||
require 'fog/brightbox/models/compute/user'
|
||||
require 'fog/compute/models/brightbox/user'
|
||||
|
||||
module Fog
|
||||
module Brightbox
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
require 'fog/core/collection'
|
||||
require 'fog/brightbox/models/compute/zone'
|
||||
require 'fog/compute/models/brightbox/zone'
|
||||
|
||||
module Fog
|
||||
module Brightbox
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
require 'fog/core/collection'
|
||||
require 'fog/rackspace/models/compute/flavor'
|
||||
require 'fog/compute/models/rackspace/flavor'
|
||||
|
||||
module Fog
|
||||
module Rackspace
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
require 'fog/core/collection'
|
||||
require 'fog/rackspace/models/compute/image'
|
||||
require 'fog/compute/models/rackspace/image'
|
||||
|
||||
module Fog
|
||||
module Rackspace
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
require 'fog/core/collection'
|
||||
require 'fog/rackspace/models/compute/server'
|
||||
require 'fog/compute/models/rackspace/server'
|
||||
|
||||
module Fog
|
||||
module Rackspace
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
require 'fog/core/collection'
|
||||
require 'fog/slicehost/models/compute/flavor'
|
||||
require 'fog/compute/models/slicehost/flavor'
|
||||
|
||||
module Fog
|
||||
module Slicehost
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
require 'fog/core/collection'
|
||||
require 'fog/slicehost/models/compute/image'
|
||||
require 'fog/compute/models/slicehost/image'
|
||||
|
||||
module Fog
|
||||
module Slicehost
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
require 'fog/core/collection'
|
||||
require 'fog/slicehost/models/compute/server'
|
||||
require 'fog/compute/models/slicehost/server'
|
||||
|
||||
module Fog
|
||||
module Slicehost
|
||||
|
|
|
@ -12,7 +12,7 @@ module Fog
|
|||
model :zone
|
||||
collection :zones
|
||||
|
||||
request_path 'fog/dns/models/linode'
|
||||
request_path 'fog/dns/requests/linode'
|
||||
request :domain_create
|
||||
request :domain_delete
|
||||
request :domain_list
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
require 'fog/core/collection'
|
||||
require 'fog/aws/models/dns/record'
|
||||
require 'fog/dns/models/aws/record'
|
||||
|
||||
module Fog
|
||||
module AWS
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
require 'fog/core/model'
|
||||
# require 'fog/aws/models/dns/records'
|
||||
# require 'fog/dns/models/aws/records'
|
||||
|
||||
module Fog
|
||||
module AWS
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
require 'fog/core/collection'
|
||||
require 'fog/aws/models/dns/zone'
|
||||
require 'fog/dns/models/aws/zone'
|
||||
|
||||
module Fog
|
||||
module AWS
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
require 'fog/core/collection'
|
||||
require 'fog/linode/models/dns/record'
|
||||
require 'fog/dns/models/linode/record'
|
||||
|
||||
module Fog
|
||||
module Linode
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
require 'fog/core/model'
|
||||
require 'fog/linode/models/dns/records'
|
||||
require 'fog/dns/models/linode/records'
|
||||
|
||||
module Fog
|
||||
module Linode
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
require 'fog/core/collection'
|
||||
require 'fog/linode/models/dns/zone'
|
||||
require 'fog/dns/models/linode/zone'
|
||||
|
||||
module Fog
|
||||
module Linode
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
require 'fog/core/collection'
|
||||
require 'fog/slicehost/models/dns/record'
|
||||
require 'fog/dns/models/slicehost/record'
|
||||
|
||||
module Fog
|
||||
module Slicehost
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
require 'fog/core/model'
|
||||
require 'fog/slicehost/models/dns/records'
|
||||
require 'fog/dns/models/slicehost/records'
|
||||
|
||||
module Fog
|
||||
module Slicehost
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
require 'fog/core/collection'
|
||||
require 'fog/slicehost/models/dns/zone'
|
||||
require 'fog/dns/models/slicehost/zone'
|
||||
|
||||
module Fog
|
||||
module Slicehost
|
||||
|
|
|
@ -12,7 +12,7 @@ module Fog
|
|||
model :zone
|
||||
collection :zones
|
||||
|
||||
request_path 'fog/dns/models/zerigo'
|
||||
request_path 'fog/dns/requests/zerigo'
|
||||
request :count_hosts
|
||||
request :count_zones
|
||||
request :create_host
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
require 'fog/core/collection'
|
||||
require 'fog/aws/models/storage/directory'
|
||||
require 'fog/storage/models/aws/directory'
|
||||
|
||||
module Fog
|
||||
module AWS
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
require 'fog/core/model'
|
||||
require 'fog/aws/models/storage/files'
|
||||
require 'fog/storage/models/aws/files'
|
||||
|
||||
module Fog
|
||||
module AWS
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
require 'fog/core/collection'
|
||||
require 'fog/aws/models/storage/file'
|
||||
require 'fog/storage/models/aws/file'
|
||||
|
||||
module Fog
|
||||
module AWS
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
require 'fog/core/collection'
|
||||
require 'fog/google/models/storage/directory'
|
||||
require 'fog/storage/models/google/directory'
|
||||
|
||||
module Fog
|
||||
module Google
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
require 'fog/core/model'
|
||||
require 'fog/google/models/storage/files'
|
||||
require 'fog/storage/models/google/files'
|
||||
|
||||
module Fog
|
||||
module Google
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
require 'fog/core/collection'
|
||||
require 'fog/google/models/storage/file'
|
||||
require 'fog/storage/models/google/file'
|
||||
|
||||
module Fog
|
||||
module Google
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
require 'fog/core/collection'
|
||||
require 'fog/local/models/storage/directory'
|
||||
require 'fog/storage/models/local/directory'
|
||||
|
||||
module Fog
|
||||
module Local
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
require 'fog/core/model'
|
||||
require 'fog/local/models/storage/files'
|
||||
require 'fog/storage/models/local/files'
|
||||
|
||||
module Fog
|
||||
module Local
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
require 'fog/core/collection'
|
||||
require 'fog/local/models/storage/file'
|
||||
require 'fog/storage/models/local/file'
|
||||
|
||||
module Fog
|
||||
module Local
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
require 'fog/core/collection'
|
||||
require 'fog/rackspace/models/storage/directory'
|
||||
require 'fog/storage/models/rackspace/directory'
|
||||
|
||||
module Fog
|
||||
module Rackspace
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
require 'fog/core/model'
|
||||
require 'fog/rackspace/models/storage/files'
|
||||
require 'fog/storage/models/rackspace/files'
|
||||
|
||||
module Fog
|
||||
module Rackspace
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
require 'fog/core/collection'
|
||||
require 'fog/rackspace/models/storage/file'
|
||||
require 'fog/storage/models/rackspace/file'
|
||||
|
||||
module Fog
|
||||
module Rackspace
|
||||
|
|
Loading…
Reference in a new issue