metanorma-ietf 3.3.3 → 3.3.4

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: bd5aabcc61900b281a88f27e9f535dcde55d76b8e9174842aea66a6647017eeb
4
- data.tar.gz: 62b22962648168f94376adef64df8495a54d385039f59482f239a5279e70cc92
3
+ metadata.gz: 31d8e42be51ec47f80027b7e16b93b2991d082250b7a4e4b26adea124cdb9007
4
+ data.tar.gz: 248e9076ba1a755f1439bac879035e6ef917c4ec0f414b612c0ee2bb2465dcc9
5
5
  SHA512:
6
- metadata.gz: a29ebeffd4659064b921b8ee271b78b7588a9412aafa2274b043f7cca448ee467200c5897338d95a33999e0ef203b9b6614374aa302ebfa1bf32f816d976d1e5
7
- data.tar.gz: 2506fb85aa36bba3ef0309e6276b74395303e52086faa4ee0f4badd40e5488f931e2eb60528e0c4750c0d74c3fd24a87d16825f5800abdf27c992da034d57b59
6
+ metadata.gz: aee2b7a6f408086016b8d6da78587a9e70aeff99e31c07da722e064987b5d6346ef61de5c2196e2d9cb24a2d39382f0c07e8b227662f37e32c73e9b1dbb2ee0a
7
+ data.tar.gz: 6fe3c4365fad2521b94a94f0f851b67313e647114353451ac9d2c40950185a1184cbc2f1c8c0d363521a3a812e1b3de6b798b4461fd5d3107fb0b9a0d6c240b2
@@ -55,9 +55,9 @@ module IsoDoc
55
55
  def rfc_attributes(docxml)
56
56
  # t = Time.now.getutc
57
57
  obs = xpath_comma(docxml
58
- .xpath(ns("//bibdata/relation[@type = 'obsoletes']/bibitem/docidentifier")))
58
+ .xpath(ns("//bibdata/relation[@type = 'obsoletes']/bibitem/docidentifier[not(@scope)]")))
59
59
  upd = xpath_comma(docxml
60
- .xpath(ns("//bibdata/relation[@type = 'updates']/bibitem/docidentifier")))
60
+ .xpath(ns("//bibdata/relation[@type = 'updates']/bibitem/docidentifier[not(@scope)]")))
61
61
  {
62
62
  docName: @meta.get[:doctype] == "Internet Draft" ? @meta.get[:docnumber] : nil,
63
63
  number: @meta.get[:doctype].casecmp?("rfc") ? @meta.get[:docnumber] : nil,
@@ -26,7 +26,7 @@ module Metanorma
26
26
  def image_validate(doc)
27
27
  doc.xpath("//image").each do |i|
28
28
  i["mimetype"] == "image/svg+xml" and next
29
- @log.add("MIME", i, "image #{i['src'][0, 40]} is not SVG!",
29
+ @log.add("Images", i, "image #{i['src'][0, 40]} is not SVG!",
30
30
  severity: 1)
31
31
  end
32
32
  end
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module Ietf
3
- VERSION = "3.3.3".freeze
3
+ VERSION = "3.3.4".freeze
4
4
  end
5
5
  end
@@ -16,7 +16,7 @@ module Relaton
16
16
  end
17
17
 
18
18
  # do not format months
19
- def dateformat(date, _hash)
19
+ def dateformat(date, _hash, _type)
20
20
  date.nil? and return nil
21
21
  date_range(date)
22
22
  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.3.3
4
+ version: 3.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-03-04 00:00:00.000000000 Z
11
+ date: 2024-03-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: metanorma-ietf-data