[DRE-commits] [SCM] gem2deb.git branch, master, updated. 0.2.8-5-g78c72b5

Antonio Terceiro terceiro at softwarelivre.org
Sun Sep 18 08:09:40 UTC 2011


The following commit has been merged in the master branch:
commit f9b5ab29bdba5d09cd2c2c0e2389ed0a8040d951
Author: Cédric Boutillier <cedric.boutillier at gmail.com>
Date:   Sun Sep 18 00:23:42 2011 -0700

    Do not skip tests after failing one
    
      The fact that non working version are deleted from supported_versions
      array breaks the iteration on rubyver.
    
    Signed-off-by: Antonio Terceiro <terceiro at softwarelivre.org>

diff --git a/lib/gem2deb/dh_ruby.rb b/lib/gem2deb/dh_ruby.rb
index 2aaff38..eb08399 100644
--- a/lib/gem2deb/dh_ruby.rb
+++ b/lib/gem2deb/dh_ruby.rb
@@ -251,7 +251,7 @@ module Gem2Deb
     end
 
     def run_tests(supported_versions)
-      supported_versions.each do |rubyver|
+      supported_versions.dup.each do |rubyver|
         if !run_tests_for_version(rubyver)
           supported_versions.delete(rubyver)
         end

-- 
gem2deb.git



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