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
|
|
|
|
$LOAD_PATH.include?(__LIB_DIR__) ||
|
|
|
|
$LOAD_PATH.include?(File.expand_path(__LIB_DIR__))
|
|
|
|
|
|
|
|
# external core dependencies
|
|
|
|
require 'rubygems'
|
|
|
|
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'
|
|
|
|
require 'time'
|
2010-12-16 15:04:28 -05:00
|
|
|
require 'timeout'
|
2010-12-16 14:24:52 -05:00
|
|
|
|
|
|
|
# internal core dependencies
|
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'
|
2010-09-29 16:22:30 -04:00
|
|
|
require 'fog/core/deprecation'
|
|
|
|
require 'fog/core/errors'
|
|
|
|
require 'fog/core/hmac'
|
|
|
|
require 'fog/core/model'
|
2010-12-16 14:24:52 -05:00
|
|
|
require 'fog/core/mock'
|
2010-10-29 18:25:14 -04:00
|
|
|
# require 'fog/core/parser'
|
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'
|
2010-12-16 14:24:52 -05:00
|
|
|
require 'fog/core/wait_for'
|