parsanol 1.3.117-aarch64-linux → 1.3.118-aarch64-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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c3b437c6c7e0fb3a4455f0fdf304f0dac6168efcb7865c4d6fb36d5501105c80
4
- data.tar.gz: 8f56aa483c8456e148a7453fe7843ec265b1ca1862ded288709a05ab97631400
3
+ metadata.gz: 528e8dbd52f42bdf29e0692ec6b78b45811d6200234a024be6d0239f260cffdd
4
+ data.tar.gz: 34113c97e3669e08bf58f4a1bc212c0bf4046000614f014dc8c961322bfbc57f
5
5
  SHA512:
6
- metadata.gz: f11d4e285d3c83f31055bc2ac4d93ef6465d5c04f6eacedc8cc3e8047610d39b9b9137014a5522aad5f852072fec1f9e36f5352225820b87bff71d2fb071a68b
7
- data.tar.gz: 25792217f32bb607978c22934e0fa8ccbb36d2cc0dfe9f8cd2c0cb5b35ef345f45a82d61f70f24b826b0b4b53e977ee7734ed2e6362508067fa61660121b6209
6
+ metadata.gz: 3ff05e12878bdfb59ac439f50dcf782d8738a38ccc885bb3de83b833de9980ab6112835386e96e5c06e9e88df831cea52f05748db4e86ea94cab13c29c62ccbc
7
+ data.tar.gz: f49ed696b260077f0f77a6e0d21acba191af25c0b39a4eecfaa84c0c5bf78e7760d1c812545ace2bc722841073bd6efdc150672a8146159534849c6f9ab3d9ea
@@ -1,4 +1,4 @@
1
1
  [diffend] Oversized file quarantined before diffing.
2
2
  name: data/lib/parsanol/3.2/parsanol_native.so
3
- size: 46565312 bytes
4
- sha256: 3f157f1fa0af1004087c94c804cf9c4344085a1b50d67cd2eda349a36e697551
3
+ size: 46566584 bytes
4
+ sha256: 870a9bf97e079764ecc2ea3d1af4fbfc24081e4fb0e8e2d5d21e454a7bc842db
@@ -1,4 +1,4 @@
1
1
  [diffend] Oversized file quarantined before diffing.
2
2
  name: data/lib/parsanol/3.3/parsanol_native.so
3
- size: 46804488 bytes
4
- sha256: d3e84e55f95334893a64bb4a4643f85f8b7e717d47039b29be4c7e0b8bf62bf8
3
+ size: 46805760 bytes
4
+ sha256: ce41490479d101f992a192d3ad9cb8d3ad550e128590797acd7cc17422c61bde
@@ -1,4 +1,4 @@
1
1
  [diffend] Oversized file quarantined before diffing.
2
2
  name: data/lib/parsanol/3.4/parsanol_native.so
3
- size: 46808544 bytes
4
- sha256: a0ebea5baf40f9e711bc83813866d20faf5e992ff8de3961db483afa69840b13
3
+ size: 46809816 bytes
4
+ sha256: 449cec2f4d18b089ef179ba27214fbb7c7dd8f113e7fb77b2edfaed76ebaddbe
@@ -1,4 +1,4 @@
1
1
  [diffend] Oversized file quarantined before diffing.
2
2
  name: data/lib/parsanol/4.0/parsanol_native.so
3
- size: 46818520 bytes
4
- sha256: 2294a40d16a8f3586ee711363bc493171be5615f7fb2091d5bb3e7c0108d11f8
3
+ size: 46819800 bytes
4
+ sha256: 7933405b216e4fba9a41ec2771c6239b73ee32645f67145c9370f9daa0bb8aa3
@@ -1,4 +1,4 @@
1
1
  [diffend] Oversized file quarantined before diffing.
2
2
  name: data/lib/parsanol/native/libparsanol.so
3
- size: 42274720 bytes
4
- sha256: 2b4ed62ee2d5a06171575e2c61ecbbec68772143eb8350678b9b90e3a5f18bad
3
+ size: 42275976 bytes
4
+ sha256: 3d3dc209b794a4b5927b609bb1ff442d18bfc40bcd349cee57c3a6dc1302a442
@@ -185,9 +185,31 @@ module Parsanol
185
185
 
186
186
  value.to_s
187
187
  when "boolean" then value == true || value.to_s.casecmp("true").zero?
188
+ when "any"
189
+ # The ONE plain shape on every engine (ruby#383): scalars and
190
+ # capture leaves render as their text, named groups as plain
191
+ # string-keyed hashes, repeats as arrays — so (any)-bound keys
192
+ # survive a cross-engine gate without consumer shims.
193
+ plain(value)
188
194
  else value
189
195
  end
190
196
  end
197
+
198
+ # The engine-neutral reduction behind (any): capture leaves
199
+ # (Parsanol::Slice, native wire objects) and scalars render as
200
+ # their text, hashes as string-keyed plain hashes, arrays
201
+ # recurse. Nil passes through (absent captures stay absent —
202
+ # assign_scalar/assign_array skip them upstream).
203
+ def plain(value)
204
+ case value
205
+ when nil then nil
206
+ when String then value
207
+ when Hash
208
+ value.to_h { |key, item| [key.to_s, plain(item)] }
209
+ when Array then value.map { |item| plain(item) }
210
+ else value.to_s
211
+ end
212
+ end
191
213
  end
192
214
  end
193
215
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Parsanol
4
- VERSION = "1.3.117"
4
+ VERSION = "1.3.118"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: parsanol
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.117
4
+ version: 1.3.118
5
5
  platform: aarch64-linux
6
6
  authors:
7
7
  - Ribose Inc.