commit: a01649ca1b1869fd8afb382a93c14e2e18582836
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 29 10:55:15 2025 +0000
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Tue Jul 29 10:55:29 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a01649ca
dev-ruby/wisper: enable ruby34
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
dev-ruby/wisper/wisper-3.0.0.ebuild | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/dev-ruby/wisper/wisper-3.0.0.ebuild
b/dev-ruby/wisper/wisper-3.0.0.ebuild
index db21aebd37dd..324c6448969c 100644
--- a/dev-ruby/wisper/wisper-3.0.0.ebuild
+++ b/dev-ruby/wisper/wisper-3.0.0.ebuild
@@ -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
}