[DRE-commits] [SCM] ruby-bunny.git branch, master, updated. upstream/0.7.8-7-g8235f8f

Praveen Arimbrathodiyil pravi.a at gmail.com
Sat Jan 14 16:19:51 UTC 2012


The following commit has been merged in the master branch:
commit 1f4d0c734fdd9844d8fefc8a79fae86f9a364d2f
Author: Praveen Arimbrathodiyil <pravi.a at gmail.com>
Date:   Sat Jan 14 21:46:07 2012 +0530

    add explicit require rspec line for tests

diff --git a/debian/patches/add-require-rspec.patch b/debian/patches/add-require-rspec.patch
new file mode 100644
index 0000000..11390a1
--- /dev/null
+++ b/debian/patches/add-require-rspec.patch
@@ -0,0 +1,29 @@
+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/ruby-amqp/bunny/pull/32
+Author: Praveen Arimbrathodiyil <pravi.a at gmail.com>
+Last-Update: 14-01-2012
+
+--- a/spec/spec_08/bunny_spec.rb
++++ b/spec/spec_08/bunny_spec.rb
+@@ -10,6 +10,8 @@
+ 
+ require File.expand_path(File.join(File.dirname(__FILE__), %w[.. .. lib bunny]))
+ 
++require "rspec"
++
+ describe Bunny do
+ 
+   before(:each) do
+--- a/spec/spec_09/bunny_spec.rb
++++ b/spec/spec_09/bunny_spec.rb
+@@ -8,6 +8,7 @@
+ # If this is not the case, please change the 'Bunny.new' call below to include
+ # the relevant arguments e.g. @b = Bunny.new(:user => 'john', :pass => 'doe', :host => 'foobar')
+ 
++require "rspec"
+ require "bunny"
+ 
+ describe Bunny do
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

-- 
ruby-bunny.git



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