[DRE-commits] [SCM] ruby-mocha.git branch, master, updated. 0.13.3-2-6-g15d0b9f

Cédric Boutillier boutil at debian.org
Thu May 16 23:09:55 UTC 2013


The following commit has been merged in the master branch:
commit b1415efa6e90984e52a37147228170ae5904f43f
Author: Cédric Boutillier <boutil at debian.org>
Date:   Thu May 16 17:17:59 2013 +0200

    update add_rubygems_requirement.patch

diff --git a/debian/patches/add_rubygems_requirement.patch b/debian/patches/add_rubygems_requirement.patch
index 15de307..2ada15a 100644
--- a/debian/patches/add_rubygems_requirement.patch
+++ b/debian/patches/add_rubygems_requirement.patch
@@ -4,7 +4,7 @@ Description: add requirement on rubygems
 enough to have the comparisons working. 
 Author: Cédric Boutillier <cedric.boutillier at gmail.com>
 Forwarded: https://github.com/floehopper/mocha/issues/50#issuecomment-3719831
-Last-Update: 2011-01-30
+Last-Update: 2013-05-16
 
 --- a/lib/mocha/integration/test_unit.rb
 +++ b/lib/mocha/integration/test_unit.rb
@@ -24,3 +24,12 @@ Last-Update: 2011-01-30
  require 'mocha/debug'
  
  require 'mocha/integration/mini_test/nothing'
+--- a/test/test_runner.rb
++++ b/test/test_runner.rb
+@@ -1,3 +1,6 @@
++module Gem ; end
++require 'rubygems/requirement'
++
+ if defined?(::Minitest::VERSION) && (Gem::Version.new(::Minitest::VERSION) >= Gem::Version.new('5.0.0'))
+   require File.expand_path('../minitest_result', __FILE__)
+ elsif defined?(::MiniTest::Unit::VERSION) && (Gem::Version.new(::MiniTest::Unit::VERSION) < Gem::Version.new('5.0.0'))

-- 
ruby-mocha.git



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