diff options
author | 2023-03-10 08:49:24 +0100 | |
---|---|---|
committer | 2023-03-10 10:04:17 +0100 | |
commit | 19093ca83fbfdc056402223c456606eb1e860c30 (patch) | |
tree | a55032002e66c7a1975de7524a35c94b1fe26889 /dev-ruby/rspec-support | |
parent | dev-ruby/diff-lcs: enable ruby32 (diff) | |
download | gentoo-19093ca83fbfdc056402223c456606eb1e860c30.tar.gz gentoo-19093ca83fbfdc056402223c456606eb1e860c30.tar.bz2 gentoo-19093ca83fbfdc056402223c456606eb1e860c30.zip |
dev-ruby/rspec-support: enable ruby32
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/rspec-support')
-rw-r--r-- | dev-ruby/rspec-support/rspec-support-3.12.0.ebuild | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/dev-ruby/rspec-support/rspec-support-3.12.0.ebuild b/dev-ruby/rspec-support/rspec-support-3.12.0.ebuild index d4946c6dbd09..c85aefbaa89e 100644 --- a/dev-ruby/rspec-support/rspec-support-3.12.0.ebuild +++ b/dev-ruby/rspec-support/rspec-support-3.12.0.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -USE_RUBY="ruby27 ruby30 ruby31" +USE_RUBY="ruby27 ruby30 ruby31 ruby32" RUBY_FAKEGEM_RECIPE_TEST="rspec3" @@ -46,11 +46,14 @@ each_ruby_prepare() { sed -i -e '/shell_out/ s:ruby:'${RUBY}':' spec/rspec/support/spec/shell_out_spec.rb || die case ${RUBY} in - *ruby31) + *ruby31|*ruby32) # Avoid specs failing when run in Gentoo, possibly due to different IO sed -e '/outputs unified diff message of two arrays/askip "ruby31 IO"' \ -e '/outputs unified diff message for hashes inside arrays with differing key orders/askip "ruby31 IO"' \ -i spec/rspec/support/differ_spec.rb || die + + # Avoid specs broken on newer ruby versions and already pending upstream + rm -f spec/rspec/support/reentrant_mutex_spec.rb ;; esac } |