json 2.17.1-java → 2.18.0-java

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4be951d5f80cd0c36f47ac90a9b19352b28bc89c10d4395ce295a1bb92d28a7e
4
- data.tar.gz: 933bbc7b8c22634897020ff64ae5dafa076c29c195b36bf3a6fea2fa374862b2
3
+ metadata.gz: 01703c1e2adcabaf3a125765317390a3316605491b546b07e28e9b96514a3115
4
+ data.tar.gz: 88f16279231338f9c361f60f0714444c95464b68eb2cdfbf386a79c249fbaf15
5
5
  SHA512:
6
- metadata.gz: fe3bfd01c04c677935c6fb0c8c939fd8e938dc48c7b3eb3111491f18c185913b01997e6d53ee8847a093d3a0372b0d84c36b4467ba2524bf3fa214df5d9bc7c0
7
- data.tar.gz: dee22d1160ffbb80b83d2ebe7e2657f1712cd0616d6176391e6a87dbe47471c30ab5995e4553338f3ce48adc7f8b98c6a8946b3ea55b866ce0f9cb5ef35eabe1
6
+ metadata.gz: e7be2f57299fc2951a1b9db08524ceba095a0a01d7d277b7bde247dc744d5084b59fc104f2a2774a6e189b6294ce1839cd4eab0a741c4aae4b8f2a5721a8b199
7
+ data.tar.gz: d77c19ed8e1ab52b27374acdc4f23357faad3ce3151663accc4c70d68fc65e8e207396f23a61a8fbd722c7bdf62118644f234e3e2f4effc75e62c6dcdc4a00f3
data/CHANGES.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  ### Unreleased
4
4
 
5
+ ### 2025-12-11 (2.18.0)
6
+
7
+ * Add `:allow_control_characters` parser options, to allow JSON strings containing unescaped ASCII control characters (e.g. newlines).
8
+
5
9
  ### 2025-12-04 (2.17.1)
6
10
 
7
11
  * Fix a regression in parsing of unicode surogate pairs (`\uXX\uXX`) that could cause an invalid string to be returned.
Binary file
Binary file
@@ -500,11 +500,6 @@ module JSON
500
500
 
501
501
  private
502
502
 
503
- def json_shift(state)
504
- state.object_nl.empty? or return ''
505
- state.indent * state.depth
506
- end
507
-
508
503
  def json_transform(state)
509
504
  depth = state.depth += 1
510
505
 
data/lib/json/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module JSON
4
- VERSION = '2.17.1'
4
+ VERSION = '2.18.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: json
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.17.1
4
+ version: 2.18.0
5
5
  platform: java
6
6
  authors:
7
7
  - Daniel Luz
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2025-12-04 00:00:00.000000000 Z
10
+ date: 2025-12-11 00:00:00.000000000 Z
12
11
  dependencies: []
13
12
  description: A JSON implementation as a JRuby extension.
14
13
  email: dev+ruby@mernen.com
@@ -56,7 +55,6 @@ metadata:
56
55
  documentation_uri: https://docs.ruby-lang.org/en/master/JSON.html
57
56
  homepage_uri: https://github.com/ruby/json
58
57
  source_code_uri: https://github.com/ruby/json
59
- post_install_message:
60
58
  rdoc_options:
61
59
  - "--title"
62
60
  - JSON implementation for Ruby
@@ -75,8 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
73
  - !ruby/object:Gem::Version
76
74
  version: '0'
77
75
  requirements: []
78
- rubygems_version: 3.3.26
79
- signing_key:
76
+ rubygems_version: 3.6.3
80
77
  specification_version: 4
81
78
  summary: JSON Implementation for Ruby
82
79
  test_files: []