From 26c6766b094a8cd697036b84c0f9d22f5ed33878 Mon Sep 17 00:00:00 2001 From: Lance Ivy Date: Sat, 1 Feb 2014 12:50:48 -0500 Subject: [PATCH] normalize requires syntax --- lib/fog/dreamhost.rb | 4 ++-- lib/fog/dreamhost/dns.rb | 2 +- lib/fog/ecloud.rb | 2 +- lib/fog/rackspace/auto_scale.rb | 2 +- lib/fog/rackspace/block_storage.rb | 2 +- lib/fog/rackspace/databases.rb | 2 +- lib/fog/rackspace/queues.rb | 2 +- lib/fog/riakcs.rb | 2 +- lib/fog/riakcs/provisioning.rb | 2 +- lib/fog/riakcs/usage.rb | 2 +- lib/fog/serverlove.rb | 2 +- 11 files changed, 12 insertions(+), 12 deletions(-) diff --git a/lib/fog/dreamhost.rb b/lib/fog/dreamhost.rb index 5cae60ad8..2d41be679 100644 --- a/lib/fog/dreamhost.rb +++ b/lib/fog/dreamhost.rb @@ -1,7 +1,7 @@ -require(File.expand_path(File.join(File.dirname(__FILE__), 'core'))) +require 'fog/core' module Fog - module Dreamhost + module Dreamhost extend Fog::Provider diff --git a/lib/fog/dreamhost/dns.rb b/lib/fog/dreamhost/dns.rb index d93279f48..e09cb57ef 100644 --- a/lib/fog/dreamhost/dns.rb +++ b/lib/fog/dreamhost/dns.rb @@ -1,4 +1,4 @@ -require File.expand_path(File.join(File.dirname(__FILE__), '..', 'dreamhost')) +require 'fog/dreamhost' require 'fog/dns' module Fog diff --git a/lib/fog/ecloud.rb b/lib/fog/ecloud.rb index d61730edd..3d6884969 100644 --- a/lib/fog/ecloud.rb +++ b/lib/fog/ecloud.rb @@ -1,4 +1,4 @@ -require(File.expand_path(File.join(File.dirname(__FILE__), 'core'))) +require 'fog/core' module Fog module Ecloud diff --git a/lib/fog/rackspace/auto_scale.rb b/lib/fog/rackspace/auto_scale.rb index 2ecdef2b7..0a9758563 100644 --- a/lib/fog/rackspace/auto_scale.rb +++ b/lib/fog/rackspace/auto_scale.rb @@ -1,4 +1,4 @@ -require File.expand_path(File.join(File.dirname(__FILE__), '..', 'rackspace')) +require 'fog/rackspace' module Fog module Rackspace diff --git a/lib/fog/rackspace/block_storage.rb b/lib/fog/rackspace/block_storage.rb index 17cd6d284..5902babe5 100644 --- a/lib/fog/rackspace/block_storage.rb +++ b/lib/fog/rackspace/block_storage.rb @@ -1,4 +1,4 @@ -require File.expand_path(File.join(File.dirname(__FILE__), '..', 'rackspace')) +require 'fog/rackspace' module Fog module Rackspace diff --git a/lib/fog/rackspace/databases.rb b/lib/fog/rackspace/databases.rb index 16df3e540..e22554391 100644 --- a/lib/fog/rackspace/databases.rb +++ b/lib/fog/rackspace/databases.rb @@ -1,4 +1,4 @@ -require File.expand_path(File.join(File.dirname(__FILE__), '..', 'rackspace')) +require 'fog/rackspace' module Fog module Rackspace diff --git a/lib/fog/rackspace/queues.rb b/lib/fog/rackspace/queues.rb index d95482006..cf5aa5a3f 100644 --- a/lib/fog/rackspace/queues.rb +++ b/lib/fog/rackspace/queues.rb @@ -1,4 +1,4 @@ -require File.expand_path(File.join(File.dirname(__FILE__), '..', 'rackspace')) +require 'fog/rackspace' module Fog module Rackspace diff --git a/lib/fog/riakcs.rb b/lib/fog/riakcs.rb index 9d1d13324..554284456 100644 --- a/lib/fog/riakcs.rb +++ b/lib/fog/riakcs.rb @@ -1,4 +1,4 @@ -require(File.expand_path(File.join(File.dirname(__FILE__), 'core'))) +require 'fog/core' module Fog module RiakCS diff --git a/lib/fog/riakcs/provisioning.rb b/lib/fog/riakcs/provisioning.rb index bcb2fcb76..41d346191 100644 --- a/lib/fog/riakcs/provisioning.rb +++ b/lib/fog/riakcs/provisioning.rb @@ -1,4 +1,4 @@ -require File.expand_path(File.join(File.dirname(__FILE__), '..', 'riakcs')) +require 'fog/riakcs' module Fog module RiakCS diff --git a/lib/fog/riakcs/usage.rb b/lib/fog/riakcs/usage.rb index e15c6b5bb..1a6da5211 100644 --- a/lib/fog/riakcs/usage.rb +++ b/lib/fog/riakcs/usage.rb @@ -1,4 +1,4 @@ -require File.expand_path(File.join(File.dirname(__FILE__), '..', 'riakcs')) +require 'fog/riakcs' require 'time' module Fog diff --git a/lib/fog/serverlove.rb b/lib/fog/serverlove.rb index 2bfb327d5..f8435cf11 100644 --- a/lib/fog/serverlove.rb +++ b/lib/fog/serverlove.rb @@ -1,4 +1,4 @@ -require(File.expand_path(File.join(File.dirname(__FILE__), 'core'))) +require 'fog/core' module Fog module Serverlove