From d5330d61c70e0ff87db89398e87f90d89a26a3f5 Mon Sep 17 00:00:00 2001 From: Hans de Graaff Date: Sun, 27 Mar 2022 11:54:06 +0200 Subject: dev-ruby/mechanize: enable ruby30 Signed-off-by: Hans de Graaff --- dev-ruby/mechanize/mechanize-2.8.4.ebuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'dev-ruby/mechanize') diff --git a/dev-ruby/mechanize/mechanize-2.8.4.ebuild b/dev-ruby/mechanize/mechanize-2.8.4.ebuild index 82d711365d91..1cea8314b068 100644 --- a/dev-ruby/mechanize/mechanize-2.8.4.ebuild +++ b/dev-ruby/mechanize/mechanize-2.8.4.ebuild @@ -3,7 +3,7 @@ EAPI=8 -USE_RUBY="ruby26 ruby27" +USE_RUBY="ruby26 ruby27 ruby30" RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md EXAMPLES.rdoc GUIDE.rdoc README.md" @@ -33,6 +33,10 @@ ruby_add_rdepend " >=dev-ruby/webrobots-0.1.2 =dev-ruby/webrobots-0.1* " +each_ruby_test() { + ${RUBY} -Ilib:.:test -e '$VERBOSE=true; Dir["test/**/test_*.rb"].each{|f| require f}' || die +} + all_ruby_install() { all_fakegem_install -- cgit v1.2.3-65-gdbad