dev-ruby/minitest: add ruby27
authorHans de Graaff <graaff@gentoo.org>
Fri, 3 Jan 2020 15:41:16 +0000 (16:41 +0100)
committerHans de Graaff <graaff@gentoo.org>
Fri, 3 Jan 2020 15:55:07 +0000 (16:55 +0100)
Package-Manager: Portage-2.3.79, Repoman-2.3.16
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
dev-ruby/minitest/minitest-4.7.5-r2.ebuild

index 7397bdd3279c6278f9d0af9fa5678080e7a5a230..5ced7ac74dcdd797d6261892084ffaf7816b8292 100644 (file)
@@ -1,8 +1,8 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
-USE_RUBY="ruby23 ruby24 ruby25 ruby26"
+USE_RUBY="ruby24 ruby25 ruby26 ruby27"
 
 RUBY_FAKEGEM_RECIPE_DOC="rdoc"
 
@@ -20,11 +20,7 @@ KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 ~sh sparc x86 ~am
 IUSE="doc test"
 
 each_ruby_prepare() {
-       case ${RUBY} in
-               *ruby24|*ruby25|*ruby26)
-                       sed -i -e 's/Fixnum/Integer/' test/minitest/test_minitest_spec.rb || die
-                       ;;
-       esac
+       sed -i -e 's/Fixnum/Integer/' test/minitest/test_minitest_spec.rb || die
 }
 
 each_ruby_test() {