From 56c14f9ab89325e73f51127f06a81bee5d8742e0 Mon Sep 17 00:00:00 2001 From: Hans de Graaff Date: Fri, 1 Feb 2019 12:17:00 +0100 Subject: dev-ruby/loofah: add ruby26 Signed-off-by: Hans de Graaff Package-Manager: Portage-2.3.51, Repoman-2.3.11 --- dev-ruby/loofah/loofah-2.2.3.ebuild | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'dev-ruby/loofah') diff --git a/dev-ruby/loofah/loofah-2.2.3.ebuild b/dev-ruby/loofah/loofah-2.2.3.ebuild index 0376b81cd3ad..e908d36b4e76 100644 --- a/dev-ruby/loofah/loofah-2.2.3.ebuild +++ b/dev-ruby/loofah/loofah-2.2.3.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2018 Gentoo Authors +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 -USE_RUBY="ruby23 ruby24 ruby25" +USE_RUBY="ruby23 ruby24 ruby25 ruby26" RUBY_FAKEGEM_RECIPE_DOC="rdoc" RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" @@ -19,7 +19,7 @@ IUSE="" ruby_add_rdepend "=dev-ruby/crass-1.0* >=dev-ruby/crass-1.0.2 >=dev-ruby/nokogiri-1.5.9" -ruby_add_bdepend "test? ( >=dev-ruby/rr-1.1.0 >=dev-ruby/hoe-2.3.0 )" +ruby_add_bdepend "test? ( >=dev-ruby/rr-1.1.0 )" all_ruby_prepare() { # Avoid unneeded development dependencies @@ -28,3 +28,7 @@ all_ruby_prepare() { # Avoid test failing on different whitespace. sed -i -e '/test_fragment_whitewash_on_microsofty_markup/askip "gentoo"' test/integration/test_ad_hoc.rb || die } + +each_ruby_test() { + ${RUBY} -Ilib:. -e 'Dir["test/test_*.rb"].each{|f| require f}' || die +} -- cgit v1.2.3-65-gdbad