[DRE-commits] [ruby-hiredis] 01/04: Add patch for ruby 1.9/2.0 compatibility, only touches tests

Christian Hofstaedtler zeha at moszumanska.debian.org
Tue Dec 31 13:47:05 UTC 2013


This is an automated email from the git hooks/post-receive script.

zeha pushed a commit to branch master
in repository ruby-hiredis.

commit 60e75e92fe01e5e637da24e7fb21f634153fc6d9
Author: Christian Hofstaedtler <zeha at debian.org>
Date:   Tue Dec 31 14:44:05 2013 +0100

    Add patch for ruby 1.9/2.0 compatibility, only touches tests
---
 debian/patches/ruby19.patch | 13 +++++++++++++
 debian/patches/series       |  1 +
 2 files changed, 14 insertions(+)

diff --git a/debian/patches/ruby19.patch b/debian/patches/ruby19.patch
new file mode 100644
index 0000000..c392edd
--- /dev/null
+++ b/debian/patches/ruby19.patch
@@ -0,0 +1,13 @@
+Index: ruby-hiredis/test/connection_test.rb
+===================================================================
+--- ruby-hiredis.orig/test/connection_test.rb	2013-12-31 14:41:33.000000000 +0100
++++ ruby-hiredis/test/connection_test.rb	2013-12-31 14:43:18.398964667 +0100
+@@ -35,7 +35,7 @@ module ConnectionTests
+   end
+ 
+   def test_connect_wrong_host
+-    assert_raise RuntimeError, /can't resolve/i do
++    assert_raise RuntimeError do
+       hiredis.connect("nonexisting", 6379)
+     end
+   end
diff --git a/debian/patches/series b/debian/patches/series
index 94b76c3..65b9f24 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 use_system_libhiredis.patch
+ruby19.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-hiredis.git



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