yeptris 0.6.55.1 → 0.6.56.1

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: 06b9c9fe052036e12bf9f6c8582616d1547e9a229e722807e7d66259f1001a7d
4
- data.tar.gz: 781ae2aa30611b36903583ca34af6f86cef9b268bd86dcca95e0586e28908e95
3
+ metadata.gz: 45d66deef7a40e47d4e1dff707af10942dc1a03c6015fcf907aa3a7e6cd6097d
4
+ data.tar.gz: 2565feaf9b3ff96ba5b8324e5044aba62883a4b28fc7e003c7b1158ceb6781e2
5
5
  SHA512:
6
- metadata.gz: e4a81c58ef9c03487209cd5f6711133d1c0ce05ea89c4345f8782be81bd8d41c81fc6705b6059e102cbf229081661314a81e2d746f75163252b4455af3ddde1d
7
- data.tar.gz: 7af6d4a3e6065e12b6b541238fb5970bb2a27fd901be208f28313faa222ce46843f27e4697fac454cf82f7aeb98f60e28cedf7da133639c24713d90b7cb6aab6
6
+ metadata.gz: aefc16e8919415fef58a10140e8a82ea38a63c45fcdb10c0794f8cf48ac81923f2b99e56431b2d49c95ea5946ce55c4cc314791c27d34c08b3a40b62d3f6109e
7
+ data.tar.gz: 0dd4517510cf741c8a2d70912014811a88696771dba46acd43784263b6bf6339c987c531c3e6c7ac1aeedb3300928c2da2aaada0705765e9f75d1925f3ccb8ae
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.55.1".freeze
6
+ VERSION = "0.6.56.1".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.55
6
+ VERSION 0.6.56
7
7
  DESCRIPTION "Ultra-fast YAML 1.2 parser, emitter and streamer in C"
8
8
  LANGUAGES C CXX
9
9
  )
@@ -1107,6 +1107,17 @@ static int e_plain_multiline(yep_engine* e, yep_span s0, uint32_t block_floor, y
1107
1107
  if (s.term == YEP_TERM_COLON) {
1108
1108
  return e_fail(e, YEP_ERR_UNEXPECTED, s.end);
1109
1109
  }
1110
+ if (s.end == s.start && s.term == YEP_TERM_EOL) {
1111
+ /* The continuation line opens with a raw multibyte break
1112
+ * (NEL/LS/PS): scan stopped on it before any content, and
1113
+ * the line-facts kernel (\n/\r law) could not park it as a
1114
+ * blank line. No piece: the break rides the loop's own
1115
+ * tally, so a run of breaks folds to the (n-1) newline law
1116
+ * -- one fold-space per break made "nnn]\n!<"+NEL^2+"NNN"
1117
+ * read "nnn] !< NNN" where libyaml folds "nnn] !<\nNNN"
1118
+ * (the r102 nightly, yeptris#870). */
1119
+ continue;
1120
+ }
1110
1121
  if (e->fold_n >= YEP_MAX_FOLD_LINES) {
1111
1122
  return e_fail(e, YEP_ERR_MEMORY, e->pos);
1112
1123
  }
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.55.1
4
+ version: 0.6.56.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.