yeptris 0.6.34.1-powerpc64le-linux → 0.6.34.3-powerpc64le-linux
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/lib/yeptris/ffi.rb +6 -0
- data/lib/yeptris/json.rb +8 -1
- data/lib/yeptris/yaml.rb +5 -0
- data/lib/yeptris.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: 2a1fc48dd3f37f31cfb5c1f4215b47fd5a6b2ef26040c7d7cc4cda68ddb5dd96
|
|
4
|
+
data.tar.gz: d77725e43bf4eeb0acc6043535ed35abd8cbed1c1cf32b0d79109419ad111c4a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ab00014039657c476e6336d4ca4bf60e8f4f05a330e8151b2a1f8f0e0117d16220e24997414697cc060acf339dbaaae65805557c69dd9163f7033fef25a64147
|
|
7
|
+
data.tar.gz: 1eb4b4d233f915dcd3a7729c068ef1e7d00c1a3729d851ace00756a43dac5b459abd80f9705958e3936084c759b24ff832086c44e6aa92758a2f08a8dfb389da
|
data/lib/yeptris/ffi.rb
CHANGED
|
@@ -239,6 +239,12 @@ module Yeptris
|
|
|
239
239
|
# the strict-dup marshal entry (engine 0.6.34+, yeptris-ruby#278):
|
|
240
240
|
# gates the JSON fallback's C route in STRICT mode
|
|
241
241
|
MARSHAL_STRICT_DUP = !(@missing ||= []).include?(:yeptris_marshal_node_ex)
|
|
242
|
+
# engine flag value (yeptris.h: YEPTRIS_MARSHAL_STRICT_DUP_KEYS 1u);
|
|
243
|
+
# defined whether or not the entry exists, because the JSON fallback
|
|
244
|
+
# references it on lanes without a Ruby-version-matched native ext
|
|
245
|
+
# (windows) and a NameError there fails every parse (lutaml-jsonschema
|
|
246
|
+
# CI, x64-mingw-ucrt 0.6.34.2)
|
|
247
|
+
MARSHAL_STRICT_DUP_KEYS = 1
|
|
242
248
|
|
|
243
249
|
# bulk build (TODO.impl/15 phase D): one call raises a document
|
|
244
250
|
BUILD_SCALAR = 1
|
data/lib/yeptris/json.rb
CHANGED
|
@@ -45,7 +45,14 @@ module Yeptris
|
|
|
45
45
|
# yeptris-ruby#278: with no Ruby-version-matched native build the
|
|
46
46
|
# pure-Ruby walk measured 0.11x vs JSON.parse on real documents —
|
|
47
47
|
# the marshal engine keeps the fallback C-side end to end.
|
|
48
|
-
|
|
48
|
+
# STRICT_DUPLICATE_KEYS rides the flags: json >= 3's default
|
|
49
|
+
# contract raises on duplicates. The flags were hardcoded to 0
|
|
50
|
+
# here, so every lane without the native ext (windows-latest has
|
|
51
|
+
# none) answered last-wins under json >= 3 — found by canon's
|
|
52
|
+
# dependent CI, whose parity pin now names the lane.
|
|
53
|
+
return marshal_engine(
|
|
54
|
+
source, STRICT_DUPLICATE_KEYS ? ::Yeptris::FFI::MARSHAL_STRICT_DUP_KEYS : 0
|
|
55
|
+
) if ::Yeptris::FFI::MARSHAL_STRICT_DUP
|
|
49
56
|
tape_engine(source)
|
|
50
57
|
end
|
|
51
58
|
|
data/lib/yeptris/yaml.rb
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
+
# The BulkBuilder's `when Date` must not depend on the caller loading
|
|
4
|
+
# stdlib's date (issue #289: a clean `require "yeptris"` raised NameError
|
|
5
|
+
# before the DumpError branch could run). Psych requires date the same way.
|
|
6
|
+
require "date"
|
|
7
|
+
|
|
3
8
|
# Self-sufficient (issue #95): the neutral surface is a valid entry
|
|
4
9
|
# point on its own — lutaml-model requires exactly this file.
|
|
5
10
|
require "yeptris"
|
data/lib/yeptris.rb
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
module Yeptris
|
|
4
4
|
# The gem's version lives in the parent namespace's file — the last
|
|
5
5
|
# internal require (yeptris/version) retired with it.
|
|
6
|
-
VERSION = "0.6.34.
|
|
6
|
+
VERSION = "0.6.34.3".freeze
|
|
7
7
|
|
|
8
8
|
# Informational notices are OPT-IN (yeptris-ruby#217): consumers
|
|
9
9
|
# embed yeptris inside CLIs that assert clean stderr, and a
|