[DRE-commits] [ruby-mocha] 02/04: drop add_rubygems_requirement.patch, not needed anymore

Cédric Boutillier boutil at moszumanska.debian.org
Sat Feb 15 23:44:25 UTC 2014


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

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

commit 7b391961e164b2b83adb8b9bf2eb256e98b098e7
Author: Cédric Boutillier <boutil at debian.org>
Date:   Sat Feb 15 12:09:00 2014 +0100

    drop add_rubygems_requirement.patch, not needed anymore
---
 debian/patches/add_rubygems_requirement.patch | 35 ---------------------------
 debian/patches/series                         |  1 -
 2 files changed, 36 deletions(-)

diff --git a/debian/patches/add_rubygems_requirement.patch b/debian/patches/add_rubygems_requirement.patch
deleted file mode 100644
index 2ada15a..0000000
--- a/debian/patches/add_rubygems_requirement.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-Description: add requirement on rubygems
- Gem::Version is used to compare versions of the test_unit and mini_test gems.
- Defining by hand the Gem module and requiring on rubygems/requirement is
-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: 2013-05-16
-
---- a/lib/mocha/integration/test_unit.rb
-+++ b/lib/mocha/integration/test_unit.rb
-@@ -1,3 +1,6 @@
-+module Gem ; end
-+require 'rubygems/requirement'
-+
- require 'mocha/debug'
- 
- require 'mocha/integration/test_unit/nothing'
---- a/lib/mocha/integration/mini_test.rb
-+++ b/lib/mocha/integration/mini_test.rb
-@@ -1,3 +1,6 @@
-+module Gem ; end
-+require 'rubygems/requirement'
-+
- 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'))
diff --git a/debian/patches/series b/debian/patches/series
index f06bdd5..328fe79 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,2 @@
-add_rubygems_requirement.patch
 deactivate_failing_tests.patch
 privacy_breach.patch

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



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