From: Hans de Graaff Date: Sat, 26 Jan 2019 07:32:19 +0000 (+0100) Subject: dev-ruby/ruby2ruby: add ruby26 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=82e4e6116d95ba948b451591b56931ec86fe7f06;p=gentoo.git dev-ruby/ruby2ruby: add ruby26 Signed-off-by: Hans de Graaff Package-Manager: Portage-2.3.51, Repoman-2.3.11 --- 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 +}