metanorma-ietf 2.0.5 → 2.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/asciidoctor/ietf/converter.rb +4 -3
- data/lib/asciidoctor/ietf/isodoc.rng +5 -0
- data/lib/asciidoctor/ietf/validate.rb +2 -2
- data/lib/metanorma/ietf/version.rb +1 -1
- data/metanorma-ietf.gemspec +0 -1
- metadata +2 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ea7691960ebd06212c10a16ef04f39a86d44312c496fd190e03ead96dac484c7
|
4
|
+
data.tar.gz: 44f0aeaa5ad12410d58660afdcd4b4c17d63b3bc8d26bd420a0adc275c05a648
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7e618fbc5f61ddc1419ed6a48c59a9aa03694dcd7e09e77fe79b8f8f08f37bf6c7ffde6656d1b3d6dbcd934aa80c5cf6754df234dd55577ae28ea2eea22c1991
|
7
|
+
data.tar.gz: 8fa3bb4b08545037774b2080c541d60df663b79f3c7c58b33fd1df91049f5f11af1732846a1185ce856ee0ef6d2a0888720ca50b84041d865f145a039d98debd
|
@@ -35,6 +35,7 @@ module Asciidoctor
|
|
35
35
|
File.open(filename, "w") { |f| f.write(ret) }
|
36
36
|
rfc_converter(node).convert filename unless node.attr("nodoc")
|
37
37
|
end
|
38
|
+
@log.write(@filename + ".err") unless @novalid
|
38
39
|
@files_to_delete.each { |f| FileUtils.rm f }
|
39
40
|
ret
|
40
41
|
end
|
@@ -152,9 +153,9 @@ module Asciidoctor
|
|
152
153
|
def smartquotes_cleanup(xmldoc)
|
153
154
|
xmldoc.traverse do |n|
|
154
155
|
next unless n.text?
|
155
|
-
|
156
|
+
n.replace(HTMLEntities.new.encode(
|
156
157
|
n.text.gsub(/\u2019|\u2018|\u201a|\u201b/, "'").
|
157
|
-
|
158
|
+
gsub(/\u201c|\u201d|\u201e|\u201f/, '"'), :basic))
|
158
159
|
end
|
159
160
|
xmldoc
|
160
161
|
end
|
@@ -192,7 +193,7 @@ module Asciidoctor
|
|
192
193
|
x["uri"] = x["target"]
|
193
194
|
x.delete("target")
|
194
195
|
else
|
195
|
-
|
196
|
+
xref_to_eref(x)
|
196
197
|
end
|
197
198
|
end
|
198
199
|
end
|
@@ -10,7 +10,7 @@ module Asciidoctor
|
|
10
10
|
def image_validate(doc)
|
11
11
|
doc.xpath("//image").each do |i|
|
12
12
|
next if i["mimetype"] == "image/svg+xml"
|
13
|
-
|
13
|
+
@log.add("MIME", i, "image #{i['src'][0, 40]} is not SVG!")
|
14
14
|
end
|
15
15
|
end
|
16
16
|
|
@@ -19,7 +19,7 @@ module Asciidoctor
|
|
19
19
|
doc.xpath("//bibdata/ext/editorialgroup/workgroup").each do |wg|
|
20
20
|
wg_norm = wg.text.sub(/ (Working|Research) Group$/, "")
|
21
21
|
next if @workgroups.include?(wg_norm)
|
22
|
-
|
22
|
+
@log.add("Document Attributes", nil, "IETF: unrecognised working group #{wg.text}")
|
23
23
|
end
|
24
24
|
end
|
25
25
|
|
data/metanorma-ietf.gemspec
CHANGED
@@ -48,7 +48,6 @@ Gem::Specification.new do |spec|
|
|
48
48
|
spec.add_development_dependency "rubocop", "~> 0.50"
|
49
49
|
spec.add_development_dependency "simplecov", "~> 0.15"
|
50
50
|
spec.add_development_dependency "timecop", "~> 0.9"
|
51
|
-
spec.add_development_dependency "metanorma", "~> 0.3.0"
|
52
51
|
spec.add_development_dependency "vcr", "~> 5.0.0"
|
53
52
|
spec.add_development_dependency "webmock"
|
54
53
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metanorma-ietf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-03-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: metanorma-standoc
|
@@ -178,20 +178,6 @@ dependencies:
|
|
178
178
|
- - "~>"
|
179
179
|
- !ruby/object:Gem::Version
|
180
180
|
version: '0.9'
|
181
|
-
- !ruby/object:Gem::Dependency
|
182
|
-
name: metanorma
|
183
|
-
requirement: !ruby/object:Gem::Requirement
|
184
|
-
requirements:
|
185
|
-
- - "~>"
|
186
|
-
- !ruby/object:Gem::Version
|
187
|
-
version: 0.3.0
|
188
|
-
type: :development
|
189
|
-
prerelease: false
|
190
|
-
version_requirements: !ruby/object:Gem::Requirement
|
191
|
-
requirements:
|
192
|
-
- - "~>"
|
193
|
-
- !ruby/object:Gem::Version
|
194
|
-
version: 0.3.0
|
195
181
|
- !ruby/object:Gem::Dependency
|
196
182
|
name: vcr
|
197
183
|
requirement: !ruby/object:Gem::Requirement
|