From 82e4e6116d95ba948b451591b56931ec86fe7f06 Mon Sep 17 00:00:00 2001 From: Hans de Graaff Date: Sat, 26 Jan 2019 08:32:19 +0100 Subject: [PATCH] dev-ruby/ruby2ruby: add ruby26 Signed-off-by: Hans de Graaff Package-Manager: Portage-2.3.51, Repoman-2.3.11 --- dev-ruby/ruby2ruby/ruby2ruby-2.4.1.ebuild | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/dev-ruby/ruby2ruby/ruby2ruby-2.4.1.ebuild b/dev-ruby/ruby2ruby/ruby2ruby-2.4.1.ebuild index bbbc83c02083..551cac345a76 100644 --- a/dev-ruby/ruby2ruby/ruby2ruby-2.4.1.ebuild +++ b/dev-ruby/ruby2ruby/ruby2ruby-2.4.1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 -USE_RUBY="ruby22 ruby23 ruby24 ruby25" +USE_RUBY="ruby23 ruby24 ruby25 ruby26" RUBY_FAKEGEM_RECIPE_DOC="rdoc" RUBY_FAKEGEM_EXTRADOC="README.rdoc History.rdoc" @@ -27,3 +27,7 @@ ruby_add_bdepend "test? ( >=dev-ruby/minitest-5.3:5 >=dev-ruby/sexp_processor-4. all_ruby_prepare() { sed -i -e '/plugin :isolate/ s:^:#:' Rakefile || die } + +each_ruby_test() { + ${RUBY} -Ilib:. -e 'Dir["test/test_*.rb"].each{|f| require f}' || die +} -- 2.26.2