You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
568 B
26 lines
568 B
# Copyright 1999-2023 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
USE_RUBY="ruby30 ruby31 ruby32"
|
|
|
|
RUBY_FAKEGEM_EXTRADOC="README.md"
|
|
|
|
inherit ruby-fakegem
|
|
|
|
DESCRIPTION="Ruby Imperative Random Data Generator and Quickcheck"
|
|
HOMEPAGE="https://github.com/rantly-rb/rantly"
|
|
|
|
LICENSE="MIT"
|
|
SLOT="$(ver_cut 1)"
|
|
KEYWORDS="~amd64"
|
|
IUSE=""
|
|
|
|
all_ruby_prepare() {
|
|
sed -i -e '/simplecov/,/^end/ s:^:#:' test/test_helper.rb || die
|
|
}
|
|
|
|
each_ruby_test() {
|
|
${RUBY} -Ilib:test:. -e 'Dir["test/**/*_test.rb"].each{|f| require f}' || die
|
|
}
|