From bfa84234b858212337dfca5433a01d9d40a64be3 Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh Date: Wed, 7 Jan 2015 17:55:47 +0000 Subject: [PATCH] - Add rubygem-shellany 0.0.1 Shellany captures command output. Features: - Portability (should work on recent JRuby versions). - Capturing stdout, stderr in a convenient way. - Returning the result in a convenient way. - Detecting if a shell is needed (though incomplete/primitive implementation). - Prevents running the same command multiple times. WWW: https://github.com/guard/shellany RG: https://rubygems.org/gems/shellany --- sysutils/Makefile | 1 + sysutils/rubygem-shellany/Makefile | 18 ++++++++++++++++++ sysutils/rubygem-shellany/distinfo | 2 ++ sysutils/rubygem-shellany/pkg-descr | 11 +++++++++++ 4 files changed, 32 insertions(+) create mode 100644 sysutils/rubygem-shellany/Makefile create mode 100644 sysutils/rubygem-shellany/distinfo create mode 100644 sysutils/rubygem-shellany/pkg-descr diff --git a/sysutils/Makefile b/sysutils/Makefile index f2131906860a..06ad1eb25bb7 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -832,6 +832,7 @@ SUBDIR += rubygem-ohai SUBDIR += rubygem-parallel SUBDIR += rubygem-rubyipmi + SUBDIR += rubygem-shellany SUBDIR += rubygem-smart_proxy_salt SUBDIR += rubygem-sys-admin SUBDIR += rubygem-sys-cpu diff --git a/sysutils/rubygem-shellany/Makefile b/sysutils/rubygem-shellany/Makefile new file mode 100644 index 000000000000..235b8429f34c --- /dev/null +++ b/sysutils/rubygem-shellany/Makefile @@ -0,0 +1,18 @@ +# Created by: Sunpoet Po-Chuan Hsieh +# $FreeBSD$ + +PORTNAME= shellany +PORTVERSION= 0.0.1 +CATEGORIES= sysutils rubygems +MASTER_SITES= RG + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= MRI+JRuby compatible command output capturing + +LICENSE= MIT + +USE_RUBY= yes +USE_RUBYGEMS= yes +RUBYGEM_AUTOPLIST= yes + +.include diff --git a/sysutils/rubygem-shellany/distinfo b/sysutils/rubygem-shellany/distinfo new file mode 100644 index 000000000000..5613966d9254 --- /dev/null +++ b/sysutils/rubygem-shellany/distinfo @@ -0,0 +1,2 @@ +SHA256 (rubygem/shellany-0.0.1.gem) = 0e127a9132698766d7e752e82cdac8250b6adbd09e6c0a7fbbb6f61964fedee7 +SIZE (rubygem/shellany-0.0.1.gem) = 9216 diff --git a/sysutils/rubygem-shellany/pkg-descr b/sysutils/rubygem-shellany/pkg-descr new file mode 100644 index 000000000000..82407ec2cb36 --- /dev/null +++ b/sysutils/rubygem-shellany/pkg-descr @@ -0,0 +1,11 @@ +Shellany captures command output. + +Features: +- Portability (should work on recent JRuby versions). +- Capturing stdout, stderr in a convenient way. +- Returning the result in a convenient way. +- Detecting if a shell is needed (though incomplete/primitive implementation). +- Prevents running the same command multiple times. + +WWW: https://github.com/guard/shellany +RG: https://rubygems.org/gems/shellany