yeptris 0.6.76.0-powerpc64le-linux → 0.6.77.0-powerpc64le-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.
- checksums.yaml +4 -4
- data/ext/yeptris_native/version.h +2 -2
- data/lib/yeptris.rb +1 -1
- data/libyeptris.so +0 -0
- data/vendor/libyeptris/CMakeLists.txt +1 -1
- data/vendor/libyeptris/src/yeptris/emit/writer.c +19 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a3d0280f16533944108991937003d4defd17028dcce1bb88c72248a1ed59a84a
|
|
4
|
+
data.tar.gz: e985446f0e7987ddb895e9df97f64219cb3c75ad7709582edc4645cbb4572a5d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 34c5512fed05e29c45e046c3cc3d881e38a55d532cb401dc60040c6ba627046ada02b6ef554ec76b0b91c906ef70dde369d73286dfd243e9bb3969c5d8687c0d
|
|
7
|
+
data.tar.gz: 0776ef5d1c46a83070c9266de32a88261fe88849ba9d616c02632ee4617556c8d95a5b6da9991aedce9d15accae35ac996828d9a78b225b2c57fcceb0a6224b2
|
|
@@ -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
|
|
15
|
-
#define YEPTRIS_VERSION_STRING "0.6.
|
|
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.
|
|
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
|
|
@@ -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:
|