Update explicit requires patch and comment its status.
authorFrantišek Dvořák <valtri@civ.zcu.cz>
Mon, 15 Sep 2014 22:38:42 +0000 (00:38 +0200)
committerFrantišek Dvořák <valtri@civ.zcu.cz>
Mon, 15 Sep 2014 22:38:42 +0000 (00:38 +0200)
rOCCI-server.spec
rocci-server-requires.diff

index 18e141d..be202a1 100644 (file)
@@ -23,6 +23,7 @@ Source5:        %{name}.target
 # (not intended for upstream)
 Patch0:         rocci-server-unbundle.diff
 # missing requires in code (needed when bundler is not used)
+# https://github.com/EGI-FCTF/rOCCI-server/pull/55
 Patch1:         rocci-server-requires.diff
 
 BuildArch:      noarch
index a8b5339..39bfa07 100644 (file)
@@ -1,4 +1,8 @@
-Missing requires needed without bundler.
+commit b695e2bad951a1ed051ae78bde50cbb8811fbec4
+Author: František Dvořák <valtri@civ.zcu.cz>
+Date:   Tue Sep 16 00:25:08 2014 +0200
+
+    Requires needed when bundler is not used.
 
 diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb
 index 980305c..5d4a179 100644
@@ -71,3 +75,15 @@ index a445104..dcd3caf 100644
  module ROCCIServer
    VERSION = '1.0.5'
    ROCCI_VERSION = ::Occi::VERSION
+diff --git a/lib/backends/opennebula/authn/cloud_auth_client.rb b/lib/backends/opennebula/authn/cloud_auth_client.rb
+index a6674a2..2e2b480 100644
+--- a/lib/backends/opennebula/authn/cloud_auth_client.rb
++++ b/lib/backends/opennebula/authn/cloud_auth_client.rb
+@@ -14,6 +14,7 @@
+ # limitations under the License.                                             #
+ #--------------------------------------------------------------------------- #
++require 'opennebula'
+ require 'thread'
+ module Backends::Opennebula::Authn