oj 3.13.11 → 3.13.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +50 -0
- data/README.md +2 -0
- data/ext/oj/buf.h +4 -0
- data/ext/oj/circarray.c +1 -1
- data/ext/oj/code.c +15 -22
- data/ext/oj/compat.c +10 -10
- data/ext/oj/custom.c +62 -108
- data/ext/oj/dump.c +85 -97
- data/ext/oj/dump.h +12 -8
- data/ext/oj/dump_compat.c +46 -88
- data/ext/oj/dump_leaf.c +14 -58
- data/ext/oj/dump_object.c +33 -156
- data/ext/oj/dump_strict.c +17 -29
- data/ext/oj/extconf.rb +5 -4
- data/ext/oj/fast.c +24 -22
- data/ext/oj/intern.c +15 -11
- data/ext/oj/intern.h +1 -1
- data/ext/oj/mimic_json.c +44 -32
- data/ext/oj/object.c +42 -41
- data/ext/oj/odd.c +83 -63
- data/ext/oj/odd.h +13 -13
- data/ext/oj/oj.c +57 -22
- data/ext/oj/oj.h +24 -3
- data/ext/oj/parse.c +114 -78
- data/ext/oj/parse.h +2 -0
- data/ext/oj/parser.c +77 -21
- data/ext/oj/parser.h +12 -0
- data/ext/oj/rails.c +41 -65
- data/ext/oj/rails.h +1 -1
- data/ext/oj/reader.c +2 -0
- data/ext/oj/saj.c +11 -23
- data/ext/oj/saj2.c +333 -85
- data/ext/oj/saj2.h +23 -0
- data/ext/oj/sparse.c +4 -0
- data/ext/oj/stream_writer.c +3 -1
- data/ext/oj/strict.c +13 -13
- data/ext/oj/string_writer.c +12 -5
- data/ext/oj/usual.c +82 -129
- data/ext/oj/usual.h +68 -0
- data/ext/oj/val_stack.c +1 -1
- data/ext/oj/validate.c +21 -26
- data/ext/oj/wab.c +21 -26
- data/lib/oj/saj.rb +20 -6
- data/lib/oj/state.rb +1 -1
- data/lib/oj/version.rb +1 -1
- data/pages/Compatibility.md +1 -1
- data/pages/Options.md +6 -0
- data/test/activesupport7/abstract_unit.rb +49 -0
- data/test/activesupport7/decoding_test.rb +125 -0
- data/test/activesupport7/encoding_test.rb +486 -0
- data/test/activesupport7/encoding_test_cases.rb +104 -0
- data/test/activesupport7/time_zone_test_helpers.rb +47 -0
- data/test/bar.rb +3 -8
- data/test/foo.rb +3 -3
- data/test/helper.rb +8 -2
- data/test/json_gem/json_generator_test.rb +5 -4
- data/test/json_gem/json_parser_test.rb +8 -1
- data/test/json_gem/test_helper.rb +7 -3
- data/test/perf_dump.rb +50 -0
- data/test/test_compat.rb +25 -0
- data/test/test_custom.rb +13 -2
- data/test/test_file.rb +23 -7
- data/test/test_gc.rb +11 -0
- data/test/test_object.rb +8 -10
- data/test/test_parser.rb +3 -19
- data/test/test_parser_debug.rb +27 -0
- data/test/test_parser_saj.rb +92 -2
- data/test/test_scp.rb +2 -4
- data/test/test_strict.rb +2 -0
- data/test/test_various.rb +8 -3
- data/test/test_wab.rb +2 -0
- data/test/tests.rb +9 -0
- data/test/tests_mimic.rb +9 -0
- data/test/tests_mimic_addition.rb +9 -0
- metadata +13 -116
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: oj
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.13.
|
4
|
+
version: 3.13.23
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Peter Ohler
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-11-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake-compiler
|
@@ -58,20 +58,6 @@ dependencies:
|
|
58
58
|
- - "~>"
|
59
59
|
- !ruby/object:Gem::Version
|
60
60
|
version: '3.0'
|
61
|
-
- !ruby/object:Gem::Dependency
|
62
|
-
name: wwtd
|
63
|
-
requirement: !ruby/object:Gem::Requirement
|
64
|
-
requirements:
|
65
|
-
- - "~>"
|
66
|
-
- !ruby/object:Gem::Version
|
67
|
-
version: '0'
|
68
|
-
type: :development
|
69
|
-
prerelease: false
|
70
|
-
version_requirements: !ruby/object:Gem::Requirement
|
71
|
-
requirements:
|
72
|
-
- - "~>"
|
73
|
-
- !ruby/object:Gem::Version
|
74
|
-
version: '0'
|
75
61
|
description: The fastest JSON parser and object serializer.
|
76
62
|
email: peter@ohler.com
|
77
63
|
executables: []
|
@@ -144,6 +130,7 @@ files:
|
|
144
130
|
- ext/oj/rxclass.h
|
145
131
|
- ext/oj/saj.c
|
146
132
|
- ext/oj/saj2.c
|
133
|
+
- ext/oj/saj2.h
|
147
134
|
- ext/oj/scp.c
|
148
135
|
- ext/oj/sparse.c
|
149
136
|
- ext/oj/stream_writer.c
|
@@ -152,6 +139,7 @@ files:
|
|
152
139
|
- ext/oj/trace.c
|
153
140
|
- ext/oj/trace.h
|
154
141
|
- ext/oj/usual.c
|
142
|
+
- ext/oj/usual.h
|
155
143
|
- ext/oj/util.c
|
156
144
|
- ext/oj/util.h
|
157
145
|
- ext/oj/val_stack.c
|
@@ -200,6 +188,11 @@ files:
|
|
200
188
|
- test/activesupport6/test_common.rb
|
201
189
|
- test/activesupport6/test_helper.rb
|
202
190
|
- test/activesupport6/time_zone_test_helpers.rb
|
191
|
+
- test/activesupport7/abstract_unit.rb
|
192
|
+
- test/activesupport7/decoding_test.rb
|
193
|
+
- test/activesupport7/encoding_test.rb
|
194
|
+
- test/activesupport7/encoding_test_cases.rb
|
195
|
+
- test/activesupport7/time_zone_test_helpers.rb
|
203
196
|
- test/bar.rb
|
204
197
|
- test/baz.rb
|
205
198
|
- test/bug.rb
|
@@ -228,6 +221,7 @@ files:
|
|
228
221
|
- test/mem.rb
|
229
222
|
- test/perf.rb
|
230
223
|
- test/perf_compat.rb
|
224
|
+
- test/perf_dump.rb
|
231
225
|
- test/perf_fast.rb
|
232
226
|
- test/perf_file.rb
|
233
227
|
- test/perf_object.rb
|
@@ -265,6 +259,7 @@ files:
|
|
265
259
|
- test/test_null.rb
|
266
260
|
- test/test_object.rb
|
267
261
|
- test/test_parser.rb
|
262
|
+
- test/test_parser_debug.rb
|
268
263
|
- test/test_parser_saj.rb
|
269
264
|
- test/test_parser_usual.rb
|
270
265
|
- test/test_rails.rb
|
@@ -307,106 +302,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
307
302
|
- !ruby/object:Gem::Version
|
308
303
|
version: '0'
|
309
304
|
requirements: []
|
310
|
-
rubygems_version: 3.
|
305
|
+
rubygems_version: 3.3.3
|
311
306
|
signing_key:
|
312
307
|
specification_version: 4
|
313
308
|
summary: A fast JSON parser and serializer.
|
314
|
-
test_files:
|
315
|
-
- test/_test_active.rb
|
316
|
-
- test/_test_active_mimic.rb
|
317
|
-
- test/_test_mimic_rails.rb
|
318
|
-
- test/activerecord/result_test.rb
|
319
|
-
- test/activesupport4/decoding_test.rb
|
320
|
-
- test/activesupport4/encoding_test.rb
|
321
|
-
- test/activesupport4/test_helper.rb
|
322
|
-
- test/activesupport5/abstract_unit.rb
|
323
|
-
- test/activesupport5/decoding_test.rb
|
324
|
-
- test/activesupport5/encoding_test.rb
|
325
|
-
- test/activesupport5/encoding_test_cases.rb
|
326
|
-
- test/activesupport5/test_helper.rb
|
327
|
-
- test/activesupport5/time_zone_test_helpers.rb
|
328
|
-
- test/activesupport6/abstract_unit.rb
|
329
|
-
- test/activesupport6/decoding_test.rb
|
330
|
-
- test/activesupport6/encoding_test.rb
|
331
|
-
- test/activesupport6/encoding_test_cases.rb
|
332
|
-
- test/activesupport6/test_common.rb
|
333
|
-
- test/activesupport6/test_helper.rb
|
334
|
-
- test/activesupport6/time_zone_test_helpers.rb
|
335
|
-
- test/bar.rb
|
336
|
-
- test/baz.rb
|
337
|
-
- test/bug.rb
|
338
|
-
- test/files.rb
|
339
|
-
- test/foo.rb
|
340
|
-
- test/helper.rb
|
341
|
-
- test/isolated/shared.rb
|
342
|
-
- test/isolated/test_mimic_after.rb
|
343
|
-
- test/isolated/test_mimic_alone.rb
|
344
|
-
- test/isolated/test_mimic_as_json.rb
|
345
|
-
- test/isolated/test_mimic_before.rb
|
346
|
-
- test/isolated/test_mimic_define.rb
|
347
|
-
- test/isolated/test_mimic_rails_after.rb
|
348
|
-
- test/isolated/test_mimic_rails_before.rb
|
349
|
-
- test/isolated/test_mimic_redefine.rb
|
350
|
-
- test/json_gem/json_addition_test.rb
|
351
|
-
- test/json_gem/json_common_interface_test.rb
|
352
|
-
- test/json_gem/json_encoding_test.rb
|
353
|
-
- test/json_gem/json_ext_parser_test.rb
|
354
|
-
- test/json_gem/json_fixtures_test.rb
|
355
|
-
- test/json_gem/json_generator_test.rb
|
356
|
-
- test/json_gem/json_generic_object_test.rb
|
357
|
-
- test/json_gem/json_parser_test.rb
|
358
|
-
- test/json_gem/json_string_matching_test.rb
|
359
|
-
- test/json_gem/test_helper.rb
|
360
|
-
- test/mem.rb
|
361
|
-
- test/perf.rb
|
362
|
-
- test/perf_compat.rb
|
363
|
-
- test/perf_fast.rb
|
364
|
-
- test/perf_file.rb
|
365
|
-
- test/perf_object.rb
|
366
|
-
- test/perf_once.rb
|
367
|
-
- test/perf_parser.rb
|
368
|
-
- test/perf_saj.rb
|
369
|
-
- test/perf_scp.rb
|
370
|
-
- test/perf_simple.rb
|
371
|
-
- test/perf_strict.rb
|
372
|
-
- test/perf_wab.rb
|
373
|
-
- test/prec.rb
|
374
|
-
- test/sample/change.rb
|
375
|
-
- test/sample/dir.rb
|
376
|
-
- test/sample/doc.rb
|
377
|
-
- test/sample/file.rb
|
378
|
-
- test/sample/group.rb
|
379
|
-
- test/sample/hasprops.rb
|
380
|
-
- test/sample/layer.rb
|
381
|
-
- test/sample/line.rb
|
382
|
-
- test/sample/oval.rb
|
383
|
-
- test/sample/rect.rb
|
384
|
-
- test/sample/shape.rb
|
385
|
-
- test/sample/text.rb
|
386
|
-
- test/sample.rb
|
387
|
-
- test/sample_json.rb
|
388
|
-
- test/test_compat.rb
|
389
|
-
- test/test_custom.rb
|
390
|
-
- test/test_debian.rb
|
391
|
-
- test/test_fast.rb
|
392
|
-
- test/test_file.rb
|
393
|
-
- test/test_gc.rb
|
394
|
-
- test/test_generate.rb
|
395
|
-
- test/test_hash.rb
|
396
|
-
- test/test_integer_range.rb
|
397
|
-
- test/test_null.rb
|
398
|
-
- test/test_object.rb
|
399
|
-
- test/test_parser.rb
|
400
|
-
- test/test_parser_saj.rb
|
401
|
-
- test/test_parser_usual.rb
|
402
|
-
- test/test_rails.rb
|
403
|
-
- test/test_saj.rb
|
404
|
-
- test/test_scp.rb
|
405
|
-
- test/test_strict.rb
|
406
|
-
- test/test_various.rb
|
407
|
-
- test/test_wab.rb
|
408
|
-
- test/test_writer.rb
|
409
|
-
- test/tests.rb
|
410
|
-
- test/tests_mimic.rb
|
411
|
-
- test/tests_mimic_addition.rb
|
412
|
-
- test/zoo.rb
|
309
|
+
test_files: []
|