yeptris 0.2.5.1-aarch64-linux → 0.2.5.3-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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/yeptris/json.rb +3 -3
  3. data/lib/yeptris.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 607330f49f5f86cf870d5d4512934db643f6296be3624221e0493e5e7266bf9e
4
- data.tar.gz: 8e2edb0acd3d681cbe673e0a395e0978b168bff5e4f2194e6a822daf3c816580
3
+ metadata.gz: 53ba5f8ec2b0bce5440f6c728f78af3703a0ea3656b8c752a6bcacaf3362528f
4
+ data.tar.gz: e6ac1792bbf42a5bec4fbe2bcebdd060b22a21a0be62decfeea59216301c70a6
5
5
  SHA512:
6
- metadata.gz: 4ef4f9db3563932be9244404b66742e6187271e0f6ec0f189a24c1edb6fc5a2c9aa600cfc1611157e0d42b3f432ba74b45ba81546dd459d61075528b72b0366e
7
- data.tar.gz: 236554c32376824bf59a8cf2f44b0307621f34337cc8ef0738612f80a01df044c2a7148bc8358a617ab972d7c9aed3848f0181e513a05d68125babcd7484efe5
6
+ metadata.gz: eeb00725be0541b489ace917c0e45480f0bf17056adaadb39835c9cdcce0bb44885fcf899624bc8d3d4331547b16c351ded8122783141b9acff641c6f126e701
7
+ data.tar.gz: add571ff504fd8ae8e5b1ee899ac8029762ee138277cd6ccd0830cdd9fd7a18126f5f3a8d13fd24736fe7f7e88ae551bfc989598ce071b34c087d1a93f174c89
data/lib/yeptris/json.rb CHANGED
@@ -73,17 +73,17 @@ module Yeptris
73
73
  lens = tape[:lens].read_bytes(n * 4).unpack("V*")
74
74
  raw = tape[:vals].read_bytes(n * 8)
75
75
  vals_i = raw.unpack("q<*")
76
- vals_f = raw.unpack("E")
76
+ vals_f = raw.unpack("E*")
77
77
  # any integer text beyond int64: every INT rebuilds from its span
78
78
  # (exact Bignum; JSON.parse parity)
79
79
  exact_ints = !tape[:int_min].zero?
80
80
  utf8 = src.encoding == Encoding::UTF_8
81
81
 
82
- docs = []
82
+ docs = [nil] # record 0 (DOC) pre-consumed — the root's slot
83
83
  stack = []
84
84
  key_sets = STRICT_DUPLICATE_KEYS ? [{}] : nil
85
85
  pending_key = nil
86
- i = 1 # record 0 is the DOC boundary
86
+ i = 1
87
87
  while i < n
88
88
  case kinds[i]
89
89
  when T_SEQ_OPEN
data/lib/yeptris.rb CHANGED
@@ -3,7 +3,7 @@
3
3
  module Yeptris
4
4
  # The gem's version lives in the parent namespace's file — the last
5
5
  # internal require (yeptris/version) retired with it.
6
- VERSION = "0.2.5.1".freeze
6
+ VERSION = "0.2.5.3".freeze
7
7
  # The error hierarchy lives in THIS file (the parent namespace's
8
8
  # own file): nested constants do not trigger a parent-constant
9
9
  # autoload, and the law forbids internal requires — defining the
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yeptris
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.5.1
4
+ version: 0.2.5.3
5
5
  platform: aarch64-linux
6
6
  authors:
7
7
  - Ribose Inc.