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 67BD5158020 for ; Sun, 11 Dec 2022 06:27:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 89A05E0896; Sun, 11 Dec 2022 06:27: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 68745E0891 for ; Sun, 11 Dec 2022 06:27: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 30C4E3412F8 for ; Sun, 11 Dec 2022 06:27:56 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 65E1C73C for ; Sun, 11 Dec 2022 06:27: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: <1670740055.a76878a9f8783b7f10116eb9434f8421ca65280a.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/serverengine/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/serverengine/serverengine-2.3.0.ebuild X-VCS-Directories: dev-ruby/serverengine/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: a76878a9f8783b7f10116eb9434f8421ca65280a X-VCS-Branch: master Date: Sun, 11 Dec 2022 06:27: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: c939e3e8-5df5-4e9a-ae75-f78a37354690 X-Archives-Hash: d8c68af50ddad2a9ec797951bcf3f4f7 commit: a76878a9f8783b7f10116eb9434f8421ca65280a Author: Hans de Graaff gentoo org> AuthorDate: Sat Dec 10 07:24:19 2022 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sun Dec 11 06:27:35 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a76878a9 dev-ruby/serverengine: fix tests Closes: https://bugs.gentoo.org/884773 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/serverengine/serverengine-2.3.0.ebuild | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/dev-ruby/serverengine/serverengine-2.3.0.ebuild b/dev-ruby/serverengine/serverengine-2.3.0.ebuild index a93443157f38..5ca4aae1ebae 100644 --- a/dev-ruby/serverengine/serverengine-2.3.0.ebuild +++ b/dev-ruby/serverengine/serverengine-2.3.0.ebuild @@ -24,11 +24,15 @@ ruby_add_bdepend "test? ( dev-ruby/bundler dev-ruby/timecop )" all_ruby_prepare() { sed -i -e '/rake/ s/~>/>=/' \ - -e '/rspec/ s/2.13.0/2.13/' \ + -e '/rspec/ s/2.13.0/3.0/' \ -e '/rake-compiler/ s:^:#:' serverengine.gemspec || die + + sed -i -e '/color_enabled/ s:^:#:' -e '1irequire "fileutils"' spec/spec_helper.rb || die + + sed -i -e '/raises SystemExit/askip "Exits rspec 3"' spec/multi_process_server_spec.rb || die } each_ruby_test() { # The specs spawn ruby processes with bundler support - ${RUBY} -S bundle exec rspec-2 spec || die + ${RUBY} -S bundle exec rspec-3 spec || die }