From d8c0661d76c1c8ad7571e915740133e62d5c6359 Mon Sep 17 00:00:00 2001 From: Hans de Graaff Date: Fri, 25 Jan 2019 07:05:32 +0100 Subject: [PATCH] dev-ruby/ruby_parser: add ruby26 Signed-off-by: Hans de Graaff Package-Manager: Portage-2.3.51, Repoman-2.3.11 --- dev-ruby/ruby_parser/ruby_parser-3.12.0.ebuild | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/dev-ruby/ruby_parser/ruby_parser-3.12.0.ebuild b/dev-ruby/ruby_parser/ruby_parser-3.12.0.ebuild index d350dd8378d9..2d80c363b30b 100644 --- a/dev-ruby/ruby_parser/ruby_parser-3.12.0.ebuild +++ b/dev-ruby/ruby_parser/ruby_parser-3.12.0.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2018 Gentoo Authors +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 -USE_RUBY="ruby23 ruby24 ruby25" +USE_RUBY="ruby23 ruby24 ruby25 ruby26" RUBY_FAKEGEM_RECIPE_DOC="rdoc" RUBY_FAKEGEM_EXTRADOC="README.rdoc History.rdoc" @@ -21,7 +21,6 @@ IUSE="" ruby_add_rdepend ">=dev-ruby/sexp_processor-4.9.0:4 !=dev-ruby/hoe-2.9.1 )" ruby_add_bdepend "test? ( dev-ruby/racc >=dev-ruby/minitest-4.3 >=dev-ruby/sexp_processor-4.10.1:4 )" DEPEND+=" test? ( dev-util/unifdef )" @@ -33,3 +32,7 @@ all_ruby_prepare() { sed -i -e '/license/d' Rakefile || die sed -i -e '/Hoe.plugin :isolate/ s:^:#:' Rakefile || die } + +each_ruby_test() { + ${RUBY} -Ilib:. -e 'Dir["test/test_*.rb"].each{|f| require f}' || die +} -- 2.26.2