metanorma-ietf 2.2.7 → 2.2.8
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9c9dcce65b694a86bbd5e775df30789d1b3897ac892e16257aea794b75e4e018
|
4
|
+
data.tar.gz: d54c59198afab5b11a607814860800dec25990e12af5c7bbeef3f8f9ff83f528
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6dae30756289a169dd5d503dae1a1608c0f32bad9d6f36ca7141e3062f7998fdca933dbee69c695989802e68fbc62acbfe48f8622c772f3e104797b5c6e7a985
|
7
|
+
data.tar.gz: 8b3329781f6d9e2337e3c553ca301186938317a2a528cd801ceaceb2352492cc693a837067469aef18d991a441f38473671adafb42499c689680d9f26290c89d
|
@@ -729,9 +729,11 @@
|
|
729
729
|
</define>
|
730
730
|
<define name="index">
|
731
731
|
<element name="index">
|
732
|
-
<
|
733
|
-
<
|
734
|
-
|
732
|
+
<optional>
|
733
|
+
<attribute name="to">
|
734
|
+
<data type="IDREF"/>
|
735
|
+
</attribute>
|
736
|
+
</optional>
|
735
737
|
<element name="primary">
|
736
738
|
<oneOrMore>
|
737
739
|
<ref name="PureTextElement"/>
|
@@ -6,17 +6,17 @@ module Asciidoctor
|
|
6
6
|
node.attr("keep-with-next"),
|
7
7
|
"keep-with-previous": node.attr("keepWithPrevious") ||
|
8
8
|
node.attr("keep-with-previous"),
|
9
|
-
id: ::
|
9
|
+
id: ::Metanorma::Utils::anchor_or_uuid(node))
|
10
10
|
end
|
11
11
|
|
12
12
|
def ul_attrs(node)
|
13
|
-
attr_code(id: ::
|
13
|
+
attr_code(id: ::Metanorma::Utils::anchor_or_uuid(node),
|
14
14
|
nobullet: node.attr("nobullet"),
|
15
15
|
spacing: node.attr("spacing"))
|
16
16
|
end
|
17
17
|
|
18
18
|
def ol_attrs(node)
|
19
|
-
attr_code(id: ::
|
19
|
+
attr_code(id: ::Metanorma::Utils::anchor_or_uuid(node),
|
20
20
|
type: node.attr("format") || olist_style(node.style),
|
21
21
|
group: node.attr("group"),
|
22
22
|
spacing: node.attr("spacing"),
|
@@ -24,7 +24,7 @@ module Asciidoctor
|
|
24
24
|
end
|
25
25
|
|
26
26
|
def dl_attrs(node)
|
27
|
-
attr_code(id: ::
|
27
|
+
attr_code(id: ::Metanorma::Utils::anchor_or_uuid(node),
|
28
28
|
newline: node.attr("newline"),
|
29
29
|
indent: node.attr("indent"),
|
30
30
|
spacing: node.attr("spacing"))
|
@@ -46,7 +46,7 @@ module Asciidoctor
|
|
46
46
|
|
47
47
|
def note(n)
|
48
48
|
noko do |xml|
|
49
|
-
xml.note **attr_code(id: ::
|
49
|
+
xml.note **attr_code(id: ::Metanorma::Utils::anchor_or_uuid(n),
|
50
50
|
removeInRFC: n.attr("remove-in-rfc")) do |c|
|
51
51
|
n.title.nil? or c.name { |name| name << n.title }
|
52
52
|
wrap_in_para(n, c)
|
@@ -60,7 +60,7 @@ module Asciidoctor
|
|
60
60
|
figure_title(node, f)
|
61
61
|
f.pre node.lines.join("\n"),
|
62
62
|
**attr_code(align: node.attr("align"),
|
63
|
-
id: ::
|
63
|
+
id: ::Metanorma::Utils::anchor_or_uuid(nil),
|
64
64
|
alt: node.attr("alt"))
|
65
65
|
end
|
66
66
|
end
|
@@ -51,8 +51,8 @@ module Asciidoctor
|
|
51
51
|
["en"].each do |lang|
|
52
52
|
at = { language: lang, format: "text/plain" }
|
53
53
|
xml.title **attr_code(at.merge(type: "main")) do |t|
|
54
|
-
t << (::
|
55
|
-
::
|
54
|
+
t << (::Metanorma::Utils::asciidoc_sub(node.attr("title")) ||
|
55
|
+
::Metanorma::Utils::asciidoc_sub(node.attr("title-en")) ||
|
56
56
|
node.title)
|
57
57
|
end
|
58
58
|
a = node.attr("abbrev") and
|
data/metanorma-ietf.gemspec
CHANGED
@@ -35,8 +35,8 @@ Gem::Specification.new do |spec|
|
|
35
35
|
spec.require_paths = ["lib"]
|
36
36
|
spec.required_ruby_version = Gem::Requirement.new(">= 2.4.0")
|
37
37
|
|
38
|
-
spec.add_dependency "metanorma-standoc", "~> 1.
|
39
|
-
spec.add_dependency "isodoc", "~> 1.
|
38
|
+
spec.add_dependency "metanorma-standoc", "~> 1.8.0"
|
39
|
+
spec.add_dependency "isodoc", "~> 1.5.0"
|
40
40
|
spec.add_dependency "mathml2asciimath"
|
41
41
|
|
42
42
|
spec.add_development_dependency "byebug"
|
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.2.
|
4
|
+
version: 2.2.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-01-
|
11
|
+
date: 2021-01-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: metanorma-standoc
|
@@ -16,28 +16,28 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.
|
19
|
+
version: 1.8.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 1.
|
26
|
+
version: 1.8.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: isodoc
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 1.
|
33
|
+
version: 1.5.0
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 1.
|
40
|
+
version: 1.5.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: mathml2asciimath
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|