metanorma-ietf 3.7.15 → 3.7.16
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/Gemfile +0 -3
- data/lib/metanorma/ietf/front.rb +8 -2
- data/lib/metanorma/ietf/version.rb +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: 6017975715700fdc60b2600471d983155750c2a7686cda5bca82fa68ce7383fc
|
|
4
|
+
data.tar.gz: d5db755aeba979c55aa1b1535c87f3500e140ca04ce2dd1b8563b7e5f606311f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 92c566797f915c4b70921a87222ac1e081f11a5662483d93fb80ef186455f5adc82c563bb5812f97d6e9a81d220345729e8c94e831a2b1bee2285594d2c92ace
|
|
7
|
+
data.tar.gz: 77c73d1853cd751c2544dfd9ea96644a76b01c3dd873c026cf0fe5e74fb6cc5ac9594857359913a43f90153d98404aa2f3903db8f8ac8412a85696f63540f73e
|
data/Gemfile
CHANGED
|
@@ -12,9 +12,6 @@ gem "canon"
|
|
|
12
12
|
gem "htmlentities"
|
|
13
13
|
gem "metanorma", "~> 2.5.14"
|
|
14
14
|
gem "rake"
|
|
15
|
-
# Gemfile.devel may pin relaton-bib to a git branch (declaring the
|
|
16
|
-
# same gem twice aborts the rescued eval_gemfile silently)
|
|
17
|
-
gem "relaton-bib", "~>2.1" unless File.exist?(File.join(__dir__, "Gemfile.devel"))
|
|
18
15
|
gem "rspec"
|
|
19
16
|
gem "rubocop"
|
|
20
17
|
gem "rubocop-performance"
|
data/lib/metanorma/ietf/front.rb
CHANGED
|
@@ -26,8 +26,10 @@ module Metanorma
|
|
|
26
26
|
|
|
27
27
|
def metadata_series(node, xml)
|
|
28
28
|
xml.series **{ type: "stream" } do |s|
|
|
29
|
-
|
|
30
|
-
#
|
|
29
|
+
# Asciidoctor downcases attribute names: :submissionType: lands
|
|
30
|
+
# as "submissiontype", :submission-type: as "submission-type";
|
|
31
|
+
# the RFC-XML world spells it camelCase, so accept both.
|
|
32
|
+
add_noko_elem(s, "title", submission_type_attr(node) || "IETF")
|
|
31
33
|
end
|
|
32
34
|
a = node.attr("intended-series") and
|
|
33
35
|
xml.series **{ type: "intended" } do |s|
|
|
@@ -37,6 +39,10 @@ module Metanorma
|
|
|
37
39
|
end
|
|
38
40
|
end
|
|
39
41
|
|
|
42
|
+
def submission_type_attr(node)
|
|
43
|
+
node.attr("submission-type") || node.attr("submissiontype")
|
|
44
|
+
end
|
|
45
|
+
|
|
40
46
|
def title_fallback(node, xml)
|
|
41
47
|
xml.parent.at("./title[not(normalize-space(.)='')]" \
|
|
42
48
|
"[not(@type = 'abbrev' or @type = 'ascii')]") and return
|
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: 3.7.
|
|
4
|
+
version: 3.7.16
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ribose Inc.
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-11-
|
|
11
|
+
date: 2026-11-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: base64
|