yeptris 0.6.34.1 → 0.6.34.2
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/json.rb +8 -1
- data/lib/yeptris/yaml.rb +5 -0
- data/lib/yeptris.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3b8fbcfd83e15bb33982ca01b2d79c53083b2180a7cf168aa5419f841c1286d2
|
|
4
|
+
data.tar.gz: fb9422ddb1c0805c56bdf58e2730febaf1db5e1812b3bc27b88f3f52b6396138
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 318c4eeb0e613da7561ca531b4812fab8bbb7785e8aa5c5c333b0a95b123f122a317eb70cad16e661dc0e5bfddded5032473b67fef2d2522e576e0f65546e19f
|
|
7
|
+
data.tar.gz: 975b00c861a6eddb2a59a5aecf329e33ec9cbf922b3079cbe8c520dd2ebaf51ca65c7d6758aa3db15b7b04653f4d8aa730d1d41b4223d3b88ebe786b9cea229c
|
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.2".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
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: yeptris
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.6.34.
|
|
4
|
+
version: 0.6.34.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ribose Inc.
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-10-
|
|
11
|
+
date: 2026-10-21 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: ffi
|