[DRE-commits] [ruby-soap4r] 01/03: Add patch 'Fix failing ruby2.0 tests'

David Suárez deiv-guest at moszumanska.debian.org
Sat Jan 4 01:48:45 UTC 2014


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

deiv-guest pushed a commit to branch master
in repository ruby-soap4r.

commit 5c83b14eb7539dbe8d02e985bd6cf9a08beeb8e5
Author: David Suárez <david.sephirot at gmail.com>
Date:   Sat Jan 4 02:42:12 2014 +0100

    Add patch 'Fix failing ruby2.0 tests'
---
 debian/patches/fix-failing-ruby2-tests | 27 +++++++++++++++++++++++++++
 debian/patches/series                  |  1 +
 2 files changed, 28 insertions(+)

diff --git a/debian/patches/fix-failing-ruby2-tests b/debian/patches/fix-failing-ruby2-tests
new file mode 100644
index 0000000..b744ca5
--- /dev/null
+++ b/debian/patches/fix-failing-ruby2-tests
@@ -0,0 +1,27 @@
+Description: Fix failing ruby2.0 tests
+ Fix tests:
+   - change script encoding to 'US-ASCII'
+   - lowercase 'http' protocol (ruby2 URI module default behaviour is to
+       always lowercase it)
+
+Bug-Debian: #730912
+Author: David Suárez <david.sephirot at gmail.com>
+Last-Update: 2014-01-04
+
+--- ruby-soap4r-2.0.5.orig/test/xsd/test_xsd.rb
++++ ruby-soap4r-2.0.5/test/xsd/test_xsd.rb
+@@ -1,3 +1,5 @@
++# encoding: US-ASCII
++
+ require 'test/unit'
+ require 'xsd/datatypes'
+ 
+@@ -941,7 +943,7 @@ class TestXSD2 < Test::Unit::TestCase
+       "http://foo/bar/baz",
+       "http://foo/bar#baz",
+       "http://foo/bar%20%20?a+b",
+-      "HTTP://FOO/BAR%20%20?A+B",
++      "http://FOO/BAR%20%20?A+B",
+     ]
+     targets.each do |str|
+       assert_parsed_result(XSD::XSDAnyURI, str)
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..9b694e1
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+fix-failing-ruby2-tests

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



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