oj 3.16.6 → 3.16.10

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.
Files changed (109) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +21 -0
  3. data/ext/oj/fast.c +3 -6
  4. data/ext/oj/mimic_json.c +8 -7
  5. data/ext/oj/oj.c +2 -4
  6. data/ext/oj/parse.c +31 -19
  7. data/ext/oj/parser.c +1 -1
  8. data/ext/oj/parser.h +2 -0
  9. data/ext/oj/rails.c +3 -2
  10. data/ext/oj/saj.c +3 -6
  11. data/ext/oj/scp.c +3 -6
  12. data/ext/oj/stream_writer.c +3 -13
  13. data/ext/oj/strict.c +2 -4
  14. data/ext/oj/string_writer.c +5 -7
  15. data/ext/oj/usual.c +2 -2
  16. data/lib/oj/version.rb +1 -1
  17. metadata +3 -98
  18. data/test/_test_active.rb +0 -75
  19. data/test/_test_active_mimic.rb +0 -95
  20. data/test/_test_mimic_rails.rb +0 -123
  21. data/test/activerecord/result_test.rb +0 -31
  22. data/test/activesupport6/abstract_unit.rb +0 -44
  23. data/test/activesupport6/decoding_test.rb +0 -133
  24. data/test/activesupport6/encoding_test.rb +0 -542
  25. data/test/activesupport6/encoding_test_cases.rb +0 -98
  26. data/test/activesupport6/test_common.rb +0 -17
  27. data/test/activesupport6/test_helper.rb +0 -163
  28. data/test/activesupport6/time_zone_test_helpers.rb +0 -39
  29. data/test/activesupport7/abstract_unit.rb +0 -52
  30. data/test/activesupport7/decoding_test.rb +0 -125
  31. data/test/activesupport7/encoding_test.rb +0 -536
  32. data/test/activesupport7/encoding_test_cases.rb +0 -104
  33. data/test/activesupport7/time_zone_test_helpers.rb +0 -47
  34. data/test/files.rb +0 -29
  35. data/test/foo.rb +0 -26
  36. data/test/helper.rb +0 -39
  37. data/test/isolated/shared.rb +0 -309
  38. data/test/isolated/test_mimic_after.rb +0 -13
  39. data/test/isolated/test_mimic_alone.rb +0 -12
  40. data/test/isolated/test_mimic_as_json.rb +0 -45
  41. data/test/isolated/test_mimic_before.rb +0 -13
  42. data/test/isolated/test_mimic_define.rb +0 -28
  43. data/test/isolated/test_mimic_rails_after.rb +0 -22
  44. data/test/isolated/test_mimic_rails_before.rb +0 -21
  45. data/test/isolated/test_mimic_redefine.rb +0 -15
  46. data/test/json_gem/json_addition_test.rb +0 -216
  47. data/test/json_gem/json_common_interface_test.rb +0 -155
  48. data/test/json_gem/json_encoding_test.rb +0 -107
  49. data/test/json_gem/json_ext_parser_test.rb +0 -21
  50. data/test/json_gem/json_fixtures_test.rb +0 -36
  51. data/test/json_gem/json_generator_test.rb +0 -413
  52. data/test/json_gem/json_generic_object_test.rb +0 -90
  53. data/test/json_gem/json_parser_test.rb +0 -477
  54. data/test/json_gem/json_string_matching_test.rb +0 -42
  55. data/test/json_gem/test_helper.rb +0 -30
  56. data/test/mem.rb +0 -34
  57. data/test/perf.rb +0 -102
  58. data/test/perf_compat.rb +0 -128
  59. data/test/perf_dump.rb +0 -50
  60. data/test/perf_fast.rb +0 -162
  61. data/test/perf_file.rb +0 -62
  62. data/test/perf_object.rb +0 -134
  63. data/test/perf_once.rb +0 -59
  64. data/test/perf_parser.rb +0 -183
  65. data/test/perf_saj.rb +0 -101
  66. data/test/perf_scp.rb +0 -140
  67. data/test/perf_simple.rb +0 -289
  68. data/test/perf_strict.rb +0 -137
  69. data/test/perf_wab.rb +0 -129
  70. data/test/prec.rb +0 -23
  71. data/test/sample/change.rb +0 -13
  72. data/test/sample/dir.rb +0 -18
  73. data/test/sample/doc.rb +0 -35
  74. data/test/sample/file.rb +0 -47
  75. data/test/sample/group.rb +0 -15
  76. data/test/sample/hasprops.rb +0 -15
  77. data/test/sample/layer.rb +0 -11
  78. data/test/sample/line.rb +0 -20
  79. data/test/sample/oval.rb +0 -10
  80. data/test/sample/rect.rb +0 -9
  81. data/test/sample/shape.rb +0 -34
  82. data/test/sample/text.rb +0 -19
  83. data/test/sample.rb +0 -54
  84. data/test/sample_json.rb +0 -37
  85. data/test/test_compat.rb +0 -567
  86. data/test/test_custom.rb +0 -555
  87. data/test/test_debian.rb +0 -50
  88. data/test/test_fast.rb +0 -526
  89. data/test/test_file.rb +0 -250
  90. data/test/test_gc.rb +0 -60
  91. data/test/test_generate.rb +0 -21
  92. data/test/test_hash.rb +0 -39
  93. data/test/test_integer_range.rb +0 -72
  94. data/test/test_null.rb +0 -376
  95. data/test/test_object.rb +0 -1030
  96. data/test/test_parser.rb +0 -11
  97. data/test/test_parser_debug.rb +0 -27
  98. data/test/test_parser_saj.rb +0 -337
  99. data/test/test_parser_usual.rb +0 -251
  100. data/test/test_rails.rb +0 -35
  101. data/test/test_saj.rb +0 -188
  102. data/test/test_scp.rb +0 -431
  103. data/test/test_strict.rb +0 -441
  104. data/test/test_various.rb +0 -801
  105. data/test/test_wab.rb +0 -311
  106. data/test/test_writer.rb +0 -380
  107. data/test/tests.rb +0 -33
  108. data/test/tests_mimic.rb +0 -23
  109. data/test/tests_mimic_addition.rb +0 -16
