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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b5b227ec591ff63fc54cc250c3f91780db4bf59bc6405cf124a52bdd0bdf7c6a
4
- data.tar.gz: d12f87267d481c5b4f184f640e1393e858564abf076e15cd9d53db3b2ac2777c
3
+ metadata.gz: 6017975715700fdc60b2600471d983155750c2a7686cda5bca82fa68ce7383fc
4
+ data.tar.gz: d5db755aeba979c55aa1b1535c87f3500e140ca04ce2dd1b8563b7e5f606311f
5
5
  SHA512:
6
- metadata.gz: 2d0a273d13768949b1b21fa8f59355fcd46aa391806af4db1f0412b571cbf41379f34c0231f5f2b63feefbd659bf430c423e8a39c4f120b5773328d902e7b9a8
7
- data.tar.gz: aaa71b209ce747e6d0ad15810d0f12ff267d53c8133521f07da00879cf7b4ec347e6428a244cf2e3564dc7806adccd7cf1bee2048599e3e8cc3b88223f4765a0
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"
@@ -26,8 +26,10 @@ module Metanorma
26
26
 
27
27
  def metadata_series(node, xml)
28
28
  xml.series **{ type: "stream" } do |s|
29
- add_noko_elem(s, "title", node.attr("submission-type") || "IETF")
30
- # s.title (node.attr("submission-type") || "IETF")
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
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module Ietf
3
- VERSION = "3.7.15".freeze
3
+ VERSION = "3.7.16".freeze
4
4
  end
5
5
  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: 3.7.15
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-10 00:00:00.000000000 Z
11
+ date: 2026-11-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: base64