From 7980cddf0e7042b6fcfdcdd1361e5c99da6c022c Mon Sep 17 00:00:00 2001 From: Hans de Graaff Date: Thu, 31 Jan 2019 07:58:38 +0100 Subject: [PATCH] dev-ruby/net-http-pipeline: add ruby26 Signed-off-by: Hans de Graaff Package-Manager: Portage-2.3.51, Repoman-2.3.11 --- .../net-http-pipeline/net-http-pipeline-1.0.1.ebuild | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/dev-ruby/net-http-pipeline/net-http-pipeline-1.0.1.ebuild b/dev-ruby/net-http-pipeline/net-http-pipeline-1.0.1.ebuild index a8ecd68283ff..0f4ded070376 100644 --- a/dev-ruby/net-http-pipeline/net-http-pipeline-1.0.1.ebuild +++ b/dev-ruby/net-http-pipeline/net-http-pipeline-1.0.1.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=5 -USE_RUBY="ruby22 ruby23 ruby24 ruby25" +USE_RUBY="ruby23 ruby24 ruby25 ruby26" RUBY_FAKEGEM_RECIPE_DOC="rdoc" inherit ruby-fakegem @@ -18,6 +18,9 @@ IUSE="" RUBY_PATCHES=( ${PN}-accept-encoding.patch ) ruby_add_bdepend " - dev-ruby/hoe test? ( dev-ruby/minitest ) " + +each_ruby_test() { + ${RUBY} -Ilib:. -e 'Dir["test/test_*.rb"].each{|f| require f}' || die +} -- 2.26.2