summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2024-09-12 07:33:13 +0200
committerHans de Graaff <graaff@gentoo.org>2024-09-12 07:33:26 +0200
commit72ccd53bb0febc863b12a4128eecc06c98e149e9 (patch)
treef33ed3b64a2edb9daac541997ad79c20ef90db7f /dev-ruby/path_expander
parentdev-ruby/sqlite3: fix gemspec (diff)
downloadgentoo-72ccd53bb0febc863b12a4128eecc06c98e149e9.tar.gz
gentoo-72ccd53bb0febc863b12a4128eecc06c98e149e9.tar.bz2
gentoo-72ccd53bb0febc863b12a4128eecc06c98e149e9.zip
dev-ruby/path_expander: add 1.1.3
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/path_expander')
-rw-r--r--dev-ruby/path_expander/Manifest1
-rw-r--r--dev-ruby/path_expander/path_expander-1.1.3.ebuild28
2 files changed, 29 insertions, 0 deletions
diff --git a/dev-ruby/path_expander/Manifest b/dev-ruby/path_expander/Manifest
index 7f53854657f0..7b5423e5293a 100644
--- a/dev-ruby/path_expander/Manifest
+++ b/dev-ruby/path_expander/Manifest
@@ -1,2 +1,3 @@
DIST path_expander-1.1.1.gem 13312 BLAKE2B d22b7253be821f7bf73bef48843b64356e5a4c66fb532844e4de25e9f4e01486560defda00d8cbc698a3d3b936cff742bdd3005afb32f9a41318d380d2f575cc SHA512 bd670b45bf8a265faf0ab9e845782e7bb6fa62e4360d3b5109b83b27afc54d3d372db1d0df9a098eb6935d24d29a973848c7b914b5ee0d67069ddc88c0aa79b7
DIST path_expander-1.1.2.gem 13824 BLAKE2B 0f618b136b0322c8fcde8c2acbcc594108aaef4765d336f26ab8fa5bdd433d1577795f8a946987370fed4da5d7219d6b1115c930fd0a87a06d11579bd24420b8 SHA512 998aa55fa1cc31498ef65753aab734650031ae1e42a7f2b5757edd50ea57076f87ee6d5a03bc62d93768709f06dd0a0564080d8563dec0f9d7605501348dd718
+DIST path_expander-1.1.3.gem 13824 BLAKE2B 7852be8bb3ba816c0e2ac80f381a4b56913b4f928a79bacd488f0d761c700ef615d6f4c1e191d1fa4ae82a1f64d66bb46bf2a2863a971f0763e38f334a60a9ab SHA512 b522a7b43b72e33dd3d176067cbb53417620f13ee0c270993edcd3c9bc7ab0f36ecaa8feca0bca258c416ecf37855e1eb1ca2abbafccbbd08ed7a19a3556a035
diff --git a/dev-ruby/path_expander/path_expander-1.1.3.ebuild b/dev-ruby/path_expander/path_expander-1.1.3.ebuild
new file mode 100644
index 000000000000..42eac7956233
--- /dev/null
+++ b/dev-ruby/path_expander/path_expander-1.1.3.ebuild
@@ -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
+}