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 059DD15802F for ; Sun, 12 Mar 2023 12:09:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 49A58E07EE; Sun, 12 Mar 2023 12:09:43 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 316B1E07EA for ; Sun, 12 Mar 2023 12:09:43 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4BCAD340E53 for ; Sun, 12 Mar 2023 12:09:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 478BB8EB for ; Sun, 12 Mar 2023 12:09:39 +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: <1678622974.34d771757bf08549a1905a71f4dbb6a879ac7c99.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/amq-client/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/amq-client/amq-client-1.0.4-r1.ebuild X-VCS-Directories: dev-ruby/amq-client/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 34d771757bf08549a1905a71f4dbb6a879ac7c99 X-VCS-Branch: master Date: Sun, 12 Mar 2023 12:09:39 +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: 88b87a20-beb3-43c8-8d5f-3a5b7c1a6566 X-Archives-Hash: 162a9acf1e5dd327d8aafdbad7901f0e commit: 34d771757bf08549a1905a71f4dbb6a879ac7c99 Author: Hans de Graaff gentoo org> AuthorDate: Sun Mar 12 10:18:22 2023 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sun Mar 12 12:09:34 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34d77175 dev-ruby/amq-client: enable ruby30, ruby31 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/amq-client/amq-client-1.0.4-r1.ebuild | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/dev-ruby/amq-client/amq-client-1.0.4-r1.ebuild b/dev-ruby/amq-client/amq-client-1.0.4-r1.ebuild index 34a9498d3994..f47b8e023b73 100644 --- a/dev-ruby/amq-client/amq-client-1.0.4-r1.ebuild +++ b/dev-ruby/amq-client/amq-client-1.0.4-r1.ebuild @@ -1,13 +1,13 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -USE_RUBY="ruby26 ruby27" +USE_RUBY="ruby27 ruby30 ruby31" RUBY_FAKEGEM_TASK_DOC="" RUBY_FAKEGEM_EXTRADOC="README.textile" -RUBY_FAKEGEM_RECIPE_TEST="rspec" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" RUBY_FAKEGEM_BINWRAP="" @@ -32,4 +32,8 @@ all_ruby_prepare() { # Drop integration tests since these require a running AMQP server. rm -rf spec/integration spec/regression/bad_frame_slicing_in_adapters_spec.rb spec/unit/client_spec.rb || die + + # Make specs compatible with rspec 3 + sed -e 's/be_false/be_falsey/ ; s/be_true/be_truthy/' \ + -i spec/unit/client/*_spec.rb spec/client/protocol/*_spec.rb || die }