[DRE-commits] [SCM] ruby-metaclass.git branch, master, updated. upstream/0.0.1-8-ged54325
Cédric Boutillier
cedric.boutillier at gmail.com
Fri Dec 30 14:46:05 UTC 2011
The following commit has been merged in the master branch:
commit cb3b1c261f58745f85b20f28b346f0aebf5e668d
Author: Cédric Boutillier <cedric.boutillier at gmail.com>
Date: Thu Dec 29 16:25:05 2011 +0100
reorder tests and fix path to require test_helper
diff --git a/debian/patches/0200_fix_path_in_require.patch b/debian/patches/0200_fix_path_in_require.patch
new file mode 100644
index 0000000..d3e3d0f
--- /dev/null
+++ b/debian/patches/0200_fix_path_in_require.patch
@@ -0,0 +1,19 @@
+Description: Fix path in the require statement of the tests.
+ The test/ directory is not in $LOAD_PATH.
+Author: Cédric Boutillier <cedric.boutillier at gmail.com>
+Last-Update: 2011-12-29
+--- a/test/object_methods_test.rb
++++ b/test/object_methods_test.rb
+@@ -1,4 +1,4 @@
+-require "test_helper"
++require "test/test_helper"
+
+ class ObjectMethodsTest < Test::Unit::TestCase
+
+@@ -28,4 +28,4 @@
+ assert instance.__metaclass__.is_a?(Class)
+ end
+
+-end
+\ No newline at end of file
++end
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..2dc38aa
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+0100_remove_rubygems_bundler_stuff.patch
+0200_fix_path_in_require.patch
diff --git a/debian/ruby-test-files.yaml b/debian/ruby-test-files.yaml
index d7b2e42..9725713 100644
--- a/debian/ruby-test-files.yaml
+++ b/debian/ruby-test-files.yaml
@@ -1,3 +1,3 @@
---
-- test/object_methods_test.rb
- test/test_helper.rb
+- test/object_methods_test.rb
--
ruby-metaclass.git
More information about the Pkg-ruby-extras-commits
mailing list