[DRE-commits] [ruby-zip] 03/03: Refresh patch

Sruthi Chandran srud-guest at moszumanska.debian.org
Fri Aug 26 14:57:09 UTC 2016


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

srud-guest pushed a commit to branch master
in repository ruby-zip.

commit ecc607cb8feaa6c436523822e5c40f08cc7841fa
Author: Sruthi Chandran <srud at disroot.org>
Date:   Fri Aug 26 20:20:29 2016 +0530

    Refresh patch
---
 debian/patches/fix-random-tests-failures | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

diff --git a/debian/patches/fix-random-tests-failures b/debian/patches/fix-random-tests-failures
index 2bbadad..88de99d 100644
--- a/debian/patches/fix-random-tests-failures
+++ b/debian/patches/fix-random-tests-failures
@@ -3,11 +3,9 @@ Description: Fix random tests failures
 Origin: upstream, https://github.com/rubyzip/rubyzip/commit/96f84aee4c575a0c886462abb809ef47e2866f94
 Last-Update: 2014-09-23
 
-Index: ruby-zip/test/central_directory_test.rb
-===================================================================
---- ruby-zip.orig/test/central_directory_test.rb
-+++ ruby-zip/test/central_directory_test.rb
-@@ -6,6 +6,10 @@ class ZipCentralDirectoryTest < MiniTest
+--- a/test/central_directory_test.rb
++++ b/test/central_directory_test.rb
+@@ -5,6 +5,10 @@
      ::Zip.reset!
    end
  
@@ -16,5 +14,5 @@ Index: ruby-zip/test/central_directory_test.rb
 +  end
 +
    def test_read_from_stream
-     ::File.open(TestZipFile::TEST_ZIP2.zip_name, "rb") {
-         |zipFile|
+     ::File.open(TestZipFile::TEST_ZIP2.zip_name, 'rb') do |zipFile|
+       cdir = ::Zip::CentralDirectory.read_from_stream(zipFile)

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



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