parsanol 1.3.117-arm-linux → 1.3.118-arm-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: 9bcf9af55b0003c6f5eec9584534be4c8e2b9495e24ca753c7fb8c4bd23260db
4
- data.tar.gz: 2ec90fb2ff063cdd0f4e411ed3fa585a9d6de8122b6ed3a6cf1d58526ed26106
3
+ metadata.gz: 39962f129ecc8a6784427d72a89e3315def4846f2ac53f8d4620307a97267146
4
+ data.tar.gz: 9b7876d7e6089e045805e934135b676a27d9ba3f9c00f5c376279819f637bdce
5
5
  SHA512:
6
- metadata.gz: 278d12bcf10e593c4678644964c34d002efd622b24762b08e41656f8007a7deec94d2f8ad16f5c90f954186aa3fc838d8fb85146ed99eb92c99cc7e5344e47d5
7
- data.tar.gz: abee2a923a4028716d76ae4e8e54cce93be6bc596da95c448791d52b908505cae3ccf4517843a0d738531c7ee42903ebb87522a8f1db597a1d7a3e539c38ab68
6
+ metadata.gz: 6979be028243348639a9c47968245eade17a901bafc511d5b8a132f09915e046e264ed669bf90fd45b74d7331acd1bb51c8a622dcb7019d9e89d2525a3d55599
7
+ data.tar.gz: 8d9d87f58830a08fe54b8e6bd5e1730246fd474b218dd6d87a71d150229ef5a2cc883723493066e83f0cc0eb920f3b690c6de7ff9f3f07b44d7dac3a2415b9c2
@@ -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: 39428512 bytes
4
- sha256: 593ac2382cd8c9b3ba367c3a7e2ab26415106231b3174d1dbac03edec5d4dbec
3
+ size: 39429652 bytes
4
+ sha256: 45ce33580b00606411af09dfd70154f8b7a7d3b637a1016c7e0c6357ccbd6338
@@ -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: 39613760 bytes
4
- sha256: f651bf4b3627b8b34c20c78c205e60277133cef8b5ce8502db9c84b0b8faf99d
3
+ size: 39614896 bytes
4
+ sha256: 4703aace96daba132de6aafca89a2b2c3aee0ce3dc658e243e9d060f30667604
@@ -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: 39607880 bytes
4
- sha256: 06d5b407bc96c6f9c66860c35fb56ef9bfd63b582858afb6f8e2a01e7261f3c3
3
+ size: 39609016 bytes
4
+ sha256: 02f80c3867f3cef679ec6c3678289bbd7720cf26ab6f4925cb35f0ba9f1a76b9
@@ -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: 39617556 bytes
4
- sha256: c9c6d6cfcd05886df42c74ffbe15212cd7e60b1647c16fddc0581ed4edb8c0cc
3
+ size: 39618692 bytes
4
+ sha256: bebefd8aa90fe05eb6308cbdfd1022ad5007490d89a942b55314830d661ae582
@@ -1,4 +1,4 @@
1
1
  [diffend] Oversized file quarantined before diffing.
2
2
  name: data/lib/parsanol/native/libparsanol.so
3
- size: 35749368 bytes
4
- sha256: f3065c9b9f61dc82a44f97ffd9e925c4f0e96d93794ee767ebd5f5d3d5cd90bb
3
+ size: 35750340 bytes
4
+ sha256: 340420f6c770586cb519033e4f8802606378ade7cf9610a142aa4dcb4b3788ef
@@ -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: arm-linux
6
6
  authors:
7
7
  - Ribose Inc.