diff options
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 +} |