[DRE-commits] [ruby-thread-safe] 03/05: refresh patch modified: debian/patches/deactive_test_hash_ruby20.patch

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Thu Jul 30 11:56:43 UTC 2015


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

praveen pushed a commit to branch master
in repository ruby-thread-safe.

commit 07fdf7919c152b853de9f9274255fc43e6ee9b4a
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Thu Jul 30 16:52:09 2015 +0530

    refresh patch
    	modified:   debian/patches/deactive_test_hash_ruby20.patch
---
 debian/changelog                               |  1 +
 debian/patches/deactive_test_hash_ruby20.patch | 10 ++++++----
 2 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 7c7d1bb..f81acd5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ ruby-thread-safe (0.3.5-1) UNRELEASED; urgency=medium
 
   * Team upload.
   * New upstream release.
+  * Refresh patches.
 
  -- Pirate Praveen <praveen at debian.org>  Thu, 30 Jul 2015 16:49:56 +0530
 
diff --git a/debian/patches/deactive_test_hash_ruby20.patch b/debian/patches/deactive_test_hash_ruby20.patch
index 9ff80d8..50292db 100644
--- a/debian/patches/deactive_test_hash_ruby20.patch
+++ b/debian/patches/deactive_test_hash_ruby20.patch
@@ -4,13 +4,15 @@ Author: Cédric Boutillier <boutil at debian.org>
 Forwarded: not-needed
 Last-Update: 2013-09-26
 
+Index: ruby-thread-safe/test/test_hash.rb
+===================================================================
 --- ruby-thread-safe.orig/test/test_hash.rb
 +++ ruby-thread-safe/test/test_hash.rb
-@@ -3,6 +3,7 @@ require 'thread_safe'
+@@ -3,6 +3,7 @@ require File.join(File.dirname(__FILE__)
  
- class TestHash < Test::Unit::TestCase
+ class TestHash < Minitest::Test
    def test_concurrency
 +    pend if RUBY_VERSION =~ /2\.0/
      hsh = ThreadSafe::Hash.new
-     assert_nothing_raised do
-       (1..100).map do |i|
+     (1..THREADS).map do |i|
+       Thread.new do

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



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