mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-ruby/minitest-mock: new package, add 5.27.0
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
1
dev-ruby/minitest-mock/Manifest
Normal file
1
dev-ruby/minitest-mock/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST minitest-mock-5.27.0.gem 38400 BLAKE2B e8cf97394aea902ad77203bb50514e1980c6a82e7e70ee7083b696db4868be4248daa3df42fb58a11fafb2b529f601578149ca80c1872df281198ddb54f2f1df SHA512 ee36c044770066ff3e746856009c7ae5c90d0b7f9eae011c130c08222183ea590109f82c21c2d32d261af6f9984e410a7676eb078d0337a80780ec2b761b9708
|
||||
9
dev-ruby/minitest-mock/metadata.xml
Normal file
9
dev-ruby/minitest-mock/metadata.xml
Normal file
@@ -0,0 +1,9 @@
|
||||
<?xml version = '1.0' encoding = 'UTF-8'?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project"><email>ruby@gentoo.org</email></maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">minitest/minitest-mock</remote-id>
|
||||
<remote-id type="rubygems">minitest-mock</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
31
dev-ruby/minitest-mock/minitest-mock-5.27.0.ebuild
Normal file
31
dev-ruby/minitest-mock/minitest-mock-5.27.0.ebuild
Normal file
@@ -0,0 +1,31 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
USE_RUBY="ruby32 ruby33 ruby34 ruby40"
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="History.rdoc README.rdoc"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A tiny mock and stub object framework for minitest."
|
||||
HOMEPAGE="https://minite.st/"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(ver_cut 1)"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
|
||||
ruby_add_bdepend "test? (
|
||||
dev-ruby/minitest:6
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -e '1igem "minitest", "~> 6.0"' \
|
||||
-i test/minitest/test_minitest_mock.rb || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
${RUBY} -Ilib:. -e 'Dir["test/**/test_*.rb"].each { |f| require f }' || die
|
||||
}
|
||||
Reference in New Issue
Block a user