[DRE-commits] [gem2deb] 01/07: testtask: use `options` instead of poluting the environment

Antonio Terceiro terceiro at moszumanska.debian.org
Wed Jul 22 01:54:35 UTC 2015


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

terceiro pushed a commit to branch master
in repository gem2deb.

commit 81a1fdce3fb3d76d5d61b955bd84c3d22c4b6a77
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Tue Jul 21 20:47:01 2015 -0300

    testtask: use `options` instead of poluting the environment
---
 lib/gem2deb/rake/testtask.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/gem2deb/rake/testtask.rb b/lib/gem2deb/rake/testtask.rb
index 67a592b..e8cda24 100644
--- a/lib/gem2deb/rake/testtask.rb
+++ b/lib/gem2deb/rake/testtask.rb
@@ -9,7 +9,7 @@ module Gem2Deb
       def define(args, &task_block)
         self.libs.reject! { |path| ['lib','ext'].include?(path) }
         self.verbose = true
-        ENV['TESTOPTS'] = '-v'
+        self.options = '-v'
         super
       end
     end

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



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