textproc/ruby-json: update to 2.5.1

## 2020-12-22 (2.5.1)

* Restore the compatibility for constants of JSON class.

## 2020-12-22 (2.5.0)

* Ready to Ractor-safe at Ruby 3.0.

## 2020-12-17 (2.4.1)

* Restore version.rb with 2.4.1

## 2020-12-15 (2.4.0)

* Implement a freeze: parser option #447
* Fix an issue with generate_pretty and empty objects in the Ruby and Java
  implementations #449
* Fix JSON.load_file doc #448
* Fix pure parser with unclosed arrays / objects #425
* bundle the LICENSE file in the gem #444
* Add an option to escape forward slash character #405
* RDoc for JSON #439 #446 #442 #434 #433 #430
This commit is contained in:
taca 2021-03-07 14:29:39 +00:00
parent 3e5817a6b8
commit 7320e657ba
4 changed files with 18 additions and 46 deletions

View file

@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.42 2020/09/14 16:08:12 taca Exp $
# $NetBSD: Makefile,v 1.43 2021/03/07 14:29:39 taca Exp $
DISTNAME= json-2.3.1
DISTNAME= json-2.5.1
CATEGORIES= textproc
MAINTAINER= pkgsrc-users@NetBSD.org

View file

@ -1,17 +1,13 @@
@comment $NetBSD: PLIST,v 1.23 2020/09/14 16:08:12 taca Exp $
@comment $NetBSD: PLIST,v 1.24 2021/03/07 14:29:39 taca Exp $
${GEM_HOME}/cache/${GEM_NAME}.gem
${GEM_EXTSDIR}/gem.build_complete
${GEM_EXTSDIR}/json/ext/generator.${RUBY_DLEXT}
${GEM_EXTSDIR}/json/ext/parser.${RUBY_DLEXT}
${GEM_LIBDIR}/.gitignore
${GEM_LIBDIR}/.travis.yml
${GEM_LIBDIR}/CHANGES.md
${GEM_LIBDIR}/Gemfile
${GEM_LIBDIR}/README-json-jruby.md
${GEM_LIBDIR}/LICENSE
${GEM_LIBDIR}/README.md
${GEM_LIBDIR}/Rakefile
${GEM_LIBDIR}/VERSION
${GEM_LIBDIR}/diagrams/.keep
${GEM_LIBDIR}/ext/json/ext/fbuffer/fbuffer.h
${GEM_LIBDIR}/ext/json/ext/generator/depend
${GEM_LIBDIR}/ext/json/ext/generator/extconf.rb
@ -23,23 +19,7 @@ ${GEM_LIBDIR}/ext/json/ext/parser/parser.c
${GEM_LIBDIR}/ext/json/ext/parser/parser.h
${GEM_LIBDIR}/ext/json/ext/parser/parser.rl
${GEM_LIBDIR}/ext/json/extconf.rb
${GEM_LIBDIR}/install.rb
${GEM_LIBDIR}/java/src/json/ext/ByteListTranscoder.java
${GEM_LIBDIR}/java/src/json/ext/Generator.java
${GEM_LIBDIR}/java/src/json/ext/GeneratorMethods.java
${GEM_LIBDIR}/java/src/json/ext/GeneratorService.java
${GEM_LIBDIR}/java/src/json/ext/GeneratorState.java
${GEM_LIBDIR}/java/src/json/ext/OptionsReader.java
${GEM_LIBDIR}/java/src/json/ext/Parser.java
${GEM_LIBDIR}/java/src/json/ext/Parser.rl
${GEM_LIBDIR}/java/src/json/ext/ParserService.java
${GEM_LIBDIR}/java/src/json/ext/RuntimeInfo.java
${GEM_LIBDIR}/java/src/json/ext/StringDecoder.java
${GEM_LIBDIR}/java/src/json/ext/StringEncoder.java
${GEM_LIBDIR}/java/src/json/ext/Utils.java
${GEM_LIBDIR}/json-java.gemspec
${GEM_LIBDIR}/json.gemspec
${GEM_LIBDIR}/json_pure.gemspec
${GEM_LIBDIR}/lib/json.rb
${GEM_LIBDIR}/lib/json/add/bigdecimal.rb
${GEM_LIBDIR}/lib/json/add/complex.rb
@ -65,7 +45,6 @@ ${GEM_LIBDIR}/lib/json/pure.rb
${GEM_LIBDIR}/lib/json/pure/generator.rb
${GEM_LIBDIR}/lib/json/pure/parser.rb
${GEM_LIBDIR}/lib/json/version.rb
${GEM_LIBDIR}/references/rfc7159.txt
${GEM_LIBDIR}/tests/fixtures/fail10.json
${GEM_LIBDIR}/tests/fixtures/fail11.json
${GEM_LIBDIR}/tests/fixtures/fail12.json
@ -82,7 +61,11 @@ ${GEM_LIBDIR}/tests/fixtures/fail24.json
${GEM_LIBDIR}/tests/fixtures/fail25.json
${GEM_LIBDIR}/tests/fixtures/fail27.json
${GEM_LIBDIR}/tests/fixtures/fail28.json
${GEM_LIBDIR}/tests/fixtures/fail29.json
${GEM_LIBDIR}/tests/fixtures/fail3.json
${GEM_LIBDIR}/tests/fixtures/fail30.json
${GEM_LIBDIR}/tests/fixtures/fail31.json
${GEM_LIBDIR}/tests/fixtures/fail32.json
${GEM_LIBDIR}/tests/fixtures/fail4.json
${GEM_LIBDIR}/tests/fixtures/fail5.json
${GEM_LIBDIR}/tests/fixtures/fail6.json
@ -106,8 +89,10 @@ ${GEM_LIBDIR}/tests/json_generator_test.rb
${GEM_LIBDIR}/tests/json_generic_object_test.rb
${GEM_LIBDIR}/tests/json_parser_test.rb
${GEM_LIBDIR}/tests/json_string_matching_test.rb
${GEM_LIBDIR}/tests/lib/core_assertions.rb
${GEM_LIBDIR}/tests/lib/envutil.rb
${GEM_LIBDIR}/tests/lib/find_executable.rb
${GEM_LIBDIR}/tests/lib/helper.rb
${GEM_LIBDIR}/tests/ractor_test.rb
${GEM_LIBDIR}/tests/test_helper.rb
${GEM_LIBDIR}/tools/diff.sh
${GEM_LIBDIR}/tools/fuzz.rb
${GEM_LIBDIR}/tools/server.rb
${GEM_HOME}/specifications/${GEM_NAME}.gemspec

