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 470E3158094 for ; Sun, 25 Sep 2022 08:43:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 85D35E0D16; Sun, 25 Sep 2022 08:43:20 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 649BEE0D16 for ; Sun, 25 Sep 2022 08:43:20 +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 6D160340FBB for ; Sun, 25 Sep 2022 08:43:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C1654584 for ; Sun, 25 Sep 2022 08:43:17 +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: <1664095334.4dd9409d91ca37b5c4b41f43ac2247b5d40d0bc8.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/websocket-driver/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/websocket-driver/websocket-driver-0.7.5.ebuild X-VCS-Directories: dev-ruby/websocket-driver/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 4dd9409d91ca37b5c4b41f43ac2247b5d40d0bc8 X-VCS-Branch: master Date: Sun, 25 Sep 2022 08:43:17 +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: 392ae174-d057-4e12-8982-15a65698a820 X-Archives-Hash: bee0645a69ca308f816349de704c933f commit: 4dd9409d91ca37b5c4b41f43ac2247b5d40d0bc8 Author: Hans de Graaff gentoo org> AuthorDate: Sat Sep 10 07:15:28 2022 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sun Sep 25 08:42:14 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4dd9409d dev-ruby/websocket-driver: enable ruby31 and disable ruby25, ruby26 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/websocket-driver/websocket-driver-0.7.5.ebuild | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/dev-ruby/websocket-driver/websocket-driver-0.7.5.ebuild b/dev-ruby/websocket-driver/websocket-driver-0.7.5.ebuild index ed0dd52fe134..2674f369d51d 100644 --- a/dev-ruby/websocket-driver/websocket-driver-0.7.5.ebuild +++ b/dev-ruby/websocket-driver/websocket-driver-0.7.5.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 -USE_RUBY="ruby25 ruby26 ruby27 ruby30" +USE_RUBY="ruby27 ruby30 ruby31" RUBY_FAKEGEM_RECIPE_TEST="rspec3" RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" @@ -28,3 +28,13 @@ ruby_add_rdepend ">=dev-ruby/websocket-extensions-0.1.0" all_ruby_prepare() { sed -i -e '/bundler/ s:^:#:' spec/spec_helper.rb || die } + +each_ruby_prepare() { + case ${RUBY} in + *ruby31) + # Avoid specs broken by a cosmetic change in port number handling. + # https://github.com/faye/websocket-driver-ruby/pull/88 + rm -f spec/websocket/driver/client_spec.rb || die + ;; + esac +}