mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
consolidate requires
This commit is contained in:
parent
191ed37d20
commit
7b5d28ed09
3 changed files with 10 additions and 13 deletions
12
lib/fog.rb
12
lib/fog.rb
|
@ -1,11 +1,19 @@
|
|||
require 'rubygems'
|
||||
require 'rubygems'
|
||||
require 'base64'
|
||||
require 'cgi'
|
||||
require 'digest/md5'
|
||||
require 'hmac-sha1'
|
||||
require 'hmac-sha2'
|
||||
require 'json'
|
||||
require 'mime/types'
|
||||
|
||||
__DIR__ = File.dirname(__FILE__)
|
||||
|
||||
$LOAD_PATH.unshift __DIR__ unless
|
||||
$LOAD_PATH.include?(__DIR__) ||
|
||||
$LOAD_PATH.include?(File.expand_path(__DIR__))
|
||||
|
||||
require 'base64'
|
||||
|
||||
module Fog
|
||||
|
||||
def self.mock!
|
||||
|
|
|
@ -1,11 +1,3 @@
|
|||
require 'rubygems'
|
||||
require 'base64'
|
||||
require 'cgi'
|
||||
require 'digest/md5'
|
||||
require 'hmac-sha1'
|
||||
require 'hmac-sha2'
|
||||
require 'mime/types'
|
||||
|
||||
module Fog
|
||||
module AWS
|
||||
|
||||
|
|
|
@ -1,6 +1,3 @@
|
|||
require 'rubygems'
|
||||
require 'json'
|
||||
|
||||
module Fog
|
||||
module Rackspace
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue