[DRE-commits] [ruby-oj] 05/06: fix relative path in require to find test/helper.rb

Cédric Boutillier boutil at moszumanska.debian.org
Fri May 1 19:56:10 UTC 2015


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

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

commit 8f38dd5dd1391a2de9a1e40b06957ea4527e847a
Author: Cédric Boutillier <boutil at debian.org>
Date:   Fri May 1 21:46:15 2015 +0200

    fix relative path in require to find test/helper.rb
---
 debian/patches/03_find_test_helper.patch | 15 +++++++++++++++
 debian/patches/series                    |  1 +
 2 files changed, 16 insertions(+)

diff --git a/debian/patches/03_find_test_helper.patch b/debian/patches/03_find_test_helper.patch
new file mode 100644
index 0000000..6c6bf06
--- /dev/null
+++ b/debian/patches/03_find_test_helper.patch
@@ -0,0 +1,15 @@
+Description: add relative path so that test/test_debian.rb can find test/helper.rb
+Author: Cédric Boutillier <boutil at debian.org>
+Last-Update: 2015-05-01
+Forwarded: no
+
+--- a/test/test_debian.rb
++++ b/test/test_debian.rb
+@@ -1,6 +1,6 @@
+ # encoding: UTF-8
+ 
+-require 'helper'
++require './test/helper'
+ 
+ class DebJuice < Minitest::Test
+   class Jam
diff --git a/debian/patches/series b/debian/patches/series
index d0b6e42..50c2cb6 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 01_dont_mess_with_loadpath.patch
 02_avoid_name_conflict_with_ext.patch
+03_find_test_helper.patch

-- 
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