mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2026-05-06 07:27:03 -04:00
dev-ruby/did_you_mean: enable ruby40
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
@@ -2,7 +2,8 @@
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
USE_RUBY="ruby31 ruby32 ruby33 ruby34"
|
||||
|
||||
USE_RUBY="ruby32 ruby33 ruby34 ruby40"
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
|
||||
|
||||
@@ -20,4 +21,11 @@ ruby_add_bdepend "test? ( dev-ruby/minitest:5 dev-ruby/test-unit dev-ruby/test-u
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i -e '/bundler/ s:^:#:' Rakefile || die
|
||||
|
||||
# Avoid a test that no longer works in ruby40 since ostruct changed status
|
||||
sed -e '/test_load_error_from_require_has_suggestions/aomit "ostruct changed"' \
|
||||
-i test/spell_checking/test_require_path_check.rb || die
|
||||
|
||||
# Avoid ractor tests that have not been updated for ruby40 yet.
|
||||
rm -f test/test_ractor_compatibility.rb || die
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user