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

Antonio Terceiro terceiro at debian.org
Fri Apr 13 12:25:44 UTC 2012


The following commit has been merged in the master branch:
commit ad5ba33df29dbd5b7e3837b3eee5a38dbb06d585
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Fri Apr 13 08:14:49 2012 -0300

    Add patch

diff --git a/debian/patches/Missing-require-rubygems.patch b/debian/patches/Missing-require-rubygems.patch
new file mode 100644
index 0000000..21bf34c
--- /dev/null
+++ b/debian/patches/Missing-require-rubygems.patch
@@ -0,0 +1,15 @@
+Description: Add missing `require 'rubygems'`
+ Without this, the tests do not pass under Ruby 1.8
+Author: Antonio Terceiro <terceiro at debian.org>
+
+--- ohai-0.6.12.orig/spec/ohai/plugins/ruby_spec.rb
++++ ohai-0.6.12/spec/ohai/plugins/ruby_spec.rb
+@@ -16,7 +16,7 @@
+ # limitations under the License.
+ #
+ 
+-
++require 'rubygems'
+ require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper.rb')
+ 
+ ruby_bin = File.join(::Config::CONFIG['bindir'], ::Config::CONFIG['ruby_install_name'])
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..e3c7330
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+Missing-require-rubygems.patch

-- 
ohai.git



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