json 2.21.0 → 2.21.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/parser/extconf.rb +0 -16
- 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: bd45f22d143e0edbca7ee9ba8209d10fd58f1b21f5e095d7a4c2938d12ea1041
|
|
4
|
+
data.tar.gz: 7104d723fe198b21508897a5583fcb513407595df0fdb0240c0343481cac7e06
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 554e73a89035e122a9643ecdd611ca893dbcfee74d86b9dd1ed8ea1fb2d0ddfc84416458efeff5b71925922e8e59c1c60aa90a172a411c6a33e3069a41e328d5
|
|
7
|
+
data.tar.gz: 4746639e1e86fff01e23ecbc036bae1410e6e944687ad576daf297f4d50f792334d0bef5a2864b0f2fe7e32495d7c205be2b666c811985f7168d0c2c8b1892f8
|
data/CHANGES.md
CHANGED
|
@@ -15,22 +15,6 @@ have_func("rb_hash_new_capa", "ruby.h") # RUBY_VERSION >= 3.2
|
|
|
15
15
|
have_func("rb_hash_bulk_insert", "ruby.h") # Missing on TruffleRuby
|
|
16
16
|
have_func("ruby_xfree_sized", "ruby.h") # RUBY_VERSION >= 4.1
|
|
17
17
|
|
|
18
|
-
def have_builtin_func(name, check_expr, opt = "", &b)
|
|
19
|
-
checking_for checking_message(name.funcall_style, nil, opt) do
|
|
20
|
-
if try_compile(<<SRC, opt, &b)
|
|
21
|
-
int foo;
|
|
22
|
-
int main() { #{check_expr}; return 0; }
|
|
23
|
-
SRC
|
|
24
|
-
$defs.push(format("-DHAVE_BUILTIN_%s", name.tr_cpp))
|
|
25
|
-
true
|
|
26
|
-
else
|
|
27
|
-
false
|
|
28
|
-
end
|
|
29
|
-
end
|
|
30
|
-
end
|
|
31
|
-
|
|
32
|
-
have_builtin_func("__builtin_clzll", "__builtin_clzll(0)")
|
|
33
|
-
|
|
34
18
|
if have_header("x86intrin.h")
|
|
35
19
|
have_func("_lzcnt_u64", "x86intrin.h")
|
|
36
20
|
end
|
data/lib/json/version.rb
CHANGED