dev-ruby/deep_merge: fix test invocation for stable version
authorHans de Graaff <graaff@gentoo.org>
Tue, 4 Apr 2017 08:08:56 +0000 (10:08 +0200)
committerHans de Graaff <graaff@gentoo.org>
Tue, 4 Apr 2017 08:09:38 +0000 (10:09 +0200)
Package-Manager: Portage-2.3.3, Repoman-2.3.1

dev-ruby/deep_merge/deep_merge-1.0.1.ebuild

index 7a1c5fe4f8b4b350c4dd347a2d39fa8de956dded..e4916384844c93206bc36eb669733fda0ebdadcf 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -19,5 +19,5 @@ KEYWORDS="amd64 hppa ~x86"
 IUSE=""
 
 each_ruby_test() {
-       ${RUBY} -S testrb test/test_*.rb || die
+       ${RUBY} -I lib:test:. -e 'Dir["test/test_*.rb"].each{|f| require f}' || die
 }