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/simplecov/
Date: Mon, 25 Jul 2022 10:10:17 +0000 (UTC)	[thread overview]
Message-ID: <1658743809.56933590c4f48af9efaa809f07a73743937d1809.graaff@gentoo> (raw)

commit:     56933590c4f48af9efaa809f07a73743937d1809
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 25 09:17:39 2022 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Mon Jul 25 10:10:09 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56933590

dev-ruby/simplecov: enable ruby30, ruby31

Fix tests for newer minitest versions.

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

 dev-ruby/simplecov/simplecov-0.21.2.ebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/dev-ruby/simplecov/simplecov-0.21.2.ebuild b/dev-ruby/simplecov/simplecov-0.21.2.ebuild
index 8dfe63648ed6..dead7a284607 100644
--- a/dev-ruby/simplecov/simplecov-0.21.2.ebuild
+++ b/dev-ruby/simplecov/simplecov-0.21.2.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-USE_RUBY="ruby26 ruby27"
+USE_RUBY="ruby26 ruby27 ruby30 ruby31"
 
 RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
 
@@ -41,6 +41,10 @@ all_ruby_prepare() {
 	sed -i -e '/blocks other processes/askip "gentoo"' spec/result_merger_spec.rb || die
 
 	sed -i -e '5i require "bundler"' spec/helper.rb || die
+
+	sed -e '/start_coverage_measurement/,/^  end/ s|with(lines: true)|with({lines: true})|' \
+		-e '/start_coverage_measurement/,/^  end/ s|with(lines: true, branches: true)|with({lines: true, branches: true})|' \
+		-i spec/simplecov_spec.rb || die
 }
 
 each_ruby_test() {


             reply	other threads:[~2022-07-25 10:10 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-25 10:10 Hans de Graaff [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-08-07 12:09 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/simplecov/ Sam James
2024-08-07 12:09 Sam James
2024-08-07 12:09 Sam James
2024-08-07 12:09 Sam James
2024-08-07 12:09 Sam James
2024-06-25  3:52 Sam James
2024-06-25  3:51 Sam James
2024-02-14  6:49 Hans de Graaff
2023-09-10 14:27 Sam James
2023-09-10  4:42 Robin H. Johnson
2023-06-24  5:53 Hans de Graaff
2023-03-31  1:03 Sam James
2023-03-30  7:18 Hans de Graaff
2022-12-24 15:00 Hans de Graaff
2022-07-05  5:15 Hans de Graaff
2022-04-22  6:55 Hans de Graaff
2022-03-22 18:43 Jakov Smolić
2021-10-09 15:24 Naohiro Aota
2020-10-28  5:33 Hans de Graaff
2020-09-08  5:48 Hans de Graaff
2020-08-17  4:41 Hans de Graaff
2020-07-25 17:10 Hans de Graaff
2020-03-01  8:22 Hans de Graaff
2019-09-17  4:56 Hans de Graaff
2019-07-03  4:50 Hans de Graaff
2019-02-11  5:18 Hans de Graaff
2019-01-20 10:17 Hans de Graaff
2018-12-15  7:42 Hans de Graaff
2018-05-27  6:42 Hans de Graaff
2018-05-02  4:54 Hans de Graaff
2018-01-22 20:48 Hans de Graaff
2018-01-22  6:54 Hans de Graaff
2018-01-22  6:54 Hans de Graaff
2017-08-15  5:02 Hans de Graaff
2017-03-21  6:22 Hans de Graaff
2017-03-16  5:55 Hans de Graaff
2017-01-31  7:05 Hans de Graaff
2016-07-04  4:48 Hans de Graaff
2016-03-21 22:11 Manuel Rüger
2016-02-24 21:37 Manuel Rüger
2016-02-09  6:04 Hans de Graaff
2016-02-09  6:04 Hans de Graaff
2015-12-09  6:00 Hans de Graaff
2015-10-27  5:47 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=1658743809.56933590c4f48af9efaa809f07a73743937d1809.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