mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
e5c438a206
this forces each provider to set up its own requires and share through fog/core.
48 lines
1.1 KiB
Ruby
48 lines
1.1 KiB
Ruby
__LIB_DIR__ = File.expand_path(File.join(File.dirname(__FILE__), '..'))
|
|
|
|
$LOAD_PATH.unshift __LIB_DIR__ unless
|
|
$LOAD_PATH.include?(__LIB_DIR__)
|
|
|
|
# external core dependencies
|
|
require 'base64'
|
|
require 'cgi'
|
|
require 'uri'
|
|
require 'excon'
|
|
require 'fileutils'
|
|
require 'formatador'
|
|
require 'openssl'
|
|
require 'time'
|
|
require 'timeout'
|
|
|
|
# internal core dependencies
|
|
require "fog/version"
|
|
require 'fog/core/attributes'
|
|
require 'fog/core/collection'
|
|
require 'fog/core/connection'
|
|
require 'fog/core/credentials'
|
|
require 'fog/core/current_machine'
|
|
require 'fog/core/deprecation'
|
|
require 'fog/core/errors'
|
|
require 'fog/core/hmac'
|
|
require 'fog/core/json'
|
|
require 'fog/core/logger'
|
|
require 'fog/core/model'
|
|
require 'fog/core/mock'
|
|
require 'fog/core/parser' # FIXME: would be better to only load when nokogiri is required
|
|
require 'fog/core/provider'
|
|
require 'fog/core/service'
|
|
require 'fog/core/ssh'
|
|
require 'fog/core/scp'
|
|
require 'fog/core/time'
|
|
require 'fog/core/timeout'
|
|
require 'fog/core/wait_for'
|
|
|
|
# service wrappers
|
|
require 'fog/compute'
|
|
require 'fog/identity'
|
|
require 'fog/image'
|
|
require 'fog/volume'
|
|
require 'fog/cdn'
|
|
require 'fog/dns'
|
|
require 'fog/network'
|
|
require 'fog/storage'
|