diff options
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/rubygem-rash/Makefile | 22 | ||||
-rw-r--r-- | devel/rubygem-rash/distinfo | 2 | ||||
-rw-r--r-- | devel/rubygem-rash/pkg-descr | 12 |
4 files changed, 37 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 1cbcee7ffc5a..20e1ccce1960 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -3237,6 +3237,7 @@ SUBDIR += rubygem-rake SUBDIR += rubygem-rapt SUBDIR += rubygem-rascut + SUBDIR += rubygem-rash SUBDIR += rubygem-rcov SUBDIR += rubygem-rgl SUBDIR += rubygem-rparsec diff --git a/devel/rubygem-rash/Makefile b/devel/rubygem-rash/Makefile new file mode 100644 index 000000000000..36f9e471a740 --- /dev/null +++ b/devel/rubygem-rash/Makefile @@ -0,0 +1,22 @@ +# New ports collection makefile for: rubygem-rash +# Date created: May 03, 2011 +# Whom: Cheng-Lung Sung <clsung@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= rash +PORTVERSION= 0.3.0 +CATEGORIES= devel rubygems +MASTER_SITES= RG + +MAINTAINER= clsung@FreeBSD.org +COMMENT= Simple extension to Hashie::Mash for rubyified keys + +RUN_DEPENDS= rubygem-hashie>=1.0.0:${PORTSDIR}/devel/rubygem-hashie + +USE_RUBY= yes +USE_RUBYGEMS= yes +RUBYGEM_AUTOPLIST=yes + +.include <bsd.port.mk> diff --git a/devel/rubygem-rash/distinfo b/devel/rubygem-rash/distinfo new file mode 100644 index 000000000000..a07ac42cdac1 --- /dev/null +++ b/devel/rubygem-rash/distinfo @@ -0,0 +1,2 @@ +SHA256 (rubygem/rash-0.3.0.gem) = 3103bffd808e276fb3bb902cfa65eda58e37bb2e12af7ce16ac89181dd346fc0 +SIZE (rubygem/rash-0.3.0.gem) = 6656 diff --git a/devel/rubygem-rash/pkg-descr b/devel/rubygem-rash/pkg-descr new file mode 100644 index 000000000000..b52d629db291 --- /dev/null +++ b/devel/rubygem-rash/pkg-descr @@ -0,0 +1,12 @@ +Rash is an extension to Hashie + +Rash subclasses Hashie::Mash to convert all keys in the hash +to underscore. + +The purpose of this is when working w/ Java (or any other apis) +that return hashes (including nested) that have camelCased keys + +You will now be able to access those keys through underscored +key names (camelCase still available). + +WWW: http://github.com/tcocca/rash |