lutaml-model 0.8.171 → 0.8.173
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/bench/baselines/main_mml.json +16 -16
- data/bench/baselines/main_niso.json +12 -12
- data/bench/baselines/main_sts.json +16 -16
- data/bench/baselines/main_unitsml.json +4 -4
- data/bench/baselines/main_xmi.json +16 -16
- data/lib/lutaml/model/adapter_resolver.rb +1 -2
- data/lib/lutaml/model/version.rb +1 -1
- data/lib/lutaml/xml/model_transform.rb +0 -2
- data/spec/lutaml/model/adapter_resolver_yeptris_switch_spec.rb +0 -13
- 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: a8e957736963670cb6a9f7b12b7ead8c90dc7885fdd1391db380d6863ecee28c
|
|
4
|
+
data.tar.gz: 3530f1314b9f1d153ae304c076b3781f62e1f6a34e90754c977e8f4fe6f7693d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 266147e6d75bf31c0161bcd25882f4979f6f525cb2bba5926b32c68f4a8db39be3a9e12969b6a7dac6ebbad7efd29db06c7eb14dd8207280a0af3a3c0469e5c5
|
|
7
|
+
data.tar.gz: d47a234b59fbce06a92feabb3fd72cf71853550c9f97873b82d122e05e9652638aa7b2822c2a4050efa201625246f0bacae66facb4ed85485dd843947e8aa36e
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
{
|
|
2
2
|
"complex1-46KB": {
|
|
3
|
-
"avg_time": 0.
|
|
4
|
-
"min_time": 0.
|
|
5
|
-
"max_time": 0.
|
|
3
|
+
"avg_time": 0.03734036433333188,
|
|
4
|
+
"min_time": 0.0371666289999979,
|
|
5
|
+
"max_time": 0.03745624500000133,
|
|
6
6
|
"allocations": 51133,
|
|
7
|
-
"ips":
|
|
7
|
+
"ips": 26.780670672443065
|
|
8
8
|
},
|
|
9
9
|
"complex4-50KB": {
|
|
10
|
-
"avg_time": 0.
|
|
11
|
-
"min_time": 0.
|
|
12
|
-
"max_time": 0.
|
|
10
|
+
"avg_time": 0.052592221666666696,
|
|
11
|
+
"min_time": 0.05142729300000326,
|
|
12
|
+
"max_time": 0.053059656000002065,
|
|
13
13
|
"allocations": 71910,
|
|
14
|
-
"ips":
|
|
14
|
+
"ips": 19.01421861084463
|
|
15
15
|
},
|
|
16
16
|
"size1000-245KB": {
|
|
17
|
-
"avg_time": 0.
|
|
18
|
-
"min_time": 0.
|
|
19
|
-
"max_time": 0.
|
|
17
|
+
"avg_time": 0.30391380833333415,
|
|
18
|
+
"min_time": 0.2985424360000053,
|
|
19
|
+
"max_time": 0.30682469100000276,
|
|
20
20
|
"allocations": 406451,
|
|
21
|
-
"ips":
|
|
21
|
+
"ips": 3.2904065974626433
|
|
22
22
|
},
|
|
23
23
|
"complex3-567KB": {
|
|
24
|
-
"avg_time": 0.
|
|
25
|
-
"min_time": 0.
|
|
26
|
-
"max_time": 0.
|
|
24
|
+
"avg_time": 0.4150900423333326,
|
|
25
|
+
"min_time": 0.41338928599999747,
|
|
26
|
+
"max_time": 0.41597578200000385,
|
|
27
27
|
"allocations": 587536,
|
|
28
|
-
"ips":
|
|
28
|
+
"ips": 2.4091158496087535
|
|
29
29
|
}
|
|
30
30
|
}
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
{
|
|
2
2
|
"metrology-4KB": {
|
|
3
|
-
"avg_time": 0.
|
|
4
|
-
"min_time": 0.
|
|
5
|
-
"max_time": 0.
|
|
3
|
+
"avg_time": 0.010063263333345654,
|
|
4
|
+
"min_time": 0.009257001000008813,
|
|
5
|
+
"max_time": 0.011522572000018272,
|
|
6
6
|
"allocations": 7544,
|
|
7
|
-
"ips":
|
|
7
|
+
"ips": 99.37134375549903
|
|
8
8
|
},
|
|
9
9
|
"bmj-49KB": {
|
|
10
|
-
"avg_time": 0.
|
|
11
|
-
"min_time": 0.
|
|
12
|
-
"max_time": 0.
|
|
10
|
+
"avg_time": 0.09440573666664893,
|
|
11
|
+
"min_time": 0.09292815799997811,
|
|
12
|
+
"max_time": 0.09535357799998678,
|
|
13
13
|
"allocations": 72378,
|
|
14
|
-
"ips":
|
|
14
|
+
"ips": 10.592576630497009
|
|
15
15
|
},
|
|
16
16
|
"pnas-152KB": {
|
|
17
|
-
"avg_time": 0.
|
|
18
|
-
"min_time": 0.
|
|
19
|
-
"max_time": 0.
|
|
17
|
+
"avg_time": 0.4268490719999913,
|
|
18
|
+
"min_time": 0.4227435029999924,
|
|
19
|
+
"max_time": 0.43070350499999677,
|
|
20
20
|
"allocations": 259437,
|
|
21
|
-
"ips":
|
|
21
|
+
"ips": 2.342748445755132
|
|
22
22
|
}
|
|
23
23
|
}
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
{
|
|
2
2
|
"feature-doc-23KB": {
|
|
3
|
-
"avg_time": 0.
|
|
4
|
-
"min_time": 0.
|
|
5
|
-
"max_time": 0.
|
|
3
|
+
"avg_time": 0.05483059733333562,
|
|
4
|
+
"min_time": 0.05375416399999722,
|
|
5
|
+
"max_time": 0.0561208400000055,
|
|
6
6
|
"allocations": 32998,
|
|
7
|
-
"ips":
|
|
7
|
+
"ips": 18.237992081695328
|
|
8
8
|
},
|
|
9
9
|
"tbx-nisosts-101KB": {
|
|
10
|
-
"avg_time": 0.
|
|
11
|
-
"min_time": 0.
|
|
12
|
-
"max_time": 0.
|
|
10
|
+
"avg_time": 0.15503678066666757,
|
|
11
|
+
"min_time": 0.15244913000000793,
|
|
12
|
+
"max_time": 0.15633518299998173,
|
|
13
13
|
"allocations": 134786,
|
|
14
|
-
"ips":
|
|
14
|
+
"ips": 6.450082333365923
|
|
15
15
|
},
|
|
16
16
|
"iso-13849-1MB": {
|
|
17
|
-
"avg_time":
|
|
18
|
-
"min_time":
|
|
19
|
-
"max_time":
|
|
17
|
+
"avg_time": 5.312145330333332,
|
|
18
|
+
"min_time": 5.289715321000017,
|
|
19
|
+
"max_time": 5.352490981999978,
|
|
20
20
|
"allocations": 1733464,
|
|
21
|
-
"ips": 0.
|
|
21
|
+
"ips": 0.18824786179885084
|
|
22
22
|
},
|
|
23
23
|
"din-iso-1.1MB": {
|
|
24
|
-
"avg_time": 0.
|
|
25
|
-
"min_time": 0.
|
|
26
|
-
"max_time": 0.
|
|
24
|
+
"avg_time": 0.6096079980000013,
|
|
25
|
+
"min_time": 0.5997889989999976,
|
|
26
|
+
"max_time": 0.6157538460000183,
|
|
27
27
|
"allocations": 883501,
|
|
28
|
-
"ips": 1.
|
|
28
|
+
"ips": 1.6403984253500523
|
|
29
29
|
}
|
|
30
30
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"800-expressions": {
|
|
3
|
-
"avg_time": 0.
|
|
4
|
-
"min_time": 0.
|
|
5
|
-
"max_time": 0.
|
|
3
|
+
"avg_time": 0.27309784533332504,
|
|
4
|
+
"min_time": 0.2719493029999853,
|
|
5
|
+
"max_time": 0.2746361779999802,
|
|
6
6
|
"allocations": 134002,
|
|
7
|
-
"ips": 3.
|
|
7
|
+
"ips": 3.661691284233556
|
|
8
8
|
}
|
|
9
9
|
}
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
{
|
|
2
2
|
"ea251": {
|
|
3
|
-
"avg_time": 0.
|
|
4
|
-
"min_time": 0.
|
|
5
|
-
"max_time": 0.
|
|
3
|
+
"avg_time": 0.24634261099998866,
|
|
4
|
+
"min_time": 0.24230798000002096,
|
|
5
|
+
"max_time": 0.25200138399998195,
|
|
6
6
|
"allocations": 183151,
|
|
7
|
-
"ips":
|
|
7
|
+
"ips": 4.059387029879479
|
|
8
8
|
},
|
|
9
9
|
"medium": {
|
|
10
|
-
"avg_time": 0.
|
|
11
|
-
"min_time": 0.
|
|
12
|
-
"max_time": 0.
|
|
10
|
+
"avg_time": 0.6121852393333332,
|
|
11
|
+
"min_time": 0.6060158389999799,
|
|
12
|
+
"max_time": 0.623339054000013,
|
|
13
13
|
"allocations": 474403,
|
|
14
|
-
"ips": 1.
|
|
14
|
+
"ips": 1.633492504799683
|
|
15
15
|
},
|
|
16
16
|
"citygml": {
|
|
17
|
-
"avg_time": 0.
|
|
18
|
-
"min_time": 0.
|
|
19
|
-
"max_time": 0.
|
|
17
|
+
"avg_time": 0.6913046006666642,
|
|
18
|
+
"min_time": 0.6854582240000013,
|
|
19
|
+
"max_time": 0.7006513389999895,
|
|
20
20
|
"allocations": 586804,
|
|
21
|
-
"ips": 1.
|
|
21
|
+
"ips": 1.4465403514393558
|
|
22
22
|
},
|
|
23
23
|
"large": {
|
|
24
|
-
"avg_time":
|
|
25
|
-
"min_time":
|
|
26
|
-
"max_time":
|
|
24
|
+
"avg_time": 5.741814371333343,
|
|
25
|
+
"min_time": 5.667766696000001,
|
|
26
|
+
"max_time": 5.879655317000015,
|
|
27
27
|
"allocations": 4531263,
|
|
28
|
-
"ips": 0.
|
|
28
|
+
"ips": 0.17416097688434737
|
|
29
29
|
}
|
|
30
30
|
}
|
|
@@ -424,8 +424,7 @@ module Lutaml
|
|
|
424
424
|
# centralized: a host that wants a different engine configures
|
|
425
425
|
# it through Config (yaml_adapter_type= / json_adapter_type=),
|
|
426
426
|
# which pins the adapter and bypasses detection entirely; no
|
|
427
|
-
# environment variables are consulted here
|
|
428
|
-
# LUTAML_YAML / FONTIST_YAML spellings are not read anymore).
|
|
427
|
+
# environment variables are consulted here.
|
|
429
428
|
# The probe matters because a half-initialized Yeptris constant
|
|
430
429
|
# (the poison-process state the gem documents) passes
|
|
431
430
|
# const_defined? and require while every parse fails; without
|
data/lib/lutaml/model/version.rb
CHANGED
|
@@ -12,8 +12,6 @@ module Lutaml
|
|
|
12
12
|
# - Used by model's serialization pipeline via Transform.for(:xml)
|
|
13
13
|
#
|
|
14
14
|
class ModelTransform < ::Lutaml::Model::Transform
|
|
15
|
-
require "cgi" unless Lutaml::Model.opal?
|
|
16
|
-
|
|
17
15
|
# Per (model class, register): compiled records for the mapping
|
|
18
16
|
# rules — attribute, derived/valid flags, and #765 group-skip —
|
|
19
17
|
# keyed on the mapping's finalize version so late changes rebuild.
|
|
@@ -74,19 +74,6 @@ RSpec.describe "yeptris engine preference" do
|
|
|
74
74
|
.not_to be(Lutaml::Yaml::Adapter::YeptrisAdapter)
|
|
75
75
|
end
|
|
76
76
|
|
|
77
|
-
it "does not consult environment variables for engine choice" do
|
|
78
|
-
ENV["LUTAML_YAML"] = "standard"
|
|
79
|
-
ENV["FONTIST_YAML"] = "standard"
|
|
80
|
-
|
|
81
|
-
if yeptris_engine_available?
|
|
82
|
-
expect(Lutaml::Model::Config.adapter_for(:yaml))
|
|
83
|
-
.to be(Lutaml::Yaml::Adapter::YeptrisAdapter)
|
|
84
|
-
else
|
|
85
|
-
expect(Lutaml::Model::Config.adapter_for(:yaml))
|
|
86
|
-
.not_to be(Lutaml::Yaml::Adapter::YeptrisAdapter)
|
|
87
|
-
end
|
|
88
|
-
end
|
|
89
|
-
|
|
90
77
|
# leptris/yeptris#863: plain string scalars must materialize as
|
|
91
78
|
# strings on every platform build; the 0.6.53 linux build turned
|
|
92
79
|
# them into single-element Arrays, corrupting checksum consumers.
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: lutaml-model
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.8.
|
|
4
|
+
version: 0.8.173
|
|
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-11-
|
|
11
|
+
date: 2026-11-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: base64
|