data/test/tests_mimic.rb DELETED
@@ -1,23 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # frozen_string_literal: true
3
-
4
- $LOAD_PATH << __dir__
5
- $LOAD_PATH << File.join(__dir__, 'json_gem')
6
-
7
- require 'json_common_interface_test'
8
- require 'json_encoding_test'
9
- require 'json_ext_parser_test'
10
- require 'json_fixtures_test'
11
- require 'json_generator_test'
12
- require 'json_generic_object_test'
13
- require 'json_parser_test'
14
- require 'json_string_matching_test'
15
-
16
- at_exit do
17
- require 'helper'
18
- if '3.1.0' <= RUBY_VERSION && RbConfig::CONFIG['host_os'] !~ /(mingw|mswin)/
19
- # Oj::debug_odd("teardown before GC.verify_compaction_references")
20
- verify_gc_compaction
21
- # Oj::debug_odd("teardown after GC.verify_compaction_references")
22
- end
23
- end
@@ -1,16 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # frozen_string_literal: true
3
-
4
- $LOAD_PATH << __dir__
5
- $LOAD_PATH << File.join(__dir__, 'json_gem')
6
-
7
- require 'json_addition_test'
8
-
9
- at_exit do
10
- require 'helper'
11
- if '3.1.0' <= RUBY_VERSION && RbConfig::CONFIG['host_os'] !~ /(mingw|mswin)/
12
- # Oj::debug_odd("teardown before GC.verify_compaction_references")
13
- verify_gc_compaction
14
- # Oj::debug_odd("teardown after GC.verify_compaction_references")
15
- end
16
- end