[DRE-commits] [SCM] ruby-test-spec.git branch, master, updated. upstream/0.10.0-8-gcc337f8

Cédric Boutillier cedric.boutillier at gmail.com
Wed Sep 21 23:42:28 UTC 2011


The following commit has been merged in the master branch:
commit 5a704cd27576229d1e940ea3539cf0107aa20bd2
Author: Cédric Boutillier <cedric.boutillier at gmail.com>
Date:   Thu Sep 22 01:04:14 2011 +0200

    examples: fix path in require

diff --git a/debian/patches/0030-fix_require_path_in_examples.patch b/debian/patches/0030-fix_require_path_in_examples.patch
new file mode 100644
index 0000000..730ebc8
--- /dev/null
+++ b/debian/patches/0030-fix_require_path_in_examples.patch
@@ -0,0 +1,14 @@
+Description: change path in examples to use lib installed by the package
+Author: Cédric Boutillier <cedric.boutillier at gmail.com>
+Last-Update: 2011-09-21
+
+--- a/examples/stack_spec.rb
++++ b/examples/stack_spec.rb
+@@ -1,6 +1,6 @@
+ # Copied with minor code changes (should_xxx -> should.xxx) from RSpec.
+ 
+-require File.dirname(__FILE__) + '/../lib/test/spec'
++require 'test/spec'
+ require File.dirname(__FILE__) + "/stack"
+ 
+ context "A stack (in general)" do
diff --git a/debian/patches/series b/debian/patches/series
index d18990a..0ca2199 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 0010-disable_invalid_test_exception.patch
 0020-remove_load_path_manipulations_in_tests.patch
+0030-fix_require_path_in_examples.patch

-- 
ruby-test-spec.git



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