[DRE-commits] r2521 - in packages/libwww-mechanize-ruby/trunk/debian: . patches
ari at alioth.debian.org
ari at alioth.debian.org
Sat Mar 15 20:43:58 UTC 2008
Author: ari
Date: 2008-03-15 20:43:58 +0000 (Sat, 15 Mar 2008)
New Revision: 2521
Added:
packages/libwww-mechanize-ruby/trunk/debian/patches/
packages/libwww-mechanize-ruby/trunk/debian/patches/01_scheme.patch
Modified:
packages/libwww-mechanize-ruby/trunk/debian/changelog
Log:
releasing version 0.7.5-1
Modified: packages/libwww-mechanize-ruby/trunk/debian/changelog
===================================================================
--- packages/libwww-mechanize-ruby/trunk/debian/changelog 2008-03-13 17:25:01 UTC (rev 2520)
+++ packages/libwww-mechanize-ruby/trunk/debian/changelog 2008-03-15 20:43:58 UTC (rev 2521)
@@ -1,3 +1,10 @@
+libwww-mechanize-ruby (0.7.5-1) unstable; urgency=low
+
+ * New upstream release
+ * Fix error when URI scheme has capital letters (Closes: #470642)
+
+ -- Ari Pollak <ari at debian.org> Sat, 15 Mar 2008 16:09:31 -0400
+
libwww-mechanize-ruby (0.7.2-1) unstable; urgency=low
* New upstream release
Added: packages/libwww-mechanize-ruby/trunk/debian/patches/01_scheme.patch
===================================================================
--- packages/libwww-mechanize-ruby/trunk/debian/patches/01_scheme.patch (rev 0)
+++ packages/libwww-mechanize-ruby/trunk/debian/patches/01_scheme.patch 2008-03-15 20:43:58 UTC (rev 2521)
@@ -0,0 +1,20 @@
+--- lib/www/mechanize.rb.orig 2008-03-15 16:21:43.000000000 -0400
++++ lib/www/mechanize.rb 2008-03-15 16:21:45.000000000 -0400
+@@ -456,7 +456,7 @@
+
+ # Creates a new request object based on the scheme and type
+ def fetch_request(uri, type = :get)
+- raise "unsupported scheme" unless ['http', 'https'].include?(uri.scheme)
++ raise "unsupported scheme" unless uri.scheme.match(/^https?$/i)
+ if type == :get
+ Net::HTTP::Get.new(uri.request_uri)
+ else
+@@ -466,7 +466,7 @@
+
+ # uri is an absolute URI
+ def fetch_page(uri, request, cur_page=current_page(), request_data=[])
+- raise "unsupported scheme" unless ['http', 'https'].include?(uri.scheme)
++ raise "unsupported scheme" unless uri.scheme.match(/^https?$/i)
+
+ log.info("#{ request.class }: #{ request.path }") if log
+
More information about the Pkg-ruby-extras-commits
mailing list