yeptris 0.6.76.0-arm-linux-eabihf → 0.6.77.0-arm-linux-eabihf

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: b3f9d48a8908d8a0aa4f647d8cd29ef272eb013afaafb73eeb162e21216444bb
4
- data.tar.gz: 2fa76a23db1faac4b0e114870fa6f8d3be287aeda1f66462047b5f6b70e4813c
3
+ metadata.gz: c77701631ef7840ea8c0dbba64ef5bc5c61526ade8fec7fbb30968c813f9ae58
4
+ data.tar.gz: 6096c3c55ef97129efbc61e6d0fa9c14e11ee187eace003d53829eb0b1f99ac1
5
5
  SHA512:
6
- metadata.gz: 793742c1dfa3e997f33f492c77f019fd19e37359b76a6eca2d05236a64a73d21d13f8a93d2981f6539b9760448d412b54e7707f0c72233f54aa8a50d2d2ce82e
7
- data.tar.gz: d904832c93cfb2f0bc474e9bd32ebeb4fb084019959ec994b7a84b1f5968b4b7901450c4034a366cbee96e7b831a4153a8a1368cea02f5ce5ca16590a198d727
6
+ metadata.gz: 281566a83a4f1cda52934d6bfd2418d2919490813baa6e8a46cd403f1f9de3855964868c2f4f6425e60ce56219c64b6e7bbed519aa32657fab50c88253ed3872
7
+ data.tar.gz: 2346b31d3bfa843fa576347246deda22b8ae8ff99e94f4b38d780cf950aa80147a9e415d4d65117c68ce92c8b7415f20e9e34926a44bb5b21dadf588a92f86e9
@@ -11,8 +11,8 @@
11
11
 
12
12
  #define YEPTRIS_VERSION_MAJOR 0
13
13
  #define YEPTRIS_VERSION_MINOR 6
14
- #define YEPTRIS_VERSION_PATCH 76
15
- #define YEPTRIS_VERSION_STRING "0.6.76"
14
+ #define YEPTRIS_VERSION_PATCH 77
15
+ #define YEPTRIS_VERSION_STRING "0.6.77"
16
16
 
17
17
  #ifdef __cplusplus
18
18
  extern "C" {
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.76.0".freeze
6
+ VERSION = "0.6.77.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
data/libyeptris.so CHANGED
Binary file
@@ -3,7 +3,7 @@
3
3
  cmake_minimum_required(VERSION 3.20)
4
4
 
5
5
  project(yeptris
6
- VERSION 0.6.76
6
+ VERSION 0.6.77
7
7
  DESCRIPTION "Ultra-fast YAML 1.2 parser, emitter and streamer in C"
8
8
  LANGUAGES C CXX
9
9
  )
@@ -1213,6 +1213,25 @@ static void emit_scalar(yep_writer* w, const yep_dnode* n, int parent_col, int a
1213
1213
  wr_put(w, "~", 1);
1214
1214
  break;
1215
1215
  }
1216
+ /* the round-44 twin on the empty-inline spell: an anchor whose
1217
+ * name ends at ':' must never spell line-final — "k: &n:" + EOL
1218
+ * hands the scanner's riding-colon law to the NEXT line, and a
1219
+ * props/flow/block-led follower un-consumes the colon (the r358
1220
+ * artifact: "&4:- \"\": &4: " + "\n&1 ..." died at re-parse,
1221
+ * "mapping values are not allowed in this context" at the
1222
+ * stripped colon). A non-empty inline value already puts a
1223
+ * plain-led byte on the anchor's own line; the explicit-empty
1224
+ * quoted spell gives the empty twin the same follower
1225
+ * ("k: &n: ''"), and round 2 re-spells it byte-identically (the
1226
+ * quoted style is sticky). Non-scalar and block-style twins
1227
+ * keep the round-44 fail in anchor_name_unspellable. */
1228
+ if (n->anchor.len > 0) {
1229
+ yep_view av = wv(w, n->anchor);
1230
+ if (av.len > 0 && av.p[av.len - 1] == ':') {
1231
+ wr_put(w, "''", 2);
1232
+ break;
1233
+ }
1234
+ }
1216
1235
  break; /* an empty plain value emits as nothing (libyaml's null
1217
1236
  rendering, issue #290) */
1218
1237
  case YEP_SC_PLAIN:
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.76.0
4
+ version: 0.6.77.0
5
5
  platform: arm-linux-eabihf
6
6
  authors:
7
7
  - Ribose Inc.