[DRE-commits] [ruby-zoom] 01/03: debian/ruby-tests.rake: avoid Ruby version mismatch when loading library

Antonio Terceiro terceiro at moszumanska.debian.org
Mon Feb 29 00:06:20 UTC 2016


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

terceiro pushed a commit to branch master
in repository ruby-zoom.

commit 05f2c9eb398ec4ca08c67f1f65c024de49347159
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Sun Feb 28 20:53:30 2016 -0300

    debian/ruby-tests.rake: avoid Ruby version mismatch when loading library
    
    Closes: #815773
---
 debian/changelog       | 9 +++++++++
 debian/ruby-tests.rake | 2 +-
 2 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 82ee63b..b81c8ca 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+ruby-zoom (0.4.1-7) UNRELEASED; urgency=medium
+
+  * Team upload.
+  * debian/ruby-tests.rake: skip `-I src` option to avoid one Ruby version
+    loading a library built for a different version from the build directory
+    (Closes: #815773)
+
+ -- Antonio Terceiro <terceiro at debian.org>  Sun, 28 Feb 2016 20:50:34 -0300
+
 ruby-zoom (0.4.1-6) unstable; urgency=low
 
   [ Cédric Boutillier ]
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
index c2e5785..e95fe10 100644
--- a/debian/ruby-tests.rake
+++ b/debian/ruby-tests.rake
@@ -8,6 +8,6 @@ Rake::TestTask.new do |t|
   # z3950.loc.gov) (see bug #683153 — Thanks to Felix Geyer for the
   # report and solution!)
   t.test_files = FileList['test/package_test.rb']
-  t.ruby_opts << '-I src' << '-rzoom' << '-rtest/unit'
+  t.ruby_opts << '-rzoom' << '-rtest/unit'
   t.verbose = true
 end

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



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