dev-ruby/path_expander: add 2.0.0

Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
Hans de Graaff
2025-12-12 09:31:52 +01:00
parent abaef6f18f
commit 94e6b0d6d3
2 changed files with 30 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST path_expander-1.1.3.gem 13824 BLAKE2B 7852be8bb3ba816c0e2ac80f381a4b56913b4f928a79bacd488f0d761c700ef615d6f4c1e191d1fa4ae82a1f64d66bb46bf2a2863a971f0763e38f334a60a9ab SHA512 b522a7b43b72e33dd3d176067cbb53417620f13ee0c270993edcd3c9bc7ab0f36ecaa8feca0bca258c416ecf37855e1eb1ca2abbafccbbd08ed7a19a3556a035
DIST path_expander-2.0.0.gem 13824 BLAKE2B db90b6321b8ea09052f3fb35c26f7f7db799c3077f62feb0497c321ab851806c8078476476b97a582f07a139c10088c17cc2f6c1f965f007719745feb9eea11c SHA512 730691ee2a7940dfc133080ddf8d13d5eb60d28c6624ff5c8ad8bf8f54c5866459c70c5be520699389a71c5d7ea5ada7d6d3f003f0b0bab62157c042d1dcf113

View File

@@ -0,0 +1,29 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
USE_RUBY="ruby32 ruby33 ruby34"
RUBY_FAKEGEM_EXTRADOC="History.rdoc README.rdoc"
inherit ruby-fakegem
DESCRIPTION="Pre-process CLI arguments expanding directories into their constituent files"
HOMEPAGE="https://github.com/seattlerb/path_expander"
LICENSE="MIT"
SLOT="$(ver_cut 1)"
KEYWORDS="~amd64 ~x86"
all_ruby_prepare() {
# Fix tests depending on sort order
sed -i -e '/test_process_args_dir/,/^ end/ s:^:#:' \
-e '33 s/$/.sort/' \
-e '83 s/act/act.sort/' \
test/test_path_expander.rb || die
}
each_ruby_test() {
${RUBY} -Ilib:.:test -e 'Dir["test/test_*.rb"].each{|f| require f}' || die
}