[DRE-commits] [ruby-oj] 03/07: refresh 01_dont_mess_with_loadpath.patch

Cédric Boutillier boutil at moszumanska.debian.org
Mon Jun 23 05:16:34 UTC 2014


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

boutil pushed a commit to annotated tag debian/2.9.6-1
in repository ruby-oj.

commit 4b7caeba10a584793959bb57ac3f03dfb37d0170
Author: Cédric Boutillier <boutil at debian.org>
Date:   Mon Jun 23 06:49:05 2014 +0200

    refresh 01_dont_mess_with_loadpath.patch
---
 debian/patches/01_dont_mess_with_loadpath.patch | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/debian/patches/01_dont_mess_with_loadpath.patch b/debian/patches/01_dont_mess_with_loadpath.patch
index 3a005ef..ae305b7 100644
--- a/debian/patches/01_dont_mess_with_loadpath.patch
+++ b/debian/patches/01_dont_mess_with_loadpath.patch
@@ -4,16 +4,16 @@ Author: Cédric Boutillier <boutil at debian.org>
 Forwarded: not-needed
 Last-Update: 2013-03-20
 
---- a/test/tests.rb
-+++ b/test/tests.rb
-@@ -7,8 +7,8 @@
+--- a/test/helper.rb
++++ b/test/helper.rb
+@@ -4,10 +4,6 @@
  
  $VERBOSE = true
  
--$: << File.join(File.dirname(__FILE__), "../lib")
--$: << File.join(File.dirname(__FILE__), "../ext")
-+#$: << File.join(File.dirname(__FILE__), "../lib")
-+#$: << File.join(File.dirname(__FILE__), "../ext")
- 
- require 'test/unit'
- require 'stringio'
+-%w(lib ext test).each do |dir|
+-  $LOAD_PATH.unshift File.expand_path("../../#{dir}", __FILE__)
+-end
+-
+ require 'rubygems' if RUBY_VERSION.start_with?('1.8.')
+ require 'minitest'
+ require 'minitest/autorun'

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



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