diff options
author | Hans de Graaff <graaff@gentoo.org> | 2019-02-01 12:17:00 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2019-02-01 12:17:00 +0100 |
commit | 56c14f9ab89325e73f51127f06a81bee5d8742e0 (patch) | |
tree | 7928fff08d7ba41db7d095e35fca61951a886a36 /dev-ruby/loofah | |
parent | dev-ruby/crass: add ruby26 (diff) | |
download | gentoo-56c14f9ab89325e73f51127f06a81bee5d8742e0.tar.gz gentoo-56c14f9ab89325e73f51127f06a81bee5d8742e0.tar.bz2 gentoo-56c14f9ab89325e73f51127f06a81bee5d8742e0.zip |
dev-ruby/loofah: add ruby26
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'dev-ruby/loofah')
-rw-r--r-- | dev-ruby/loofah/loofah-2.2.3.ebuild | 10 |
1 files changed, 7 insertions, 3 deletions
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 +} |