From 2c030a4df1b7728d4eacc91e8265d3ce3fb5d4c2 Mon Sep 17 00:00:00 2001 From: clsung Date: Thu, 3 Mar 2011 15:12:19 +0000 Subject: Hashie is available as a RubyGem which extend Hashes and make them more useful. * Hashie::Mash: gives simple pseudo-object functionality that can be built from hashes and easily extended * Hashie::Dash: has a discrete set of defined properties and only those properties may be set on the hash. * Hashie::Trash: a Dash that allows you to translate keys on initialization. * Hashie::Clash: allows you to easily construct complex hashes using method notation chaining. WWW: http://github.com/intridea/hashie --- devel/Makefile | 1 + devel/rubygem-hashie/Makefile | 20 ++++++++++++++++++++ devel/rubygem-hashie/distinfo | 2 ++ devel/rubygem-hashie/pkg-descr | 12 ++++++++++++ 4 files changed, 35 insertions(+) create mode 100644 devel/rubygem-hashie/Makefile create mode 100644 devel/rubygem-hashie/distinfo create mode 100644 devel/rubygem-hashie/pkg-descr (limited to 'devel') diff --git a/devel/Makefile b/devel/Makefile index e81daebfc9f0..650ce1b1d45e 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -3191,6 +3191,7 @@ SUBDIR += rubygem-gettext SUBDIR += rubygem-git SUBDIR += rubygem-grit + SUBDIR += rubygem-hashie SUBDIR += rubygem-highline SUBDIR += rubygem-hoe SUBDIR += rubygem-holidays diff --git a/devel/rubygem-hashie/Makefile b/devel/rubygem-hashie/Makefile new file mode 100644 index 000000000000..c4af8058ba45 --- /dev/null +++ b/devel/rubygem-hashie/Makefile @@ -0,0 +1,20 @@ +# New ports collection makefile for: rubygem-hashie +# Date created: Mar 03, 2011 +# Whom: Cheng-Lung Sung +# +# $FreeBSD$ +# + +PORTNAME= hashie +PORTVERSION= 1.0.0 +CATEGORIES= devel rubygems +MASTER_SITES= RG + +MAINTAINER= clsung@FreeBSD.org +COMMENT= Hashie is a simple collection of useful Hash extensions + +USE_RUBY= yes +USE_RUBYGEMS= yes +RUBYGEM_AUTOPLIST=yes + +.include diff --git a/devel/rubygem-hashie/distinfo b/devel/rubygem-hashie/distinfo new file mode 100644 index 000000000000..779ad5fa1665 --- /dev/null +++ b/devel/rubygem-hashie/distinfo @@ -0,0 +1,2 @@ +SHA256 (rubygem/hashie-1.0.0.gem) = fac8288383a58b175918528956fd10797d225fb7dba20c884da32bc358252471 +SIZE (rubygem/hashie-1.0.0.gem) = 15872 diff --git a/devel/rubygem-hashie/pkg-descr b/devel/rubygem-hashie/pkg-descr new file mode 100644 index 000000000000..26b0485cc41c --- /dev/null +++ b/devel/rubygem-hashie/pkg-descr @@ -0,0 +1,12 @@ +Hashie is available as a RubyGem which extend Hashes and make them more useful. + + * Hashie::Mash: gives simple pseudo-object functionality that can be + built from hashes and easily extended + * Hashie::Dash: has a discrete set of defined properties and only those + properties may be set on the hash. + * Hashie::Trash: a Dash that allows you to translate keys on + initialization. + * Hashie::Clash: allows you to easily construct complex hashes using + method notation chaining. + +WWW: http://github.com/intridea/hashie -- cgit