diff options
author | Hans de Graaff <graaff@gentoo.org> | 2022-03-27 11:54:06 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2022-03-27 11:54:17 +0200 |
commit | d5330d61c70e0ff87db89398e87f90d89a26a3f5 (patch) | |
tree | 6c29b504022af734bc29c59b2e0c5053380ed81b /dev-ruby/mechanize | |
parent | dev-ruby/connection_pool: enable ruby31 and disable ruby25 (diff) | |
download | gentoo-d5330d61c70e0ff87db89398e87f90d89a26a3f5.tar.gz gentoo-d5330d61c70e0ff87db89398e87f90d89a26a3f5.tar.bz2 gentoo-d5330d61c70e0ff87db89398e87f90d89a26a3f5.zip |
dev-ruby/mechanize: enable ruby30
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/mechanize')
-rw-r--r-- | dev-ruby/mechanize/mechanize-2.8.4.ebuild | 6 |
1 files changed, 5 insertions, 1 deletions
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 |