commit:     9bd9b84810933f7171cc1cbf99478da797e07828
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 15 06:56:26 2022 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Fri Jul 15 08:09:19 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9bd9b848

dev-ruby/tidy-ext: enable ruby30, ruby31

Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-ruby/tidy-ext/tidy-ext-0.1.14-r4.ebuild | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/dev-ruby/tidy-ext/tidy-ext-0.1.14-r4.ebuild 
b/dev-ruby/tidy-ext/tidy-ext-0.1.14-r4.ebuild
index aa4500bb1c4b..1027b579d387 100644
--- a/dev-ruby/tidy-ext/tidy-ext-0.1.14-r4.ebuild
+++ b/dev-ruby/tidy-ext/tidy-ext-0.1.14-r4.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
-USE_RUBY="ruby26 ruby27"
+USE_RUBY="ruby26 ruby27 ruby30 ruby31"
 
-RUBY_FAKEGEM_RECIPE_TEST="rspec"
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
 
 RUBY_FAKEGEM_EXTENSIONS=(ext/tidy/extconf.rb)
 
@@ -28,4 +28,7 @@ all_ruby_prepare() {
 
        # Avoid spec that needs network connectivity.
        rm spec/tidy/remote_uri_spec.rb || die
+
+       # rspec 3 compatibility
+       sed -i -e 's/be_true/be_truthy/' spec/tidy/compat_spec.rb || die
 }

Reply via email to