mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-ruby/wisper: enable ruby34
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user