summaryrefslogtreecommitdiff
path: root/textproc/ruby-json-pure
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2011-09-12 13:42:29 +0000
committertaca <taca@pkgsrc.org>2011-09-12 13:42:29 +0000
commit2c921348407e051a77bdcbb053e296311db3edec (patch)
treea1b9c23c7f2835ef08d8c60eef128c73cca4cfb3 /textproc/ruby-json-pure
parenta993ebfd7021c1d108fba67705d8a000c3872ad4 (diff)
downloadpkgsrc-2c921348407e051a77bdcbb053e296311db3edec.tar.gz
Update ruby-json and ruby-json-pure package to 1.5.4.
2011-08-31 (1.5.4) * Fix memory leak when used from multiple JRuby. (Patch by jfirebaugh@github). * Apply patch by Eric Wong <nocode@yhbt.net> that fixes garbage collection problem reported in https://github.com/flori/json/issues/46. * Add :quirks_mode option to parser and generator. * Add support for Rational and Complex number additions via json/add/complex and json/add/rational requires.
Diffstat (limited to 'textproc/ruby-json-pure')
-rw-r--r--textproc/ruby-json-pure/Makefile6
-rw-r--r--textproc/ruby-json-pure/PLIST5
-rw-r--r--textproc/ruby-json-pure/distinfo8
3 files changed, 11 insertions, 8 deletions
diff --git a/textproc/ruby-json-pure/Makefile b/textproc/ruby-json-pure/Makefile
index cc1caff331f..0b576d15292 100644
--- a/textproc/ruby-json-pure/Makefile
+++ b/textproc/ruby-json-pure/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.10 2011/08/12 17:20:20 taca Exp $
+# $NetBSD: Makefile,v 1.11 2011/09/12 13:42:30 taca Exp $
-DISTNAME= json_pure-1.5.3
+DISTNAME= json_pure-1.5.4
PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME:S/_/-/g}
CATEGORIES= textproc
@@ -9,6 +9,8 @@ HOMEPAGE= http://flori.github.com/json
COMMENT= Pure Ruby implementation of JSON
LICENSE= ruby-license
+DEPENDS+= ${RUBY_PKGPREFIX}-spruz>=0.2.8<0.3:../../devel/ruby-spruz
+
REPLACE_RUBY= tools/fuzz.rb tools/server.rb
post-extract:
diff --git a/textproc/ruby-json-pure/PLIST b/textproc/ruby-json-pure/PLIST
index 28d152af8a1..23e732c0b18 100644
--- a/textproc/ruby-json-pure/PLIST
+++ b/textproc/ruby-json-pure/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.7 2011/08/12 17:20:20 taca Exp $
+@comment $NetBSD: PLIST,v 1.8 2011/09/12 13:42:30 taca Exp $
bin/edit_json.rb
bin/prettify_json.rb
${GEM_HOME}/cache/${GEM_NAME}.gem
@@ -89,8 +89,9 @@ ${GEM_LIBDIR}/lib/json/NilClass.xpm
${GEM_LIBDIR}/lib/json/Numeric.xpm
${GEM_LIBDIR}/lib/json/String.xpm
${GEM_LIBDIR}/lib/json/TrueClass.xpm
+${GEM_LIBDIR}/lib/json/add/complex.rb
${GEM_LIBDIR}/lib/json/add/core.rb
-${GEM_LIBDIR}/lib/json/add/rails.rb
+${GEM_LIBDIR}/lib/json/add/rational.rb
${GEM_LIBDIR}/lib/json/common.rb
${GEM_LIBDIR}/lib/json/editor.rb
${GEM_LIBDIR}/lib/json/ext.rb
diff --git a/textproc/ruby-json-pure/distinfo b/textproc/ruby-json-pure/distinfo
index 2c93e6ca776..1bbca95754f 100644
--- a/textproc/ruby-json-pure/distinfo
+++ b/textproc/ruby-json-pure/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.9 2011/08/12 17:20:20 taca Exp $
+$NetBSD: distinfo,v 1.10 2011/09/12 13:42:30 taca Exp $
-SHA1 (json_pure-1.5.3.gem) = 147b75f2a19b76f0cec2d444a3cd97322275472e
-RMD160 (json_pure-1.5.3.gem) = dab15a0c937b782c12002618cb46e34b397392e4
-Size (json_pure-1.5.3.gem) = 674816 bytes
+SHA1 (json_pure-1.5.4.gem) = f46cb4f913764e993b31d26f2575bf9d7c6f2ec0
+RMD160 (json_pure-1.5.4.gem) = 30475d36c4067d2b7640cbb1653e7d8a0ec5764d
+Size (json_pure-1.5.4.gem) = 678912 bytes
SHA1 (patch-aa) = c80a2a7a1ae78e98dd7d6982a2e5da8963a214d6