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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ad87ede1dc1046dc1129810d396b384572f654bab3f426b303c2a26c46d30507
4
- data.tar.gz: f0a37ec49e92932743c014ba0f8ef5f8de44dcc21fd7f0b7119090308d6089ab
3
+ metadata.gz: a8e957736963670cb6a9f7b12b7ead8c90dc7885fdd1391db380d6863ecee28c
4
+ data.tar.gz: 3530f1314b9f1d153ae304c076b3781f62e1f6a34e90754c977e8f4fe6f7693d
5
5
  SHA512:
6
- metadata.gz: 54efd8912a0ede8e60e9c2215a2819d10d7f9cd6298460bccd3bcbd2b2b0005f8ec2fe60093ee5e5a399f17460b15a352bc381858fc3d252b17ac336bb8e905b
7
- data.tar.gz: 7816771d96e7d0751b627769bde1a609c735e9a9442f6922f07d687fe2bd614b7cd76c3599078edcc8ab1df7e7e7db0083b02a751aeb45675d668c880194a03f
6
+ metadata.gz: 266147e6d75bf31c0161bcd25882f4979f6f525cb2bba5926b32c68f4a8db39be3a9e12969b6a7dac6ebbad7efd29db06c7eb14dd8207280a0af3a3c0469e5c5
7
+ data.tar.gz: d47a234b59fbce06a92feabb3fd72cf71853550c9f97873b82d122e05e9652638aa7b2822c2a4050efa201625246f0bacae66facb4ed85485dd843947e8aa36e
@@ -1,30 +1,30 @@
1
1
  {
2
2
  "complex1-46KB": {
3
- "avg_time": 0.058778864333329274,
4
- "min_time": 0.05830439700000056,
5
- "max_time": 0.05932801200000881,
3
+ "avg_time": 0.03734036433333188,
4
+ "min_time": 0.0371666289999979,
5
+ "max_time": 0.03745624500000133,
6
6
  "allocations": 51133,
7
- "ips": 17.012918016399507
7
+ "ips": 26.780670672443065
8
8
  },
9
9
  "complex4-50KB": {
10
- "avg_time": 0.07925129733333354,
11
- "min_time": 0.07819793400000208,
12
- "max_time": 0.08018583899999498,
10
+ "avg_time": 0.052592221666666696,
11
+ "min_time": 0.05142729300000326,
12
+ "max_time": 0.053059656000002065,
13
13
  "allocations": 71910,
14
- "ips": 12.61808997011074
14
+ "ips": 19.01421861084463
15
15
  },
16
16
  "size1000-245KB": {
17
- "avg_time": 0.4650558216666667,
18
- "min_time": 0.4527184709999972,
19
- "max_time": 0.4820626730000015,
17
+ "avg_time": 0.30391380833333415,
18
+ "min_time": 0.2985424360000053,
19
+ "max_time": 0.30682469100000276,
20
20
  "allocations": 406451,
21
- "ips": 2.150279500676286
21
+ "ips": 3.2904065974626433
22
22
  },
23
23
  "complex3-567KB": {
24
- "avg_time": 0.63353054833334,
25
- "min_time": 0.6305890920000081,
26
- "max_time": 0.6364362909999954,
24
+ "avg_time": 0.4150900423333326,
25
+ "min_time": 0.41338928599999747,
26
+ "max_time": 0.41597578200000385,
27
27
  "allocations": 587536,
28
- "ips": 1.5784558497309233
28
+ "ips": 2.4091158496087535
29
29
  }
30
30
  }
@@ -1,23 +1,23 @@
1
1
  {
2
2
  "metrology-4KB": {
3
- "avg_time": 0.01583877299999396,
4
- "min_time": 0.01537591099999247,
5
- "max_time": 0.01672697600000106,
3
+ "avg_time": 0.010063263333345654,
4
+ "min_time": 0.009257001000008813,
5
+ "max_time": 0.011522572000018272,
6
6
  "allocations": 7544,
7
- "ips": 63.136203795608495
7
+ "ips": 99.37134375549903
8
8
  },
9
9
  "bmj-49KB": {
10
- "avg_time": 0.14416509699999835,
11
- "min_time": 0.14264834999998754,
12
- "max_time": 0.145113625999997,
10
+ "avg_time": 0.09440573666664893,
11
+ "min_time": 0.09292815799997811,
12
+ "max_time": 0.09535357799998678,
13
13
  "allocations": 72378,
14
- "ips": 6.936491708530612
14
+ "ips": 10.592576630497009
15
15
  },
16
16
  "pnas-152KB": {
17
- "avg_time": 0.6785376123333341,
18
- "min_time": 0.6706088810000068,
19
- "max_time": 0.6903751819999968,
17
+ "avg_time": 0.4268490719999913,
18
+ "min_time": 0.4227435029999924,
19
+ "max_time": 0.43070350499999677,
20
20
  "allocations": 259437,
21
- "ips": 1.4737576544375057
21
+ "ips": 2.342748445755132
22
22
  }
23
23
  }
