json 2.19.0 → 2.19.1
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/CHANGES.md +4 -0
- data/ext/json/ext/fbuffer/fbuffer.h +2 -0
- data/lib/json/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 04f1d3824b8119f86068d5c61701115a38fd9b0b37e59fb868baca59cb49fe6c
|
|
4
|
+
data.tar.gz: f9267f5bf2c12bd5762878b31873052b85022354da9dc347d06f05fa0dd2f5e6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 03777fe540a81fa223ca8990d4f9128d97ad57e795fda888ad8a8914208ed5950b1c49d90488a58827d252245d624953750142578b13eacfb82843fd17fb409e
|
|
7
|
+
data.tar.gz: 747625c3e441fe66d20710b4029b0b650e54e60313700d3c849b306c1ce2fac7a94dc9471962ccccea0a64031499adae59270149b4f70ed64795f269939fb6c5
|
data/CHANGES.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
### Unreleased
|
|
4
4
|
|
|
5
|
+
### 2026-03-08 (2.19.1)
|
|
6
|
+
|
|
7
|
+
* Fix a compiler dependent GC bug introduced in `2.18.0`.
|
|
8
|
+
|
|
5
9
|
### 2026-03-06 (2.19.0)
|
|
6
10
|
|
|
7
11
|
* Fix `allow_blank` parsing option to no longer allow invalid types (e.g. `load([], allow_blank: true)` now raise a type error).
|
|
@@ -166,6 +166,7 @@ static void fbuffer_append_str(FBuffer *fb, VALUE str)
|
|
|
166
166
|
RSTRING_GETMEM(str, ptr, len);
|
|
167
167
|
|
|
168
168
|
fbuffer_append(fb, ptr, len);
|
|
169
|
+
RB_GC_GUARD(str);
|
|
169
170
|
}
|
|
170
171
|
|
|
171
172
|
static void fbuffer_append_str_repeat(FBuffer *fb, VALUE str, size_t repeat)
|
|
@@ -182,6 +183,7 @@ static void fbuffer_append_str_repeat(FBuffer *fb, VALUE str, size_t repeat)
|
|
|
182
183
|
fbuffer_append_reserved(fb, ptr, len);
|
|
183
184
|
repeat--;
|
|
184
185
|
}
|
|
186
|
+
RB_GC_GUARD(str);
|
|
185
187
|
}
|
|
186
188
|
|
|
187
189
|
static inline void fbuffer_append_char(FBuffer *fb, char newchr)
|
data/lib/json/version.rb
CHANGED