2010-12-16 15:04:28 -05:00
|
|
|
__LIB_DIR__ = File.expand_path(File.join(File.dirname(__FILE__), '..'))
|
2010-12-16 14:24:52 -05:00
|
|
|
|
|
|
|
$LOAD_PATH.unshift __LIB_DIR__ unless
|
2012-03-06 14:03:05 -05:00
|
|
|
$LOAD_PATH.include?(__LIB_DIR__)
|
2010-12-16 14:24:52 -05:00
|
|
|
|
|
|
|
# external core dependencies
|
|
|
|
require 'base64'
|
|
|
|
require 'cgi'
|
2011-03-23 20:54:37 -04:00
|
|
|
require 'uri'
|
2010-12-16 14:24:52 -05:00
|
|
|
require 'excon'
|
2011-03-09 20:03:15 -05:00
|
|
|
require 'fileutils'
|
2010-12-16 14:24:52 -05:00
|
|
|
require 'formatador'
|
2011-08-24 14:18:29 -04:00
|
|
|
require 'openssl'
|
2010-12-16 14:24:52 -05:00
|
|
|
require 'time'
|
2010-12-16 15:04:28 -05:00
|
|
|
require 'timeout'
|
2010-12-16 14:24:52 -05:00
|
|
|
|
|
|
|
# internal core dependencies
|
2012-11-27 11:17:16 -05:00
|
|
|
require "fog/version"
|
2010-09-29 16:22:30 -04:00
|
|
|
require 'fog/core/attributes'
|
|
|
|
require 'fog/core/collection'
|
|
|
|
require 'fog/core/connection'
|
2010-12-09 20:06:50 -05:00
|
|
|
require 'fog/core/credentials'
|
2012-07-12 17:22:49 -04:00
|
|
|
require 'fog/core/current_machine'
|
2010-09-29 16:22:30 -04:00
|
|
|
require 'fog/core/deprecation'
|
|
|
|
require 'fog/core/errors'
|
|
|
|
require 'fog/core/hmac'
|
2011-08-09 14:39:43 -04:00
|
|
|
require 'fog/core/json'
|
2011-09-01 18:48:43 -04:00
|
|
|
require 'fog/core/logger'
|
2010-09-29 16:22:30 -04:00
|
|
|
require 'fog/core/model'
|
2010-12-16 14:24:52 -05:00
|
|
|
require 'fog/core/mock'
|
2011-07-19 18:53:26 -04:00
|
|
|
require 'fog/core/parser' # FIXME: would be better to only load when nokogiri is required
|
2010-09-29 16:22:30 -04:00
|
|
|
require 'fog/core/provider'
|
|
|
|
require 'fog/core/service'
|
2010-10-29 19:08:56 -04:00
|
|
|
require 'fog/core/ssh'
|
2011-02-24 14:40:15 -05:00
|
|
|
require 'fog/core/scp'
|
2010-12-21 15:12:30 -05:00
|
|
|
require 'fog/core/time'
|
2011-07-11 18:06:47 -04:00
|
|
|
require 'fog/core/timeout'
|
2010-12-16 14:24:52 -05:00
|
|
|
require 'fog/core/wait_for'
|