BSD Ports

devel/rubygem-yajl-ruby 1.4.3 FreeBSD

Streaming JSON parsing and encoding library for Ruby

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
MIT
Categories
devel, rubygems
Package size
406.6 KiB, 3455.6 KiB installed

Description

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

In the other systems

SystemPortVersion
FreeBSDdevel/rubygem-yajl-ruby1.4.3
DragonFlydevel/rubygem-yajl-ruby1.4.3
MidnightBSDdevel/rubygem-yajl-ruby1.4.3

Install

Binary package:

pkg install rubygem-yajl-ruby

From the ports tree:

cd /usr/ports/devel/rubygem-yajl-ruby/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	rubygem-yajl-ruby>0:devel/rubygem-yajl-ruby

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.4.31.4.31.4.31.4.31.4.3
FreeBSD:14:quarterly1.4.31.4.3n/a1.4.31.4.3
FreeBSD:15:latest1.4.31.4.3n/a1.4.31.4.3
FreeBSD:15:quarterly1.4.31.4.3n/an/an/a
FreeBSD:16:latest1.4.31.4.3n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 6
Run dependencies 6

Configuration

No options to configure.

USES
gem
Service scripts
none

Files

distinfo 1
FileSizeSHA256
rubygem/yajl-ruby-1.4.3.gem5585928c974d9c11ae07b0a3b6d26efea8407269b02e4138118fbe3ef0d2ec9724d1d2
Master sites 1
  • RG

Commit history 0

No commits in the history this site was built from.