markly 0.13.0 → 0.13.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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data/ext/markly/config.h +4 -0
- data/ext/markly/extconf.rb +1 -1
- data/ext/markly/markly.c +2 -2
- data/lib/markly/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +3 -3
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 27e214dc5a3adbf51c0f0a85b5d78aa6a416be484d19e2c8ccce0259bf12067a
|
4
|
+
data.tar.gz: 352e16ba56789faecdf09cfa684e74253272821e39ba3145ca4b31fcf83062a7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4716ba689aa82f3ca48132f89668b9af3103d6cf1d42310ac5227e7f45410d80afb3bf9bb4ba85c016d84eba0bef288a95ddbc7b3f3b3d43e755786d49932481
|
7
|
+
data.tar.gz: de38f35598e682c161b79dae319c08951815b66361cd29cfb0e15ee4349cce18816314fad2ad7a25cadde345f71e4970046272c647c78afe51235648d72ef080
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/ext/markly/config.h
CHANGED
@@ -5,7 +5,9 @@
|
|
5
5
|
extern "C" {
|
6
6
|
#endif
|
7
7
|
|
8
|
+
#ifndef HAVE_STDBOOL_H
|
8
9
|
#define HAVE_STDBOOL_H
|
10
|
+
#endif
|
9
11
|
|
10
12
|
#ifdef HAVE_STDBOOL_H
|
11
13
|
#include <stdbool.h>
|
@@ -69,6 +71,8 @@ CMARK_INLINE int c99_snprintf(char *outBuf, size_t size, const char *format, ...
|
|
69
71
|
|
70
72
|
#endif
|
71
73
|
|
74
|
+
#define CMARK_DEBUG_NODES 0
|
75
|
+
|
72
76
|
#ifdef __cplusplus
|
73
77
|
}
|
74
78
|
#endif
|
data/ext/markly/extconf.rb
CHANGED
data/ext/markly/markly.c
CHANGED
@@ -1117,7 +1117,7 @@ static VALUE rb_html_escape_href(VALUE self, VALUE rb_text) {
|
|
1117
1117
|
cmark_strbuf buf = CMARK_BUF_INIT(mem);
|
1118
1118
|
|
1119
1119
|
if (houdini_escape_href(&buf, (const uint8_t *)RSTRING_PTR(rb_text),
|
1120
|
-
RSTRING_LEN(rb_text))) {
|
1120
|
+
(bufsize_t)RSTRING_LEN(rb_text))) {
|
1121
1121
|
result = (char *)cmark_strbuf_detach(&buf);
|
1122
1122
|
return rb_str_new2(result);
|
1123
1123
|
}
|
@@ -1137,7 +1137,7 @@ static VALUE rb_html_escape_html(VALUE self, VALUE rb_text) {
|
|
1137
1137
|
cmark_strbuf buf = CMARK_BUF_INIT(mem);
|
1138
1138
|
|
1139
1139
|
if (houdini_escape_html0(&buf, (const uint8_t *)RSTRING_PTR(rb_text),
|
1140
|
-
RSTRING_LEN(rb_text), 0)) {
|
1140
|
+
(bufsize_t)RSTRING_LEN(rb_text), 0)) {
|
1141
1141
|
result = (char *)cmark_strbuf_detach(&buf);
|
1142
1142
|
return rb_str_new2(result);
|
1143
1143
|
}
|
data/lib/markly/version.rb
CHANGED
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: markly
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.13.
|
4
|
+
version: 0.13.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Garen Torikian
|
@@ -55,7 +55,7 @@ cert_chain:
|
|
55
55
|
Q2K9NVun/S785AP05vKkXZEFYxqG6EW012U4oLcFl5MySFajYXRYbuUpH6AY+HP8
|
56
56
|
voD0MPg1DssDLKwXyt1eKD/+Fq0bFWhwVM/1XiAXL7lyYUyOq24KHgQ2Csg=
|
57
57
|
-----END CERTIFICATE-----
|
58
|
-
date:
|
58
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
59
59
|
dependencies: []
|
60
60
|
executables: []
|
61
61
|
extensions:
|
@@ -163,7 +163,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
163
163
|
- !ruby/object:Gem::Version
|
164
164
|
version: '0'
|
165
165
|
requirements: []
|
166
|
-
rubygems_version: 3.6.
|
166
|
+
rubygems_version: 3.6.7
|
167
167
|
specification_version: 4
|
168
168
|
summary: CommonMark parser and renderer. Written in C, wrapped in Ruby.
|
169
169
|
test_files: []
|
metadata.gz.sig
CHANGED
Binary file
|