[DRE-commits] [SCM] ruby-mixlib-cli.git branch, master, updated. upstream/1.2.2-9-g4129d8c
Praveen Arimbrathodiyil
pravi.a at gmail.com
Wed Dec 28 14:52:54 UTC 2011
The following commit has been merged in the master branch:
commit 17d929ecf9cb745faba5e5ce174bd36a3d100a8b
Author: Praveen Arimbrathodiyil <pravi.a at gmail.com>
Date: Wed Dec 28 20:10:15 2011 +0530
add patch for explicit require for rspec
diff --git a/debian/patches/001-require-explicit-rspec.patch b/debian/patches/001-require-explicit-rspec.patch
new file mode 100644
index 0000000..1172f97
--- /dev/null
+++ b/debian/patches/001-require-explicit-rspec.patch
@@ -0,0 +1,18 @@
+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/mixlib-cli/pull/6
+Author: Praveen Arimbrathodiyil <pravi.a at gmail.com>
+Last-Update: 27-12-2011
+
+--- a/spec/spec_helper.rb
++++ b/spec/spec_helper.rb
+@@ -1,6 +1,7 @@
+ $TESTING=true
+ $:.push File.join(File.dirname(__FILE__), '..', 'lib')
+
++require 'rspec'
+ require 'mixlib/cli'
+
+ class TestCLI
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..d8318f9
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+001-require-explicit-rspec.patch
--
ruby-mixlib-cli.git
More information about the Pkg-ruby-extras-commits
mailing list