diff options
author | clsung <clsung@FreeBSD.org> | 2011-03-03 23:12:19 +0800 |
---|---|---|
committer | clsung <clsung@FreeBSD.org> | 2011-03-03 23:12:19 +0800 |
commit | 2c030a4df1b7728d4eacc91e8265d3ce3fb5d4c2 (patch) | |
tree | 826b6fdb9f2a3ca7fb7cbb6209c1d1ab49f482f6 /devel | |
parent | 5120cfe5243c62bcff441f35c0ef71ecadb58303 (diff) | |
download | freebsd-ports-gnome-2c030a4df1b7728d4eacc91e8265d3ce3fb5d4c2.tar.gz freebsd-ports-gnome-2c030a4df1b7728d4eacc91e8265d3ce3fb5d4c2.tar.zst freebsd-ports-gnome-2c030a4df1b7728d4eacc91e8265d3ce3fb5d4c2.zip |
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
Diffstat (limited to 'devel')
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/rubygem-hashie/Makefile | 20 | ||||
-rw-r--r-- | devel/rubygem-hashie/distinfo | 2 | ||||
-rw-r--r-- | devel/rubygem-hashie/pkg-descr | 12 |
4 files changed, 35 insertions, 0 deletions
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 <clsung@FreeBSD.org> +# +# $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 <bsd.port.mk> 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 |