dev-ruby/ruby2ruby: add ruby26
authorHans de Graaff <graaff@gentoo.org>
Sat, 26 Jan 2019 07:32:19 +0000 (08:32 +0100)
committerHans de Graaff <graaff@gentoo.org>
Sat, 26 Jan 2019 16:44:57 +0000 (17:44 +0100)
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

dev-ruby/ruby2ruby/ruby2ruby-2.4.1.ebuild

index bbbc83c02083c79754123514cca8ce2fbe40cdef..551cac345a7641345629aa1a23c21be343a777c3 100644 (file)
@@ -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
+}