commit: 63175986af6f3425b8ecbc14c2bb1f590a35831a
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 8 05:09:28 2016 +0000
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Fri Jul 8 05:09:28 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63175986
dev-ruby/multipart-post: add ruby23, enable tests
Package-Manager: portage-2.2.28
dev-ruby/multipart-post/multipart-post-2.0.0-r1.ebuild | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/dev-ruby/multipart-post/multipart-post-2.0.0-r1.ebuild
b/dev-ruby/multipart-post/multipart-post-2.0.0-r1.ebuild
index 5246e27..bc941f6 100644
--- a/dev-ruby/multipart-post/multipart-post-2.0.0-r1.ebuild
+++ b/dev-ruby/multipart-post/multipart-post-2.0.0-r1.ebuild
@@ -4,7 +4,7 @@
EAPI=5
-USE_RUBY="ruby20 ruby21 ruby22"
+USE_RUBY="ruby20 ruby21 ruby22 ruby23"
RUBY_FAKEGEM_TASK_TEST=""
RUBY_FAKEGEM_TASK_DOC=""
@@ -21,10 +21,6 @@ SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
IUSE="test"
-RESTRICT="test"
-
each_ruby_test() {
- #there is no possible way this can work
- #/usr/bin/ruby21: No such file or directory -- testrb (LoadError)
- ${RUBY} -S testrb -Ilib test || die "Tests failed."
+ ${RUBY} -Ilib:. -e "Dir['test/test_*.rb'].each{|f| require f}" || die
}