From: Hans de Graaff Date: Fri, 8 Jul 2016 05:09:28 +0000 (+0200) Subject: dev-ruby/multipart-post: add ruby23, enable tests X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=63175986af6f3425b8ecbc14c2bb1f590a35831a;p=gentoo.git dev-ruby/multipart-post: add ruby23, enable tests Package-Manager: portage-2.2.28 --- 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 5246e27311ab..bc941f6d0e10 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 }