View file

@ -1,7 +1,6 @@
$NetBSD: distinfo,v 1.28 2020/09/14 16:08:12 taca Exp $
$NetBSD: distinfo,v 1.29 2021/03/07 14:29:39 taca Exp $
SHA1 (json-2.3.1.gem) = 4ca3c32a3934eee1fc81c967e130bd24b39906b5
RMD160 (json-2.3.1.gem) = a4e7c1aa984cd3dfd75fb323edf4b6b47bdf80fb
SHA512 (json-2.3.1.gem) = a9a0c54ac1faacc412ad708b630c8bad8c6f99db6862e8fc80c46207f0f0972433fbfe51d0c93a5d91b91c59b1fef5ad8e64e36cc49e32b3e51ff390a380a2a9
Size (json-2.3.1.gem) = 118784 bytes
SHA1 (patch-ab) = 2d57333da18fbc5a53ab757a61a7dc8c99a192a4
SHA1 (json-2.5.1.gem) = 91786e799db5b8735b6fb8b8a7effb63498b59ae
RMD160 (json-2.5.1.gem) = 94e457c63cc64b0415927802e31555bdc53a33c4
SHA512 (json-2.5.1.gem) = c25c1a796bbf413cdbfc64972b1171890017993c232b126dd180618614c6a7d661578ba4513929a96caff90e12d8606c51f5594c6bec29cde697e8da38ef6f4e
Size (json-2.5.1.gem) = 89088 bytes

View file

@ -1,12 +0,0 @@
$NetBSD: patch-ab,v 1.2 2017/06/12 16:34:13 taca Exp $
* Add shbang line.
--- tools/fuzz.rb.orig 2017-03-02 10:53:41.000000000 +0000
+++ tools/fuzz.rb
@@ -1,3 +1,5 @@
+#!ruby
+
require 'json'
class Fuzzer