From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A7DFC15808B for ; Thu, 31 Mar 2022 05:39:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F2CB0E07DB; Thu, 31 Mar 2022 05:39:33 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 070C3E07C9 for ; Thu, 31 Mar 2022 05:39:32 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6510B341449 for ; Thu, 31 Mar 2022 05:39:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B7CF9357 for ; Thu, 31 Mar 2022 05:39:29 +0000 (UTC) From: "Hans de Graaff" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Hans de Graaff" Message-ID: <1648705162.5ba5c34cee44cd5726195ffbfa76e35fba62bca4.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/rspec-support/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/rspec-support/rspec-support-3.11.0.ebuild X-VCS-Directories: dev-ruby/rspec-support/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 5ba5c34cee44cd5726195ffbfa76e35fba62bca4 X-VCS-Branch: master Date: Thu, 31 Mar 2022 05:39:29 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 4d1c647b-38ee-42e9-b0d5-33c93ed9aec3 X-Archives-Hash: 00d196221f51d4f1c76e52e4c30cff18 commit: 5ba5c34cee44cd5726195ffbfa76e35fba62bca4 Author: Hans de Graaff gentoo org> AuthorDate: Wed Mar 30 06:44:46 2022 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Thu Mar 31 05:39:22 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ba5c34c dev-ruby/rspec-support: enable ruby31 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/rspec-support/rspec-support-3.11.0.ebuild | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/dev-ruby/rspec-support/rspec-support-3.11.0.ebuild b/dev-ruby/rspec-support/rspec-support-3.11.0.ebuild index d7fe9d10c9e9..b655ae6d9d07 100644 --- a/dev-ruby/rspec-support/rspec-support-3.11.0.ebuild +++ b/dev-ruby/rspec-support/rspec-support-3.11.0.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=8 -USE_RUBY="ruby26 ruby27 ruby30" +USE_RUBY="ruby26 ruby27 ruby30 ruby31" RUBY_FAKEGEM_RECIPE_TEST="rspec3" @@ -44,6 +44,15 @@ all_ruby_prepare() { each_ruby_prepare() { # Use the ruby version being tested sed -i -e '/shell_out/ s:ruby:'${RUBY}':' spec/rspec/support/spec/shell_out_spec.rb || die + + case ${RUBY} in + *ruby31) + # 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 + ;; + esac } each_ruby_test() {