yeptris 0.6.64.0 → 0.6.65.0

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: 17dbbc748291dd26913d2c96182ad57ef60d5031148f25eaa7ea95f6a5431ad7
4
- data.tar.gz: 352770a189f2e109f15c5b9bfa2bfbc54b82996bac9b34dfeb3b8ac16711a1ef
3
+ metadata.gz: e68c2151aceab4f720297b2b1a1a4f9ce8e14a97815e477e4d58dbff80bd8e18
4
+ data.tar.gz: 3319909e02b1720cc5c07fcdcad596843b7873f6fdf6b9f365e94ab2fac5e4b7
5
5
  SHA512:
6
- metadata.gz: e2446b647e0991118f2f712764d44edf403a0b86b40df19d1361ffae44ec89096e32a3b0837cda383d56b841998778677645fb56b45edbb28c45612150ab373f
7
- data.tar.gz: 3e2184e2d6de12a6fa8eda211f15649241ab66efcb149d337260d07e26a3a80a64557f5682f4d13a3e9cc62efd4785c8bc0c97c25b74d7036668ff8c2864d00a
6
+ metadata.gz: e8687c402250f578fe8199df513db88be3813038f96bb568e0609bec9f41b71c7969a02dc59d12c7619c13879d6fe2efb233a0fea48cead4d47a366ca5d57799
7
+ data.tar.gz: d44d92f9bed369e2bd73c6d9b21d3e4f416f705b15d80c996c6bc68255503a269eeba6426835ef8a1899c9e4e989aef20b1a4f33987ef51a9b65cebdf8573464
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.6.64.0".freeze
6
+ VERSION = "0.6.65.0".freeze
7
7
 
8
8
  # Informational notices are OPT-IN (yeptris-ruby#217): consumers
9
9
  # embed yeptris inside CLIs that assert clean stderr, and a
@@ -3,7 +3,7 @@
3
3
  cmake_minimum_required(VERSION 3.20)
4
4
 
5
5
  project(yeptris
6
- VERSION 0.6.64
6
+ VERSION 0.6.65
7
7
  DESCRIPTION "Ultra-fast YAML 1.2 parser, emitter and streamer in C"
8
8
  LANGUAGES C CXX
9
9
  )
@@ -1381,6 +1381,15 @@ static int yt_f_run(yt_fused* F) {
1381
1381
  root_evented = 1;
1382
1382
  st[0].started = 1;
1383
1383
  }
1384
+ if (st[0].content_col == 0) {
1385
+ /* the root now has content: without it the next
1386
+ * sibling key re-fires the contentless-root law
1387
+ * in yt_f_open_form, a second OPEN lands in the
1388
+ * root's spent-key slot and the replay pairs the
1389
+ * fresh map as a KEY (issue #1303 — the drain
1390
+ * walk is the reference law) */
1391
+ st[0].content_col = st[depth].indent + 1;
1392
+ }
1384
1393
  } else if (!st[depth - 1].started && col != st[depth - 1].indent) {
1385
1394
  yt_f_start(F, &st[depth - 1]);
1386
1395
  }
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.6.64.0
4
+ version: 0.6.65.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.