@@ -1,30 +1,30 @@
1
1
  {
2
2
  "feature-doc-23KB": {
3
- "avg_time": 0.07073791833333114,
4
- "min_time": 0.06960952800000086,
5
- "max_time": 0.07274033499999177,
3
+ "avg_time": 0.05483059733333562,
4
+ "min_time": 0.05375416399999722,
5
+ "max_time": 0.0561208400000055,
6
6
  "allocations": 32998,
7
- "ips": 14.13668967876325
7
+ "ips": 18.237992081695328
8
8
  },
9
9
  "tbx-nisosts-101KB": {
10
- "avg_time": 0.2049442063333231,
11
- "min_time": 0.20431456800000092,
12
- "max_time": 0.20608122899997738,
10
+ "avg_time": 0.15503678066666757,
11
+ "min_time": 0.15244913000000793,
12
+ "max_time": 0.15633518299998173,
13
13
  "allocations": 134786,
14
- "ips": 4.879376772298657
14
+ "ips": 6.450082333365923
15
15
  },
16
16
  "iso-13849-1MB": {
17
- "avg_time": 8.094979964666683,
18
- "min_time": 8.011807766000004,
19
- "max_time": 8.253521833999997,
17
+ "avg_time": 5.312145330333332,
18
+ "min_time": 5.289715321000017,
19
+ "max_time": 5.352490981999978,
20
20
  "allocations": 1733464,
21
- "ips": 0.1235333508377838
21
+ "ips": 0.18824786179885084
22
22
  },
23
23
  "din-iso-1.1MB": {
24
- "avg_time": 0.823126560000001,
25
- "min_time": 0.8167314490000024,
26
- "max_time": 0.8273381509999922,
24
+ "avg_time": 0.6096079980000013,
25
+ "min_time": 0.5997889989999976,
26
+ "max_time": 0.6157538460000183,
27
27
  "allocations": 883501,
28
- "ips": 1.2148800058158722
28
+ "ips": 1.6403984253500523
29
29
  }
30
30
  }
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "800-expressions": {
3
- "avg_time": 0.3023703103333257,
4
- "min_time": 0.3015562899999509,
5
- "max_time": 0.3033698390000268,
3
+ "avg_time": 0.27309784533332504,
4
+ "min_time": 0.2719493029999853,
5
+ "max_time": 0.2746361779999802,
6
6
  "allocations": 134002,
7
- "ips": 3.3072030084488926
7
+ "ips": 3.661691284233556
8
8
  }
9
9
  }
@@ -1,30 +1,30 @@
1
1
  {
2
2
  "ea251": {
3
- "avg_time": 0.3043722769999988,
4
- "min_time": 0.2995728340000028,
5
- "max_time": 0.3132120479999969,
3
+ "avg_time": 0.24634261099998866,
4
+ "min_time": 0.24230798000002096,
5
+ "max_time": 0.25200138399998195,
6
6
  "allocations": 183151,
7
- "ips": 3.285450336858386
7
+ "ips": 4.059387029879479
8
8
  },
9
9
  "medium": {
10
- "avg_time": 0.7569878543333269,
11
- "min_time": 0.7486214030000156,
12
- "max_time": 0.7709131660000139,
10
+ "avg_time": 0.6121852393333332,
11
+ "min_time": 0.6060158389999799,
12
+ "max_time": 0.623339054000013,
13
13
  "allocations": 474403,
14
- "ips": 1.3210251581654398
14
+ "ips": 1.633492504799683
15
15
  },
16
16
  "citygml": {
17
- "avg_time": 0.8518815016666679,
18
- "min_time": 0.8465627909999967,
19
- "max_time": 0.8623405149999996,
17
+ "avg_time": 0.6913046006666642,
18
+ "min_time": 0.6854582240000013,
19
+ "max_time": 0.7006513389999895,
20
20
  "allocations": 586804,
21
- "ips": 1.1738721853257112
21
+ "ips": 1.4465403514393558
22
22
  },
23
23
  "large": {
24
- "avg_time": 7.076599947333325,
25
- "min_time": 6.997333662999978,
26
- "max_time": 7.230798198000002,
24
+ "avg_time": 5.741814371333343,
25
+ "min_time": 5.667766696000001,
26
+ "max_time": 5.879655317000015,
27
27
  "allocations": 4531263,
28
- "ips": 0.14131080002294463
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 (the former
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
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Lutaml
4
4
  module Model
5
- VERSION = "0.8.171"
5
+ VERSION = "0.8.173"
6
6
  end
7
7
  end
@@ -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.171
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-09 00:00:00.000000000 Z
11
+ date: 2026-11-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: base64