./textproc/ruby-json-pure, Pure Ruby implementation of JSON

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 2.1.0, Package name: ruby23-json-pure-2.1.0, Maintainer: pkgsrc-users

This is a implementation of the JSON specification according to RFC
4627. You can think of it as a low fat alternative to XML, if you
want to store data to disk or transmit it over a network rather than
use a verbose markup language.

The JSON generator escapes all non-ASCII an control characters with
\uXXXX escape sequences and supports UTF-16 surrogate pairs in order
to be able to generate the whole range of Unicode code points. This
means that generated JSON text is encoded as UTF-8 (because ASCII is
a subset of UTF-8) and at the same time avoids decoding problems for
receiving endpoints that don't expect UTF-8 encoded texts.

This package is a pure Ruby variant that relies on the iconv and the
stringscan extensions, which are both part of the Ruby standard library.


Required to run:
[lang/ruby23-base]

Master sites:

SHA1: 76335531acc823813ef02754fec2af856fc46996
RMD160: 0edd6180f1f7ac0fdb30318264f9745b6ff11391
Filesize: 137.5 KB

Version history: (Expand)


CVS history: (Expand)


   2017-06-12 18:34:13 by Takahiro Kambe | Files touched by this commit (8) | Package updated
Log message:
Update ruby-json and ruby-json-pure to 2.1.0.

## 2017-04-18 (2.1.0)
 * Allow passing of `decimal_class` option to specify a class as which to parse
   JSON float numbers.
## 2017-03-23 (2.0.4)
 * Raise exception for incomplete unicode surrogates/character escape
   sequences. This problem was reported by Daniel Gollahon (dgollahon).
 * Fix arbitrary heap exposure problem. This problem was reported by Ahmad
   Sherif (ahmadsherif).

## 2017-01-12 (2.0.3)
 * Set `required_ruby_version` to 1.9
 * Some small fixes

## 2016-07-26 (2.0.2)
  * Specify `required_ruby_version` for json\_pure.
  * Fix issue #295 failure when parsing frozen strings.

## 2016-07-01 (2.0.1)
  * Fix problem when requiring json\_pure and Parser constant was defined top
    level.
  * Add `RB_GC_GUARD` to avoid possible GC problem via Pete Johns.
  * Store `current_nesting` on stack by Aaron Patterson.

## 2015-09-11 (2.0.0)
  * Now complies to newest JSON RFC 7159.
  * Implements compatibiliy to ruby 2.4 integer unification.
  * Drops support for old rubies whose life has ended, that is rubies < 2.0.
    Also see https://www.ruby-lang.org/en/news/2014/ … and-1-9-2/
  * There were still some mentions of dual GPL licensing in the source, but JSON
    has just the Ruby license that itself includes an explicit dual-licensing
    clause that allows covered software to be distributed under the terms of
    the Simplified BSD License instead for all ruby versions >= 1.9.3. This is
    however a GPL compatible license according to the Free Software Foundation.
    I changed these mentions to be consistent with the Ruby license setting in
    the gemspec files which were already correct now.
   2015-12-13 16:04:46 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
Update ruby-json-pure to 1.8.3.

2015-06-01 (1.8.3)
  * Fix potential memory leak, thx to nobu.
   2015-11-04 03:00:17 by Alistair G. Crooks | Files touched by this commit (797)
Log message:
Add SHA512 digests for distfiles for textproc category

Problems found locating distfiles:
	Package cabocha: missing distfile cabocha-0.68.tar.bz2
	Package convertlit: missing distfile clit18src.zip
	Package php-enchant: missing distfile php-enchant/enchant-1.1.0.tgz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
   2015-02-05 16:06:12 by Takahiro Kambe | Files touched by this commit (6) | Package updated
Log message:
Update ruby-json and ruby-json-pure package to 1.9.2.

2015-01-08 (1.8.2)
  * Some performance improvements by Vipul A M <vipulnsward@gmail.com>.
  * Fix by Jason R. Clark <jclark@newrelic.com> to avoid mutation of
    JSON.dump_default_options.
  * More tests by Michael Mac-Vicar <mmacvicar@gmail.com> and fixing
    space_before accessor in generator.
  * Performance on Jruby improvemed by Ben Browning <bbrownin@redhat.com>.
  * Some fixes to be compatible with the new Ruby 2.2 by Zachary Scott \ 
<e@zzak.io>
    and SHIBATA Hiroshi <hsbt@ruby-lang.org>.
   2014-03-14 19:11:45 by Takahiro Kambe | Files touched by this commit (5) | Package updated
Log message:
Update ruby-json and ruby-json-pure package to 1.8.1.

2013-05-13 (1.8.1)
  * Remove Rubinius exception since transcoding should be working now.
   2013-06-13 15:18:08 by OBATA Akio | Files touched by this commit (2) | Package updated
Log message:
Update ruby-json-pure to 1.8.0

2013-05-13 (1.8.0)
  * Fix https://github.com/flori/json/issues/162 reported by Marc-Andre
    Lafortune <github_rocks@marc-andre.ca>. Thanks!
  * Applied patches by Yui NARUSE <naruse@airemix.jp> to suppress warning with
    -Wchar-subscripts and better validate UTF-8 strings.
  * Applied patch by ginriki@github to remove unnecessary if.
  * Add load/dump interface to JSON::GenericObject to make
        serialize :some_attribute, JSON::GenericObject
    work in Rails active models for convenient SomeModel#some_attribute.foo.bar
    access to serialised JSON data.
   2013-02-12 14:13:08 by Takahiro Kambe | Files touched by this commit (4) | Package updated
Log message:
Update ruby-json and ruby-json-pure to 1.7.7.

2013-02-04 (1.7.7)
  * Security fix for JSON create_additions default value and
    JSON::GenericObject. It should not be possible to create additions unless
    explicitely requested by setting the create_additions argument to true or
    using the JSON.load/dump interface. If JSON::GenericObject is supposed to
    be automatically deserialised, this has to be explicitely enabled by
    setting
      JSON::GenericObject.json_createble = true
    as well.
  * Remove useless assert in fbuffer implementation.
  * Apply patch attached to https://github.com/flori/json/issues#issue/155
    provided by John Shahid <jvshahid@gmail.com>, Thx!
  * Add license information to rubygems spec data, reported by Jordi Massaguer
    Pla <jmassaguerpla@suse.de>.
  * Improve documentation, thx to Zachary Scott <zachary@zacharyscott.net>.
   2013-02-11 03:43:26 by Takahiro Kambe | Files touched by this commit (4) | Package updated
Log message:
Update ruby-json and ruby-json-pure to 1.7.6.

2012-11-29 (1.7.6)
  * Add GeneratorState#merge alias for JRuby, fix state accessor methods. Thx to
   jvshahid@github.
  * Increase hash likeness of state objects.