summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorPhilip M. Gollucci <pgollucci@FreeBSD.org>2011-12-16 22:31:48 +0000
committerPhilip M. Gollucci <pgollucci@FreeBSD.org>2011-12-16 22:31:48 +0000
commitd5b5f0adea97416c4327f80d001b55034591fed4 (patch)
tree144243e697209b89aa4687cc93c0a513b953e435 /devel
parent- Update to 1.1 (diff)
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: https://github.com/brianmario/yajl-ruby The current port would be a downgrade to this version which is required by chef server. PR: ports/163363 Submitted by: Philip M. Gollucci <pgollucci@p6m7g8.com> With Hat: ruby@ Sponsored by: RideCharge Inc. / Taxi Magic
Notes
Notes: svn path=/head/; revision=287511
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/rubygem-yajl-ruby077/Makefile22
-rw-r--r--devel/rubygem-yajl-ruby077/distinfo2
-rw-r--r--devel/rubygem-yajl-ruby077/pkg-descr21
4 files changed, 46 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 7e7568cc5a7f..74b65e4f314f 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -3618,6 +3618,7 @@
SUBDIR += rubygem-warden
SUBDIR += rubygem-webby
SUBDIR += rubygem-yajl-ruby
+ SUBDIR += rubygem-yajl-ruby077
SUBDIR += rubygem-yui-compressor
SUBDIR += rubygem-zentest
SUBDIR += rubygem-zoom
diff --git a/devel/rubygem-yajl-ruby077/Makefile b/devel/rubygem-yajl-ruby077/Makefile
new file mode 100644
index 000000000000..e9d1dcd8cce0
--- /dev/null
+++ b/devel/rubygem-yajl-ruby077/Makefile
@@ -0,0 +1,22 @@
+# New ports collection makefile for: rubygem-yajl-ruby077
+# Date created: Dec 16, 2011
+# Whom: Philip M. Gollucci <pgollucci@p6m7g8.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= yajl-ruby
+PORTVERSION= 0.7.7
+CATEGORIES= devel rubygems
+MASTER_SITES= RG
+
+MAINTAINER= ruby@FreeBSD.org
+COMMENT= A streaming JSON parsing and encoding library for Ruby
+
+LICENSE= MIT
+
+USE_RUBY= yes
+USE_RUBYGEMS= yes
+RUBYGEM_AUTOPLIST= yes
+
+.include <bsd.port.mk>
diff --git a/devel/rubygem-yajl-ruby077/distinfo b/devel/rubygem-yajl-ruby077/distinfo
new file mode 100644
index 000000000000..d1ab4e77de38
--- /dev/null
+++ b/devel/rubygem-yajl-ruby077/distinfo
@@ -0,0 +1,2 @@
+SHA256 (rubygem/yajl-ruby-0.7.7.gem) = 931412b21c51b681925cd6fd17c6dbbd8687e1a5df7a858163b639e736b5025c
+SIZE (rubygem/yajl-ruby-0.7.7.gem) = 554496
diff --git a/devel/rubygem-yajl-ruby077/pkg-descr b/devel/rubygem-yajl-ruby077/pkg-descr
new file mode 100644
index 000000000000..3f7f0a3fdcd9
--- /dev/null
+++ b/devel/rubygem-yajl-ruby077/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: https://github.com/brianmario/yajl-ruby