summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2018-03-24 07:36:35 +0100
committerHans de Graaff <graaff@gentoo.org>2018-03-24 09:35:23 +0100
commitde0c3f8ac1b734ec4a035820f89d703121819052 (patch)
treee8e5e77e72dd00518b598504095707033caee1bc /dev-ruby/path_expander
parentdev-ruby/rails-html-sanitizer: add 1.0.4 (diff)
downloadgentoo-de0c3f8ac1b734ec4a035820f89d703121819052.tar.gz
gentoo-de0c3f8ac1b734ec4a035820f89d703121819052.tar.bz2
gentoo-de0c3f8ac1b734ec4a035820f89d703121819052.zip
dev-ruby/path_expander: add 1.0.3
Package-Manager: Portage-2.3.24, Repoman-2.3.6
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.0.3.ebuild30
2 files changed, 31 insertions, 0 deletions
diff --git a/dev-ruby/path_expander/Manifest b/dev-ruby/path_expander/Manifest
index f6675e7dc47d..bbeb535fc36d 100644
--- a/dev-ruby/path_expander/Manifest
+++ b/dev-ruby/path_expander/Manifest
@@ -1 +1,2 @@
DIST path_expander-1.0.2.gem 12800 BLAKE2B 99bc161e39803b01f2bac48eaca063a00473db1cf2f033837a1ffc187847a32aa5a88077d163b8acb2a75171a5fb134f47ee6d82cc8105d4ce297919ea8fce76 SHA512 550d20be7f3379ccb30e2e0c86c26348103d7d11d7b5d21c684c341cdb7cf1aaa29886c7b1210265af7bbc1853b8c26a0048d6bd40a8a2752938101e64a23468
+DIST path_expander-1.0.3.gem 13312 BLAKE2B 79be135b73f192e86cbdfae7a203434c4c8b1535c2db959141db79fd6a2eedd92c6436376485ccf3f8c15efcda31de40a7dd5a8c71eece17ca1e72f7bd7e95b7 SHA512 e05d66759a863f69845e41da1677f2020111e85e206d58acb93d18e044833f70b9420929e731884e6bcd156988ca3ae836f9913697ec85756a71f68499469ef2
diff --git a/dev-ruby/path_expander/path_expander-1.0.3.ebuild b/dev-ruby/path_expander/path_expander-1.0.3.ebuild
new file mode 100644
index 000000000000..d63deb968507
--- /dev/null
+++ b/dev-ruby/path_expander/path_expander-1.0.3.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby22 ruby23 ruby24 ruby25"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+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"
+
+KEYWORDS="~amd64 ~x86"
+SLOT="1"
+IUSE=""
+
+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
+}