deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfoj...@apache.org
Subject [32/50] [abbrv] git commit: SBC: Renamed the driver class to match with common pattern
Date Tue, 22 May 2012 20:19:37 GMT
SBC: Renamed the driver class to match with common pattern


Project: http://git-wip-us.apache.org/repos/asf/deltacloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltacloud/commit/5e871179
Tree: http://git-wip-us.apache.org/repos/asf/deltacloud/tree/5e871179
Diff: http://git-wip-us.apache.org/repos/asf/deltacloud/diff/5e871179

Branch: refs/heads/master
Commit: 5e87117939440461bc43c275f92bbe590eb9b551
Parents: f05c912
Author: Michal Fojtik <mfojtik@redhat.com>
Authored: Tue May 15 16:01:27 2012 +0200
Committer: Michal fojtik <mfojtik@redhat.com>
Committed: Tue May 22 22:17:36 2012 +0200

----------------------------------------------------------------------
 server/lib/deltacloud/drivers/sbc/sbc_client.rb |    2 +-
 server/lib/deltacloud/drivers/sbc/sbc_driver.rb |    6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltacloud/blob/5e871179/server/lib/deltacloud/drivers/sbc/sbc_client.rb
----------------------------------------------------------------------
diff --git a/server/lib/deltacloud/drivers/sbc/sbc_client.rb b/server/lib/deltacloud/drivers/sbc/sbc_client.rb
index a0e36cb..97e89ca 100644
--- a/server/lib/deltacloud/drivers/sbc/sbc_client.rb
+++ b/server/lib/deltacloud/drivers/sbc/sbc_client.rb
@@ -21,7 +21,7 @@ require 'digest/md5'
 
 module Deltacloud
   module Drivers
-    module SBC
+    module Sbc
 
 class FixtureNotFound < Exception; end
 

http://git-wip-us.apache.org/repos/asf/deltacloud/blob/5e871179/server/lib/deltacloud/drivers/sbc/sbc_driver.rb
----------------------------------------------------------------------
diff --git a/server/lib/deltacloud/drivers/sbc/sbc_driver.rb b/server/lib/deltacloud/drivers/sbc/sbc_driver.rb
index c7b109e..2e09a15 100644
--- a/server/lib/deltacloud/drivers/sbc/sbc_driver.rb
+++ b/server/lib/deltacloud/drivers/sbc/sbc_driver.rb
@@ -15,17 +15,17 @@
 # under the License.
 
 require 'nokogiri'
-require 'deltacloud/drivers/sbc/sbc_client'
+require_relative './sbc_client'
 
 module Deltacloud
   module Drivers
-    module SBC
+    module Sbc
 #
 # Driver for the IBM Smart Business Cloud (SBC).
 #
 # 31 January 2011
 #
-class SBCDriver < Deltacloud::BaseDriver
+class SbcDriver < Deltacloud::BaseDriver
   #
   # Retrieves images
   #


Mime
View raw message