1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-30 01:15:52 +00:00

- Add a new port: devel/rubygem-yajl-ruby

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
This commit is contained in:
TAKATSU Tomonari 2010-11-17 14:10:45 +00:00
parent 929aa5e44b
commit 8281c695d1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=264695
4 changed files with 44 additions and 0 deletions

View File

@ -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

View File

@ -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>

View File

@ -0,0 +1,2 @@
SHA256 (rubygem/yajl-ruby-0.7.8.gem) = f0511c07cb811c7b97b79b9b25d709ffe60e6b51ce7b13a5b804543436373d3f
SIZE (rubygem/yajl-ruby-0.7.8.gem) = 555008

View File

@ -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