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 EC01A158095 for ; Sun, 14 Aug 2022 06:24:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EC482E095C; Sun, 14 Aug 2022 06:24:57 +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 97218E095C for ; Sun, 14 Aug 2022 06:24:57 +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 8DF8034143C for ; Sun, 14 Aug 2022 06:24:56 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D0FB7561 for ; Sun, 14 Aug 2022 06:24:54 +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: <1660458291.a46069169cef89a4c150ae90fae930cc12969c05.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/childlabor/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/childlabor/childlabor-0.0.3-r2.ebuild X-VCS-Directories: dev-ruby/childlabor/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: a46069169cef89a4c150ae90fae930cc12969c05 X-VCS-Branch: master Date: Sun, 14 Aug 2022 06:24:54 +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: d3026e7f-235c-43d4-9e90-ed862cb59379 X-Archives-Hash: 5f8adc4adc811cacf9363072ae86cb12 commit: a46069169cef89a4c150ae90fae930cc12969c05 Author: Hans de Graaff gentoo org> AuthorDate: Sat Aug 13 09:04:19 2022 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sun Aug 14 06:24:51 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4606916 dev-ruby/childlabor: enable ruby30, ruby31 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/childlabor/childlabor-0.0.3-r2.ebuild | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/dev-ruby/childlabor/childlabor-0.0.3-r2.ebuild b/dev-ruby/childlabor/childlabor-0.0.3-r2.ebuild index 4763c3f12caf..fbb289f86b30 100644 --- a/dev-ruby/childlabor/childlabor-0.0.3-r2.ebuild +++ b/dev-ruby/childlabor/childlabor-0.0.3-r2.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=8 -USE_RUBY="ruby26 ruby27" +USE_RUBY="ruby26 ruby27 ruby30 ruby31" RUBY_FAKEGEM_TASK_DOC="" RUBY_FAKEGEM_TASK_TEST="" @@ -24,14 +24,18 @@ IUSE="test" RUBY_S="${PN}-${COMMIT_ID}" -ruby_add_bdepend "test? ( dev-ruby/rspec:2 )" +ruby_add_bdepend "test? ( dev-ruby/rspec:3 )" all_ruby_prepare() { # Avoid failing spec. The signals work, but the stdout handling # doesn't seem to play nice with portage. sed -i -e '/can send signals/,/^ end/ s:^:#:' spec/task_spec.rb || die + + # Rspec 3 compatibility + sed -i -e 's/Spec::Runner/RSpec/' spec/spec_helper.rb || die + sed -i -e 's/be_false/be_falsey/ ; s/be_true/be true/' spec/task_spec.rb || die } each_ruby_test() { - ruby-ng_rspec -I. spec/task_spec.rb || die + RSPEC_VERSION=3 ruby-ng_rspec -I. spec/task_spec.rb || die }