moxml 0.5.65 → 0.5.66
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/moxml/adapter/leptris.rb +10 -6
- data/lib/moxml/struct_plan.rb +1 -1
- data/lib/moxml/version.rb +1 -1
- data/spec/moxml/struct_plan_spec.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: '09a2bb224c6634bc1b03be4d7c3e9e878624f8bbf14800987d697ba12c99a80f'
|
|
4
|
+
data.tar.gz: 2ebdc4c85fb2101c4ff8999726d7ac6a38eab2809a62a1d8c436b3bbb60a568a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5f205b87427d7238d18101677340d0714c6fb486b3368a310e580e35bb98a74d6433a03dc5601b4f0f9d81e65ef4a92b443c76aab0c2abf1f6e733fe2838c20c
|
|
7
|
+
data.tar.gz: 1b2da0651b61c31e82ac8f0c70746821064f06aa4585931d4878017acb879e63f8ad55958e68e83089e0a8fb9b91c406c299ee8e3efe2db0b06a05376db73d1e
|
|
@@ -537,13 +537,17 @@ module Moxml
|
|
|
537
537
|
NATIVE_READ_LAYER &&
|
|
538
538
|
Gem::Version.new(::Leptris::VERSION) >= Gem::Version.new("1.9.193.4")
|
|
539
539
|
|
|
540
|
-
# leptris-ruby#
|
|
541
|
-
# the C struct executor behind Moxml::StructPlan. The
|
|
542
|
-
#
|
|
543
|
-
#
|
|
544
|
-
#
|
|
540
|
+
# leptris-ruby#272 (binding 1.9.201.1): Native.plan_structs —
|
|
541
|
+
# the C struct executor behind Moxml::StructPlan. The floor
|
|
542
|
+
# is the varargs-mint fix: 1.9.197.1–1.9.201.0 seed unmapped
|
|
543
|
+
# struct members with garbage (GC aborts, corrupted data);
|
|
544
|
+
# StructPlan falls back to its spec-pinned Moxml::Plan path
|
|
545
|
+
# below the fix. The probe guards the version gate: a
|
|
546
|
+
# numerically newer lockstep can publish without the face
|
|
547
|
+
# (1.9.199.0 shipped without it), and the gate alone would
|
|
548
|
+
# NoMethodError.
|
|
545
549
|
NATIVE_PLAN_STRUCTS =
|
|
546
|
-
Gem::Version.new(::Leptris::VERSION) >= Gem::Version.new("1.9.
|
|
550
|
+
Gem::Version.new(::Leptris::VERSION) >= Gem::Version.new("1.9.201.1") &&
|
|
547
551
|
(!defined?(::Leptris::XML::Native) ||
|
|
548
552
|
::Leptris::XML::Native.respond_to?(:plan_structs))
|
|
549
553
|
|
data/lib/moxml/struct_plan.rb
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
module Moxml
|
|
4
4
|
# Struct-compiled materialization — the fully compiled grammar:
|
|
5
5
|
# declare the document shape once as STRUCTS; adapters with a C
|
|
6
|
-
# executor (leptris 1.9.
|
|
6
|
+
# executor (leptris 1.9.201.1+, the varargs-mint fix) mint the typed
|
|
7
7
|
# with zero Ruby frames per element; everything else falls back to
|
|
8
8
|
# an equivalent Moxml::Plan over the row stream (spec-pinned
|
|
9
9
|
# equal).
|
data/lib/moxml/version.rb
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
require "spec_helper"
|
|
4
4
|
|
|
5
5
|
# Moxml::StructPlan: the fully compiled grammar — struct slots
|
|
6
|
-
# declared once, minted in C on leptris (1.9.
|
|
6
|
+
# declared once, minted in C on leptris (1.9.201.1+) and via the
|
|
7
7
|
# plan fallback everywhere else. Results must be identical to
|
|
8
8
|
# Moxml::Plan.
|
|
9
9
|
SRecord = Struct.new(:id, :kind, :fields)
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: moxml
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.5.
|
|
4
|
+
version: 0.5.66
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ribose Inc.
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-09-
|
|
11
|
+
date: 2026-09-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: |
|
|
14
14
|
Moxml is a unified XML manipulation library that provides a common API
|