dev-ruby/path_expander: add 1.1.2

Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
Hans de Graaff
2024-07-12 07:56:48 +02:00
parent bfcea06da4
commit a5fa7f2884
2 changed files with 29 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST path_expander-1.1.1.gem 13312 BLAKE2B d22b7253be821f7bf73bef48843b64356e5a4c66fb532844e4de25e9f4e01486560defda00d8cbc698a3d3b936cff742bdd3005afb32f9a41318d380d2f575cc SHA512 bd670b45bf8a265faf0ab9e845782e7bb6fa62e4360d3b5109b83b27afc54d3d372db1d0df9a098eb6935d24d29a973848c7b914b5ee0d67069ddc88c0aa79b7
DIST path_expander-1.1.2.gem 13824 BLAKE2B 0f618b136b0322c8fcde8c2acbcc594108aaef4765d336f26ab8fa5bdd433d1577795f8a946987370fed4da5d7219d6b1115c930fd0a87a06d11579bd24420b8 SHA512 998aa55fa1cc31498ef65753aab734650031ae1e42a7f2b5757edd50ea57076f87ee6d5a03bc62d93768709f06dd0a0564080d8563dec0f9d7605501348dd718

View File

@@ -0,0 +1,28 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
USE_RUBY="ruby31 ruby32 ruby33"
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="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
}