deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfoj...@apache.org
Subject svn commit: r1207786 - in /deltacloud/trunk/server/lib/cimi/model: base.rb machine_configuration.rb
Date Tue, 29 Nov 2011 08:39:00 GMT
Author: mfojtik
Date: Tue Nov 29 08:38:59 2011
New Revision: 1207786

URL: http://svn.apache.org/viewvc?rev=1207786&view=rev
Log:
CIMI: Moved self.add method to base driver

Modified:
    deltacloud/trunk/server/lib/cimi/model/base.rb
    deltacloud/trunk/server/lib/cimi/model/machine_configuration.rb

Modified: deltacloud/trunk/server/lib/cimi/model/base.rb
URL: http://svn.apache.org/viewvc/deltacloud/trunk/server/lib/cimi/model/base.rb?rev=1207786&r1=1207785&r2=1207786&view=diff
==============================================================================
--- deltacloud/trunk/server/lib/cimi/model/base.rb (original)
+++ deltacloud/trunk/server/lib/cimi/model/base.rb Tue Nov 29 08:38:59 2011
@@ -181,4 +181,6 @@ class CIMI::Model::Base
   hash :property, :content => :value do
     scalar :name
   end
+
+  def self.all(_self); find(:all, _self); end
 end

Modified: deltacloud/trunk/server/lib/cimi/model/machine_configuration.rb
URL: http://svn.apache.org/viewvc/deltacloud/trunk/server/lib/cimi/model/machine_configuration.rb?rev=1207786&r1=1207785&r2=1207786&view=diff
==============================================================================
--- deltacloud/trunk/server/lib/cimi/model/machine_configuration.rb (original)
+++ deltacloud/trunk/server/lib/cimi/model/machine_configuration.rb Tue Nov 29 08:38:59 2011
@@ -46,8 +46,6 @@ class CIMI::Model::MachineConfiguration 
     end
   end
 
-  def self.all(_self); find(:all, _self); end
-
   private
 
   def self.from_hardware_profile(profile, _self)



Mime
View raw message