deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfoj...@apache.org
Subject [11/65] git commit: Core: Make possible to load frontends outside config.ru
Date Fri, 20 Jul 2012 09:59:21 GMT
Core: Make possible to load frontends outside config.ru


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

Branch: refs/heads/master
Commit: 1d77be0db4e884be1c2b76e964ac86120776fbed
Parents: da55072
Author: Michal Fojtik <mfojtik@redhat.com>
Authored: Wed Jul 18 17:54:27 2012 +0200
Committer: Michal fojtik <mfojtik@redhat.com>
Committed: Fri Jul 20 11:58:47 2012 +0200

----------------------------------------------------------------------
 server/lib/deltacloud_rack.rb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltacloud/blob/1d77be0d/server/lib/deltacloud_rack.rb
----------------------------------------------------------------------
diff --git a/server/lib/deltacloud_rack.rb b/server/lib/deltacloud_rack.rb
index 1c1301d..3b609ed 100644
--- a/server/lib/deltacloud_rack.rb
+++ b/server/lib/deltacloud_rack.rb
@@ -42,7 +42,7 @@ module Deltacloud
 
   def self.require_frontend!(frontend=:deltacloud)
     frontend = frontend.to_sym
-    require File.join(File.dirname(__FILE__), frontend.to_s, 'server.rb')
+    load File.join(File.dirname(__FILE__), frontend.to_s, 'server.rb')
     Deltacloud[frontend].klass eval('::'+Deltacloud[frontend].klass)
   end
 


Mime
View raw message