tags 873576 + patch tags 873576 + pending user debian-rele...@lists.debian.org usertags 873576 bsp-2019-01-nl-venlo thanks
Dear maintainer, I've prepared an NMU for ruby-rest-client (versioned as 2.0.2-3.1) and uploaded it to DELAYED/5. Please feel free to tell me if I should delay it longer. Regards. Paul Sent from the BSP in Venlo
diff -Nru ruby-rest-client-2.0.2/debian/changelog ruby-rest-client-2.0.2/debian/changelog --- ruby-rest-client-2.0.2/debian/changelog 2017-10-31 11:21:55.000000000 +0100 +++ ruby-rest-client-2.0.2/debian/changelog 2019-01-13 18:31:39.000000000 +0100 @@ -1,3 +1,10 @@ +ruby-rest-client (2.0.2-3.1) unstable; urgency=medium + + * Non-maintainer upload. + * Disable more network-dependent tests (Closes: #873576) + + -- Paul Gevers <elb...@debian.org> Sun, 13 Jan 2019 18:31:39 +0100 + ruby-rest-client (2.0.2-3) unstable; urgency=medium * Add patches from Steve Langasek <steve.langa...@ubuntu.com> to fix diff -Nru ruby-rest-client-2.0.2/debian/patches/disable-network-tests.patch ruby-rest-client-2.0.2/debian/patches/disable-network-tests.patch --- ruby-rest-client-2.0.2/debian/patches/disable-network-tests.patch 2017-10-31 11:21:55.000000000 +0100 +++ ruby-rest-client-2.0.2/debian/patches/disable-network-tests.patch 2019-01-13 18:31:39.000000000 +0100 @@ -1,13 +1,16 @@ From: Matthias Klose <d...@ubuntu.com> From: Steve Langasek <steve.langa...@ubuntu.com> -Last-Update: 2017-08-29 +From: Paul Gevers <elb...@debian.org> +Last-Update: 2019-01-13 Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=818459 Bug-Debian: https://bugs.debian.org/873576 Forwarded: no ---- a/spec/integration/request_spec.rb -+++ b/spec/integration/request_spec.rb -@@ -10,96 +10,7 @@ describe RestClient::Request do +Index: ruby-rest-client/spec/integration/request_spec.rb +=================================================================== +--- ruby-rest-client.orig/spec/integration/request_spec.rb ++++ ruby-rest-client/spec/integration/request_spec.rb +@@ -10,118 +10,11 @@ describe RestClient::Request do end describe "ssl verification" do @@ -105,10 +108,16 @@ end describe "timeouts" do -@@ -113,15 +24,6 @@ describe RestClient::Request do - raise_error(RestClient::Exceptions::OpenTimeout)) - end - +- it "raises OpenTimeout when it hits an open timeout" do +- request = RestClient::Request.new( +- :method => :get, +- :url => 'http://www.mozilla.org', +- :open_timeout => 1e-10, +- ) +- expect { request.execute }.to( +- raise_error(RestClient::Exceptions::OpenTimeout)) +- end +- - it "raises ReadTimeout when it hits a read timeout via :read_timeout" do - request = RestClient::Request.new( - :method => :get, @@ -118,11 +127,14 @@ - expect { request.execute }.to( - raise_error(RestClient::Exceptions::ReadTimeout)) - end ++ # all removed; accessing the network end end ---- a/spec/integration/httpbin_spec.rb -+++ b/spec/integration/httpbin_spec.rb +Index: ruby-rest-client/spec/integration/httpbin_spec.rb +=================================================================== +--- ruby-rest-client.orig/spec/integration/httpbin_spec.rb ++++ ruby-rest-client/spec/integration/httpbin_spec.rb @@ -40,48 +40,6 @@ describe RestClient::Request do end
signature.asc
Description: OpenPGP digital signature