[DRE-commits] [ruby-curb] 02/05: refresh patches

Cédric Boutillier boutil at moszumanska.debian.org
Tue Nov 14 14:51:02 UTC 2017


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

boutil pushed a commit to branch master
in repository ruby-curb.

commit 0f1d5fdaafa4be4237b39e1ea9fc6892e7335a63
Author: Cédric Boutillier <boutil at debian.org>
Date:   Tue Nov 14 15:37:23 2017 +0100

    refresh patches
---
 debian/patches/disable_test_requiring_network.patch |  4 ++--
 debian/patches/use-test-files-for-tests.patch       | 10 +++++-----
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/debian/patches/disable_test_requiring_network.patch b/debian/patches/disable_test_requiring_network.patch
index fe6bb8d..db980b0 100644
--- a/debian/patches/disable_test_requiring_network.patch
+++ b/debian/patches/disable_test_requiring_network.patch
@@ -1,11 +1,11 @@
 Description: disable test requiring network access
 Author: Cédric Boutillier <boutil at debian.org>
 Bug-Debian: http://bugs.debian.org/710940
-Last-Update: 2016-06-06
+Last-Update: 2017-11-14
 
 --- a/tests/tc_curl_easy.rb
 +++ b/tests/tc_curl_easy.rb
-@@ -946,7 +946,7 @@
+@@ -955,7 +955,7 @@
      assert_equal 'COPY', curl.body_str
    end
  
diff --git a/debian/patches/use-test-files-for-tests.patch b/debian/patches/use-test-files-for-tests.patch
index cf1fdd1..e4a66a6 100644
--- a/debian/patches/use-test-files-for-tests.patch
+++ b/debian/patches/use-test-files-for-tests.patch
@@ -2,11 +2,11 @@ Description: use files from tests/ instead of C files from ext/ for tests
  because they are around when doing autopkgtest
 Author: Cédric Boutillier <boutil at debian.org>
 Forwarded: no
-Last-Update: 2016-06-06
+Last-Update: 2017-11-14
 
 --- a/tests/helper.rb
 +++ b/tests/helper.rb
-@@ -149,7 +149,7 @@
+@@ -151,7 +151,7 @@
            server = WEBrick::HTTPServer.new :Port => port, :DocumentRoot => File.expand_path(File.dirname(__FILE__))
  
            server.mount(servlet.path, servlet)
@@ -15,7 +15,7 @@ Last-Update: 2016-06-06
  
            trap("INT") { server.shutdown }
            GC.start
-@@ -165,7 +165,7 @@
+@@ -167,7 +167,7 @@
          @server = WEBrick::HTTPServer.new :Port => port, :DocumentRoot => File.expand_path(File.dirname(__FILE__))
  
          @server.mount(servlet.path, servlet)
@@ -34,7 +34,7 @@ Last-Update: 2016-06-06
 +    dl_url = "http://127.0.0.1:9129/tests/unittests.rb"
      dl_path = File.join(Dir::tmpdir, "dl_url_test.file")
  
-     curb = Curl::Easy.download(dl_url, dl_path)
+     Curl::Easy.download(dl_url, dl_path)
      assert File.exist?(dl_path)
 -    assert_equal File.read(File.join(File.dirname(__FILE__), '..','ext','curb_easy.c')), File.read(dl_path)
 +    assert_equal File.read(File.join(File.dirname(__FILE__), '..','tests','unittests.rb')), File.read(dl_path)
@@ -48,7 +48,7 @@ Last-Update: 2016-06-06
      dl_path = File.join(Dir::tmpdir, "dl_url_test.file")
      io = File.open(dl_path, 'wb')
  
-     curb = Curl::Easy.download(dl_url, io)
+     Curl::Easy.download(dl_url, io)
      assert io.closed?
      assert File.exist?(dl_path)
 -    assert_equal File.read(File.join(File.dirname(__FILE__), '..','ext','curb_easy.c')), File.read(dl_path)

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



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