From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1545341-garchives=archives.gentoo.org@lists.gentoo.org>
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 D60C715800A
	for <garchives@archives.gentoo.org>; Sun, 13 Aug 2023 08:40:50 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 25A1C2BC01F;
	Sun, 13 Aug 2023 08:40:50 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.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 11CEF2BC01F
	for <gentoo-commits@lists.gentoo.org>; Sun, 13 Aug 2023 08:40:50 +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 501EA340DAD
	for <gentoo-commits@lists.gentoo.org>; Sun, 13 Aug 2023 08:40:49 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id DEFD2F75
	for <gentoo-commits@lists.gentoo.org>; Sun, 13 Aug 2023 08:40:47 +0000 (UTC)
From: "Hans de Graaff" <graaff@gentoo.org>
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" <graaff@gentoo.org>
Message-ID: <1691916037.e35c09c0d11542c7d3c07054f0f52aa1f15021f8.graaff@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/rest-client/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-ruby/rest-client/rest-client-2.1.0-r1.ebuild
X-VCS-Directories: dev-ruby/rest-client/
X-VCS-Committer: graaff
X-VCS-Committer-Name: Hans de Graaff
X-VCS-Revision: e35c09c0d11542c7d3c07054f0f52aa1f15021f8
X-VCS-Branch: master
Date: Sun, 13 Aug 2023 08:40:47 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: a5103c69-befa-4ffd-a735-072b30a6901e
X-Archives-Hash: 9c68f23499bcc77c5b2b4d1affaea99c

commit:     e35c09c0d11542c7d3c07054f0f52aa1f15021f8
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 13 07:30:46 2023 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sun Aug 13 08:40:37 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e35c09c0

dev-ruby/rest-client: enable ruby32

Avoid test where semantics change between ruby30 and ruby31.

Closes: https://bugs.gentoo.org/912008
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-ruby/rest-client/rest-client-2.1.0-r1.ebuild | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/dev-ruby/rest-client/rest-client-2.1.0-r1.ebuild b/dev-ruby/rest-client/rest-client-2.1.0-r1.ebuild
index 2dbf738f2748..20f6c12c5218 100644
--- a/dev-ruby/rest-client/rest-client-2.1.0-r1.ebuild
+++ b/dev-ruby/rest-client/rest-client-2.1.0-r1.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="ruby30 ruby31 ruby32"
 
 RUBY_FAKEGEM_RECIPE_TEST="rspec3"
 
@@ -37,4 +37,8 @@ all_ruby_prepare() {
 	# Fix specs confused by ruby30 keyword arguments
 	sed -i -e 's/with(/with({/' -e '/with/ s/)$/})/' spec/unit/resource_spec.rb || die
 	sed -i -e '508 s/1 => 2/{1 => 2}/' spec/unit/request_spec.rb || die
+
+	# Avoid spec where ruby semantics changed with ruby31
+	sed -e '/should reject valid URIs with no hostname/askip "different in ruby30 and ruby31"' \
+		-i spec/unit/request_spec.rb || die
 }