public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Hans de Graaff" <graaff@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/serverengine/
Date: Sun, 11 Dec 2022 06:27:54 +0000 (UTC)	[thread overview]
Message-ID: <1670740055.a76878a9f8783b7f10116eb9434f8421ca65280a.graaff@gentoo> (raw)

commit:     a76878a9f8783b7f10116eb9434f8421ca65280a
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 10 07:24:19 2022 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> 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 <graaff <AT> 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
 }


             reply	other threads:[~2022-12-11  6:27 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-11  6:27 Hans de Graaff [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-22  6:01 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/serverengine/ Hans de Graaff
2024-02-18 10:24 Hans de Graaff
2024-01-23  8:27 Hans de Graaff
2023-08-29 14:26 Hans de Graaff
2023-07-10  7:36 Hans de Graaff
2023-07-10  7:36 Hans de Graaff
2023-03-16  7:34 Hans de Graaff
2022-12-28  7:18 Hans de Graaff
2022-12-07 18:24 Hans de Graaff
2022-12-07 18:24 Hans de Graaff
2022-06-19  7:27 Hans de Graaff
2022-06-14  5:13 Hans de Graaff
2022-04-18 17:15 Hans de Graaff
2022-02-05  6:57 Hans de Graaff
2022-01-15  6:29 Hans de Graaff
2021-10-10  5:54 Hans de Graaff
2021-02-18  7:21 Hans de Graaff
2020-11-04  5:59 Hans de Graaff
2020-09-08  5:48 Hans de Graaff
2020-01-25  7:12 Hans de Graaff
2019-11-17  7:36 Hans de Graaff
2019-11-02  5:55 Hans de Graaff
2019-04-24  4:35 Hans de Graaff
2019-01-20 10:40 Hans de Graaff
2018-11-16  6:30 Hans de Graaff
2018-07-11  4:19 Hans de Graaff
2018-04-05  5:36 Hans de Graaff

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1670740055.a76878a9f8783b7f10116eb9434f8421ca65280a.graaff@gentoo \
    --to=graaff@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox