kramdown-rfc2629 1.7.2 → 1.7.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/bin/kramdown-rfc-extract-sourcecode +9 -1
- data/kramdown-rfc2629.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cb7b62deaf23ec115b6b5b470e27bc099169d24ec1b09cd78e39a53f710d0319
|
4
|
+
data.tar.gz: 28ceab4f96a1c33dee2ab4c53ae4423069bb5f9d6f61e55a69ec8a1991b8109e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5e95b5dcecb044404550dc3f481581d7cd044e4738b805cd8156c217910cf22a5e69f50b0c5bfc907d2f10c58c568d8eb8856924e4a0ca84429861a1ea0429ef
|
7
|
+
data.tar.gz: e0298c6433e0063aad63e04336f4f4f722ff878d053a565efc2502b3de35a286388952c68ca72805b32f1322b9f71c541fae8f0a80ce22a5532817ac1327f816
|
data/README.md
CHANGED
@@ -150,7 +150,7 @@ or
|
|
150
150
|
email: pthubert@cisco.com
|
151
151
|
|
152
152
|
(the hash keys are the XML GIs from RFC 7749, with a flattened
|
153
|
-
structure. As RFC 7749
|
153
|
+
structure. As RFC 7749 requires giving both the full name and
|
154
154
|
surname/initials, we use `ins` as an abbreviation for
|
155
155
|
"initials/surname". Yes, the toolchain is Unicode-capable, even if
|
156
156
|
the final RFC output is still in ASCII.)
|
@@ -67,7 +67,15 @@ REXML::XPath.each(d.root, "//sourcecode|//artwork") do |x|
|
|
67
67
|
else
|
68
68
|
taken[ty][name] = ''
|
69
69
|
end
|
70
|
-
|
70
|
+
extracted = false
|
71
|
+
REXML::XPath.each(x, "svg") do |svg|
|
72
|
+
# According to v3.rnc, there should be only one...
|
73
|
+
taken[ty][name] << svg.to_s
|
74
|
+
extracted = true
|
75
|
+
end
|
76
|
+
unless extracted
|
77
|
+
taken[ty][name] << handle_artwork_sourcecode(x.all_text, unfold)
|
78
|
+
end
|
71
79
|
end
|
72
80
|
end
|
73
81
|
|
data/kramdown-rfc2629.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
spec = Gem::Specification.new do |s|
|
2
2
|
s.name = 'kramdown-rfc2629'
|
3
|
-
s.version = '1.7.
|
3
|
+
s.version = '1.7.3'
|
4
4
|
s.summary = "Kramdown extension for generating RFCXML (RFC 799x)."
|
5
5
|
s.description = %{An RFCXML (RFC 799x) generating backend for Thomas Leitner's
|
6
6
|
"kramdown" markdown parser. Mostly useful for RFC writers.}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kramdown-rfc2629
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.7.
|
4
|
+
version: 1.7.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Carsten Bormann
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-11-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: kramdown
|