yeptris 0.2.5.1-x86_64-linux → 0.2.5.2-x86_64-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 +2 -2
  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: c7d90c03c735d1964cf3f75bf902e3064f06dbc90a41c899335f9207fa0fc15e
4
- data.tar.gz: 9ec35226d5fba25d124b3c8e89d056f4340db815e7bd46118e77871a75b51514
3
+ metadata.gz: 5c020d8cadf32cd0acafc58be4397b7a1dc3202f6eb7e3c9a5c8196ca84333f2
4
+ data.tar.gz: a533353dbad187bbe4790855550d5ceacc2b90ec6a15d39cb5dac1f7a6f175d5
5
5
  SHA512:
6
- metadata.gz: 5c247325da58af1e5f2d3950b54e31574d5da4190ea07f1fb812ff4c8b48a6a91ae3811fe33e3337a7f04a67d0131b0b315d2e977e645352bc572dd018e8e654
7
- data.tar.gz: dc14d708c2d630e7e9ec4f836d5eefabd0702b01cd0905a2a971d8c83909482ee9b52e0fb86545ac7a6c3b63197796fdbde1f2b28414b26bad4056419ad7635b
6
+ metadata.gz: a101427512159e12483f92a0553b59f2ef322678d925a26134a67b2d1e8f17ae07649da369ea4ed6e289e8ccedde590d49fe862a5581ab5e93ba1ffbe8cc508f
7
+ data.tar.gz: 1b9b4974052f4fa64b9a407ffa1a93d9cb7713558a6c29956413dd360065d6d60fde72ad42b5a18b04257bf4665eacf3b1e1140511dabed2a7cb621fd2e10c2c
data/lib/yeptris/json.rb CHANGED
@@ -79,11 +79,11 @@ module Yeptris
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.2".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.2
5
5
  platform: x86_64-linux
6
6
  authors:
7
7
  - Ribose Inc.