From: "Hans de Graaff" <graaff@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/date_validator/
Date: Tue, 13 Aug 2024 07:30:30 +0000 (UTC) [thread overview]
Message-ID: <1723534183.00b2f6200542ab6f47ee461d15691d55fab5c339.graaff@gentoo> (raw)
commit: 00b2f6200542ab6f47ee461d15691d55fab5c339
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 13 07:29:43 2024 +0000
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Tue Aug 13 07:29:43 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00b2f620
dev-ruby/date_validator: fix tests
Ensure a valid activemodel version is used.
Closes: https://bugs.gentoo.org/937847
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
dev-ruby/date_validator/date_validator-0.12.0.ebuild | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/dev-ruby/date_validator/date_validator-0.12.0.ebuild b/dev-ruby/date_validator/date_validator-0.12.0.ebuild
index 8b174b7e9552..d00447da313f 100644
--- a/dev-ruby/date_validator/date_validator-0.12.0.ebuild
+++ b/dev-ruby/date_validator/date_validator-0.12.0.ebuild
@@ -24,7 +24,7 @@ HOMEPAGE="https://github.com/codegram/date_validator"
LICENSE="MIT"
SLOT="3"
KEYWORDS="~amd64"
-IUSE=""
+IUSE="doc test"
ruby_add_rdepend "
>=dev-ruby/activemodel-3.0:*
@@ -46,5 +46,6 @@ all_ruby_prepare() {
sed -i \
-e '/[Bb]undler/s/^/#/' Rakefile || die
# Fix tests
- sed -i -e "1irequire 'active_support'; require 'active_support/core_ext/time/zones'" test/test_helper.rb || die
+ sed -e "1igem 'activemodel'; require 'active_support'; require 'active_support/core_ext/time/zones'" \
+ -i test/test_helper.rb || die
}
next reply other threads:[~2024-08-13 7:30 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-13 7:30 Hans de Graaff [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-03-18 6:41 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/date_validator/ Hans de Graaff
2023-07-12 7:46 Hans de Graaff
2022-12-07 17:57 Hans de Graaff
2022-10-02 17:03 Hans de Graaff
2022-05-06 10:04 Hans de Graaff
2022-03-26 7:48 Hans de Graaff
2021-07-18 9:17 Hans de Graaff
2021-05-13 6:44 Hans de Graaff
2021-03-11 10:54 Hans de Graaff
2021-03-11 10:54 Hans de Graaff
2020-05-12 14:28 Hans de Graaff
2020-05-12 14:28 Hans de Graaff
2020-04-04 4:40 Hans de Graaff
2019-05-01 19:56 Hans de Graaff
2018-09-17 19:07 Hans de Graaff
2018-02-03 7:54 Hans de Graaff
2016-07-24 14:47 Hans de Graaff
2016-07-24 14:47 Hans de Graaff
2016-04-16 21:57 Manuel Rüger
2016-01-14 17:52 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=1723534183.00b2f6200542ab6f47ee461d15691d55fab5c339.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