[DRE-commits] [SCM] ohai.git branch, master, updated. upstream/0.6.10-10-ga48fa5b

Praveen Arimbrathodiyil pravi.a at gmail.com
Wed Feb 1 18:42:13 UTC 2012


The following commit has been merged in the master branch:
commit 4e0baca1635e0eff0b85b4591abcb93d1d5a3f9f
Author: Praveen Arimbrathodiyil <pravi.a at gmail.com>
Date:   Thu Feb 2 00:05:22 2012 +0530

    adding patch for explicit require for rspec

diff --git a/debian/patches/add-require-rspec.patch b/debian/patches/add-require-rspec.patch
new file mode 100644
index 0000000..73772b0
--- /dev/null
+++ b/debian/patches/add-require-rspec.patch
@@ -0,0 +1,15 @@
+Description: add explicit require for rspec
+ Tests fail with "undefined method describe' for main:Object (NoMethodError)"
+ .
+ This patch add an explicit rspec require to fix it.
+Bug: https://github.com/opscode/ohai/pull/57
+Author: Praveen Arimbrathodiyil <pravi.a at gmail.com>
+Last-Update: 01-02-2012
+
+--- a/spec/spec_helper.rb
++++ b/spec/spec_helper.rb
+@@ -1,3 +1,4 @@
++require 'rspec'
+ require 'mixlib/config'
+ 
+ $:.unshift(File.dirname(__FILE__) + '/../lib')
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..d47b086
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+add-require-rspec.patch

-- 
ohai.git



More information about the Pkg-ruby-extras-commits mailing list