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

Remove duplicate requires from services

Following work on reorganising the requires, there was an inconsistent
approach to where service wrappers are required. (Fog::Compute...)

Since they should be standardised and shared across providers (although
they really aren't yet) they have been moved to `fog-core` gem.

Each provider has their own `lib/fog/{provider}/core` files that is
required by each of their services. These files should all require
`fog/core` which already required most or these.

So this removes the extra cases to concentrate them in core.
This commit is contained in:
Paul Thornthwaite 2014-02-13 17:44:48 +00:00
parent ffb0175bc2
commit a72433d2f8
59 changed files with 6 additions and 61 deletions

View file

@ -1,5 +1,4 @@
require 'fog/atmos/core'
require 'fog/storage'
module Fog
module Storage

View file

@ -1,5 +1,4 @@
require 'fog/aws/core'
require 'fog/cdn'
module Fog
module CDN

View file

@ -1,5 +1,4 @@
require 'fog/aws/core'
require 'fog/compute'
module Fog
module Compute

View file

@ -1,5 +1,4 @@
require 'fog/aws/core'
require 'fog/dns'
module Fog
module DNS

View file

@ -1,5 +1,6 @@
require 'fog/aws/core'
# See http://docs.amazonwebservices.com/general/latest/gr/signature-version-4.html
#
module Fog
module AWS
class SignatureV4

View file

@ -1,5 +1,4 @@
require 'fog/aws/core'
require 'fog/storage'
module Fog
module Storage

View file

@ -1,5 +1,4 @@
require 'fog/bare_metal_cloud/core'
require 'fog/compute'
module Fog
module Compute

View file

@ -1,5 +1,4 @@
require 'fog/bluebox/core'
require 'fog/compute'
module Fog
module Compute

View file

@ -1,5 +1,4 @@
require 'fog/bluebox/core'
require 'fog/dns'
module Fog
module DNS

View file

@ -1,5 +1,4 @@
require 'fog/brightbox/core'
require 'fog/compute'
require 'fog/brightbox/compute/shared'
require 'fog/brightbox/compute/image_selector'

View file

@ -1,6 +1,5 @@
require 'fog/cloudsigma/core'
require 'fog/cloudsigma/connection'
require 'fog/compute'
module Fog
module Compute

View file

@ -1,5 +1,4 @@
require 'fog/cloudstack/core'
require 'fog/compute'
require 'digest/md5'
module Fog

View file

@ -1,5 +1,4 @@
require 'fog/digitalocean/core'
require 'fog/compute'
module Fog
module Compute

View file

@ -1,5 +1,4 @@
require 'fog/dnsimple/core'
require 'fog/dns'
module Fog
module DNS

View file

@ -1,5 +1,4 @@
require 'fog/dnsmadeeasy/core'
require 'fog/dns'
module Fog
module DNS

View file

@ -1,5 +1,4 @@
require 'fog/dreamhost/core'
require 'fog/dns'
module Fog
module DNS

View file

@ -1,5 +1,4 @@
require 'fog/dynect/core'
require 'fog/dns'
module Fog
module DNS

View file

@ -1,5 +1,4 @@
require 'fog/go_grid/core'
require 'fog/compute'
module Fog
module Compute

View file

@ -1,5 +1,4 @@
require 'fog/google/core'
require 'fog/compute'
module Fog
module Compute

View file

@ -1,5 +1,4 @@
require 'fog/google/core'
require 'fog/storage'
module Fog
module Storage

View file

@ -1,5 +1,4 @@
require 'fog/hp/core'
require 'fog/compute'
module Fog
module Compute

View file

@ -1,5 +1,4 @@
require 'fog/hp/core'
require 'fog/compute'
module Fog
module Compute

View file

@ -1,5 +1,4 @@
require 'fog/hp/core'
require 'fog/storage'
module Fog
module Storage

View file

@ -1,5 +1,4 @@
require 'fog/ibm/core'
require 'fog/compute'
module Fog
module Compute

View file

@ -1,5 +1,4 @@
require 'fog/ibm/core'
require 'fog/storage'
module Fog
module Storage

View file

@ -1,5 +1,4 @@
require 'fog/internet_archive/core'
require 'fog/storage'
module Fog
module Storage

View file

@ -1,6 +1,5 @@
require 'fog/joyent/core'
require 'fog/joyent/errors'
require 'fog/compute'
require 'net/ssh'
module Fog

View file

@ -1,4 +1,5 @@
require 'fog/joyent/core'
module Fog
module Compute
class Joyent < Fog::Service

View file

@ -1,5 +1,4 @@
require 'fog/libvirt/core'
require 'fog/compute'
require 'fog/libvirt/models/compute/util/util'
require 'fog/libvirt/models/compute/util/uri'

View file

@ -1,5 +1,4 @@
require 'fog/linode/core'
require 'fog/compute'
module Fog
module Compute

View file

@ -1,5 +1,4 @@
require 'fog/linode/core'
require 'fog/dns'
module Fog
module DNS

View file

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

View file

@ -1,5 +1,4 @@
require 'fog/ninefold/core'
require 'fog/compute'
module Fog
module Compute

View file

@ -1,5 +1,4 @@
require 'fog/ninefold'
require 'fog/storage'
require 'fog/atmos'
module Fog

View file

@ -1,5 +1,4 @@
require 'fog/openstack/core'
require 'fog/compute'
module Fog
module Compute

View file

@ -1,5 +1,4 @@
require 'fog/openstack/core'
require 'fog/metering'
module Fog
module Metering

View file

@ -1,5 +1,4 @@
require 'fog/openstack/core'
require 'fog/storage'
module Fog
module Storage

View file

@ -1,5 +1,4 @@
require 'fog/openvz/core'
require 'fog/compute'
module Fog
module Compute

View file

@ -1,5 +1,4 @@
require 'fog/rackspace/core'
require 'fog/cdn'
module Fog
module CDN

View file

@ -1,5 +1,4 @@
require 'fog/rackspace/core'
require 'fog/compute'
module Fog
module Compute

View file

@ -1,5 +1,4 @@
require 'fog/rackspace/core'
require 'fog/compute'
module Fog
module Compute

View file

@ -1,5 +1,4 @@
require 'fog/rackspace/core'
require 'fog/dns'
module Fog
module DNS

View file

@ -1,5 +1,4 @@
require 'fog/rackspace/core'
require 'fog/storage'
module Fog
module Storage

View file

@ -1,5 +1,4 @@
require 'fog/rage4/core'
require 'fog/dns'
module Fog
module DNS

View file

@ -1,6 +1,5 @@
require 'fog/storm_on_demand/core'
require 'fog/storm_on_demand/shared'
require 'fog/account'
module Fog
module Account

View file

@ -1,5 +1,4 @@
require 'fog/storm_on_demand/core'
require 'fog/billing'
require 'fog/storm_on_demand/shared'
module Fog

View file

@ -1,5 +1,4 @@
require 'fog/storm_on_demand/core'
require 'fog/compute'
require 'fog/storm_on_demand/shared'
module Fog

View file

@ -1,5 +1,4 @@
require 'fog/storm_on_demand/core'
require 'fog/dns'
require 'fog/storm_on_demand/shared'
module Fog

View file

@ -1,5 +1,4 @@
require 'fog/storm_on_demand/core'
require 'fog/monitoring'
require 'fog/storm_on_demand/shared'
module Fog

View file

@ -1,6 +1,5 @@
require 'fog/storm_on_demand/core'
require 'fog/storm_on_demand/shared'
require 'fog/network'
module Fog
module Network

View file

@ -1,5 +1,4 @@
require 'fog/storm_on_demand/core'
require "fog/storage"
require "fog/storm_on_demand/shared"
module Fog

View file

@ -1,5 +1,4 @@
require 'fog/storm_on_demand/core'
require 'fog/support'
require 'fog/storm_on_demand/shared'
module Fog

View file

@ -1,6 +1,5 @@
require 'fog/storm_on_demand/core'
require 'fog/storm_on_demand/shared'
require 'fog/vpn'
module Fog
module VPN

View file

@ -1,5 +1,4 @@
require 'fog/vcloud/core'
require 'fog/compute'
module Fog
module Vcloud

View file

@ -1,5 +1,4 @@
require 'fog/vcloud_director/core'
require 'fog/compute'
class VcloudDirectorParser < Fog::Parsers::Base
def extract_attributes(attributes_xml)

View file

@ -1,5 +1,4 @@
require 'fog/vmfusion/core'
require 'fog/compute'
module Fog
module Compute

View file

@ -1,5 +1,4 @@
require 'fog/voxel/core'
require 'fog/compute'
module Fog
module Compute

View file

@ -1,5 +1,4 @@
require 'fog/xenserver/core'
require 'fog/compute'
module Fog
module Compute

View file

@ -1,5 +1,4 @@
require 'fog/zerigo/core'
require 'fog/dns'
module Fog
module DNS