dev-ruby/ruby-ole: enable ruby34

Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
Hans de Graaff 2025-08-05 11:34:48 +02:00
parent 0f20547844
commit fc25b6659c
No known key found for this signature in database
GPG Key ID: DB347F938654FA34

View File

@ -1,8 +1,9 @@
# Copyright 1999-2024 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
USE_RUBY="ruby31 ruby32 ruby33"
USE_RUBY="ruby32 ruby33 ruby34"
# Avoid the complexity of the "rake" recipe and run testrb-2 manually.
RUBY_FAKEGEM_RECIPE_TEST=none
@ -23,6 +24,12 @@ IUSE="test"
ruby_add_bdepend "test? ( dev-ruby/test-unit:2 )"
all_ruby_prepare() {
# Account for differences in Ruby 3.4 output of warnings.
sed -e '/expect/ s/test.logger/.*test.logger.?/' \
-i test/test_support.rb || die
}
each_ruby_test() {
ruby-ng_testrb-2 --pattern='test.*\.rb' test/
}