[DRE-commits] [ruby-minitest] 06/08: refresh patches

Cédric Boutillier boutil at moszumanska.debian.org
Mon Dec 9 15:25:50 UTC 2013


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

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

commit 7fa8f954af75f9a78112be9be8ed3779391fca8c
Author: Cédric Boutillier <boutil at debian.org>
Date:   Mon Dec 9 16:14:41 2013 +0100

    refresh patches
---
 debian/patches/disable-require-rubygems | 11 +++++++++++
 debian/patches/disable-some-tests       |  8 ++++----
 2 files changed, 15 insertions(+), 4 deletions(-)

diff --git a/debian/patches/disable-require-rubygems b/debian/patches/disable-require-rubygems
index cfa1662..a9649e2 100644
--- a/debian/patches/disable-require-rubygems
+++ b/debian/patches/disable-require-rubygems
@@ -14,3 +14,14 @@ Last-Update: 2013-05-16
  require "minitest"
  require "minitest/spec"
  require "minitest/mock"
+--- a/lib/minitest.rb
++++ b/lib/minitest.rb
+@@ -79,7 +79,7 @@
+ 
+     seen = {}
+ 
+-    require "rubygems" unless defined? Gem
++    #require "rubygems" unless defined? Gem
+ 
+     Gem.find_files("minitest/*_plugin.rb").each do |plugin_path|
+       name = File.basename plugin_path, "_plugin.rb"
diff --git a/debian/patches/disable-some-tests b/debian/patches/disable-some-tests
index 294879c..47f6a80 100644
--- a/debian/patches/disable-some-tests
+++ b/debian/patches/disable-some-tests
@@ -22,7 +22,7 @@ Last-Update: 2013-06-12
      @tu =
      Class.new Minitest::Test do
        def test_something
-@@ -1172,7 +1172,7 @@
+@@ -1181,7 +1181,7 @@
      end
    end
  
@@ -31,7 +31,7 @@ Last-Update: 2013-06-12
      e = assert_raises Minitest::Assertion do
        @tc.assert_raises RuntimeError do
          raise SyntaxError, "icky"
-@@ -1194,7 +1194,7 @@
+@@ -1203,7 +1203,7 @@
      assert_equal expected, actual
    end
  
@@ -40,7 +40,7 @@ Last-Update: 2013-06-12
      e = assert_raises Minitest::Assertion do
        @tc.assert_raises RuntimeError, "XXX" do
          raise SyntaxError, "icky"
-@@ -1241,7 +1241,7 @@
+@@ -1250,7 +1250,7 @@
      assert_equal expected, e.message
    end
  
@@ -49,7 +49,7 @@ Last-Update: 2013-06-12
      e = assert_raises Minitest::Assertion do
        @tc.assert_raises StandardError do
          raise AnError
-@@ -1818,7 +1818,7 @@
+@@ -1827,7 +1827,7 @@
      end
    end
  

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



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