dev-ruby/wisper: enable ruby34

Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
Hans de Graaff
2025-07-29 12:55:15 +02:00
parent 2c86ee537d
commit a01649ca1b

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"
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
@@ -21,4 +22,8 @@ KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
all_ruby_prepare() {
sed -i -e '/coverall/I s:^:#:' spec/spec_helper.rb || die
# Account for 'inspect' differences in ruby 3.4
sed -e '/expect/ s/{:x=>:y}/#{{:x=>:y}.inspect}/' \
-i spec/lib/wisper/broadcasters/logger_broadcaster_spec.rb || die
}