diff options
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/rubygem-yajl-ruby/Makefile | 20 | ||||
-rw-r--r-- | devel/rubygem-yajl-ruby/distinfo | 2 | ||||
-rw-r--r-- | devel/rubygem-yajl-ruby/pkg-descr | 21 |
4 files changed, 44 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index cdd2412b0191..336e2995330a 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -3185,6 +3185,7 @@ SUBDIR += rubygem-validatable SUBDIR += rubygem-warbler SUBDIR += rubygem-webby + SUBDIR += rubygem-yajl-ruby SUBDIR += rubygem-zentest SUBDIR += rubygem-zoom SUBDIR += rudeconfig diff --git a/devel/rubygem-yajl-ruby/Makefile b/devel/rubygem-yajl-ruby/Makefile new file mode 100644 index 000000000000..bd325dbf7b92 --- /dev/null +++ b/devel/rubygem-yajl-ruby/Makefile @@ -0,0 +1,20 @@ +# New ports collection makefile for: rubygem-yajl-ruby +# Date created: 2010-11-14 +# Whom: TAKATSU Tomonari <tota@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= yajl-ruby +PORTVERSION= 0.7.8 +CATEGORIES= devel rubygems +MASTER_SITES= RG + +MAINTAINER= tota@FreeBSD.org +COMMENT= A streaming JSON parsing and encoding library for Ruby + +USE_RUBY= yes +USE_RUBYGEMS= yes +RUBYGEM_AUTOPLIST= yes + +.include <bsd.port.mk> diff --git a/devel/rubygem-yajl-ruby/distinfo b/devel/rubygem-yajl-ruby/distinfo new file mode 100644 index 000000000000..910009cf7213 --- /dev/null +++ b/devel/rubygem-yajl-ruby/distinfo @@ -0,0 +1,2 @@ +SHA256 (rubygem/yajl-ruby-0.7.8.gem) = f0511c07cb811c7b97b79b9b25d709ffe60e6b51ce7b13a5b804543436373d3f +SIZE (rubygem/yajl-ruby-0.7.8.gem) = 555008 diff --git a/devel/rubygem-yajl-ruby/pkg-descr b/devel/rubygem-yajl-ruby/pkg-descr new file mode 100644 index 000000000000..bfe5b43885dd --- /dev/null +++ b/devel/rubygem-yajl-ruby/pkg-descr @@ -0,0 +1,21 @@ +This gem is a C binding to the excellent YAJL JSON parsing and generation +library. + +Features: + * JSON parsing and encoding directly to and from an IO stream (file, socket, + etc) or String. Compressed stream parsing and encoding supported for Bzip2, + Gzip and Deflate. + * Parse and encode multiple JSON objects to and from streams or strings + continuously. + * JSON gem compatibility API - allows yajl-ruby to be used as a drop-in + replacement for the JSON gem + * Basic HTTP client (only GET requests supported for now) which parses JSON + directly off the response body *as it's being received* + * ~3.5x faster than JSON.generate + * ~1.9x faster than JSON.parse + * ~4.5x faster than YAML.load + * ~377.5x faster than YAML.dump + * ~1.5x faster than Marshal.load + * ~2x faster than Marshal.dump + +WWW: http://github.com/brianmario/yajl-ruby |