json 2.8.0.alpha1 → 2.8.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e37f288be36138ec53fe36090c7886445f097184538b33b04ce12524082f6f8f
4
- data.tar.gz: a7a4d1069d594d876cad44766c22ff3688f171b5cfa5ed636bec07daaae11b82
3
+ metadata.gz: 39c161c94f7ae85545dc117ec7616aa65f69e9192f081dd1d0934fc57f7a1b9b
4
+ data.tar.gz: f980984efc78b2bf8b0aa81e67dc8115e503bcb03171ce7658bdc9ba653da0b7
5
5
  SHA512:
6
- metadata.gz: 1025ceda0144fb3ead6b25813e994565c9fcd99573f04db11cee7fd7a8db1b7b362590d85db99176a6e0884f231e128b411f1f24f19aee77bd9413973cbcaf90
7
- data.tar.gz: 8f8c78a0ef4fc3c1334318813d1ffa944f770f5a2fca17c4b23c7ad89a29fa6a17b47d1caf1b3615ecad23ee9a0af6f80d19a72b2228af80887a4f0f51c1eed3
6
+ metadata.gz: 02e0733a4e893e0c486bc3ea2785c15601c5e660d990c8c83543df3df6f93acdb41d29e656f951896de8854f9672d89bae462f7761746e27614e038b48f72296
7
+ data.tar.gz: 5b22f7e7aa15e8965293fb91ac5d45631f5ef16dbaf0911f5d0763175138dfde8bb104dcea2df73c5e99fda45aecde081c971ccd2bc7c2dae9b4d700376ef8e3
data/CHANGES.md CHANGED
@@ -1,12 +1,19 @@
1
1
  # Changes
2
2
 
3
- ### UNRELEASED
3
+ ### 2024-11-06 (2.8.1)
4
+
5
+ * Fix the java packages to include the extension.
6
+
7
+ ### 2024-11-06 (2.8.0)
4
8
 
5
9
  * Emit a deprecation warning when `JSON.load` create custom types without the `create_additions` option being explictly enabled.
6
10
  * Prefer to use `JSON.unsafe_load(string)` or `JSON.load(string, create_additions: true)`.
7
11
  * Emit a deprecation warning when serializing valid UTF-8 strings encoded in `ASCII_8BIT` aka `BINARY`.
8
- * Bump required_ruby_version to 2.7.
9
- * More performance improvments to `JSON.dump` and `JSON.generate`.
12
+ * Bump required Ruby version to 2.7.
13
+ * Add support for optionally parsing trailing commas, via `allow_trailing_comma: true`, which in cunjunction with the
14
+ pre-existing support for comments, make it suitable to parse `jsonc` documents.
15
+ * Many performance improvements to `JSON.parse` and `JSON.load`, up to `1.7x` faster on real world documents.
16
+ * Some minor performance improvements to `JSON.dump` and `JSON.generate`.
10
17
 
11
18
  ### 2024-11-04 (2.7.6)
12
19
 
data/json.gemspec CHANGED
@@ -50,6 +50,7 @@ spec = Gem::Specification.new do |s|
50
50
 
51
51
  if java_ext
52
52
  s.platform = 'java'
53
+ s.files += Dir["lib/json/ext/**/*.jar"]
53
54
  else
54
55
  s.extensions = Dir["ext/json/**/extconf.rb"]
55
56
  s.files += Dir["ext/json/**/*.{c,h,rl}"]
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.8.0.alpha1'
4
+ VERSION = '2.8.1'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: json
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.8.0.alpha1
4
+ version: 2.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Florian Frank