metanorma-un 0.9.4 → 0.9.7

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: df3815b88029cc96a399f52d78b99f3beee7b1c520bd26c5701e5ad87886541b
4
- data.tar.gz: 7fc79df9dcec92fed9716a91670d69ca9b0a90b4a324148ef58d789ffb762c88
3
+ metadata.gz: 29292d69fa96f3e607e00ff39abf3787ce5f27d5bdb65141b8030acbc01f7b9e
4
+ data.tar.gz: 8cea34c39e5970e4f03f8cae444170a7ae249ad01fffae7a798648524df70e99
5
5
  SHA512:
6
- metadata.gz: d5b31dad2389adc30a7e7b5f3c07afd1d86d606cbe066e28e0f37dd4ab89720b7379c683e524b09a72d8ba7a3f25ea049a7b364a93d4ee6978fec2e62af8b69f
7
- data.tar.gz: 663176c19ae386e3a973e23c734c7152e5f4528d9226224664dd07aca227739054513d74a079556402ffb838d5958d8190786b88f4a2c4a53e5a90e6209df866
6
+ metadata.gz: e93209ba3a682e76208c79a94f93f7ec6f8e8076013ed81f60a22dc35110ed9c1cc62a6527f8b728ef139536b161df6aed667847eff02a045949d066239f7c96
7
+ data.tar.gz: a7b55069b5727c72ac572ea4a17606b816e5f8fb5d8f6dd070c75ac2abf92c2e743d2e7f8a59617c28edd3d5951b971228b1f0d9669cf9f4293e88ed05ecb9e9
@@ -17,17 +17,18 @@ module IsoDoc
17
17
  end
18
18
  end
19
19
 
20
- def inline_header_title(out, node, title)
20
+ def inline_header_title(out, _node, title)
21
21
  out.span **{ class: "zzMoveToFollowing" } do |s|
22
22
  title&.children&.each { |c2| parse(c2, s) }
23
- clausedelimspace(out) if /\S/.match(title&.text)
23
+ clausedelimspace(_node, out) if /\S/.match?(title&.text)
24
24
  end
25
25
  end
26
26
 
27
27
  def is_plenary?(docxml)
28
28
  doctype = docxml&.at(ns("//bibdata/ext/doctype"))&.text
29
- return true if %w(plenary agenda budgetary).include?(doctype)
29
+ return true if %w(plenary agenda budgetary).include?(doctype)
30
30
  return true if docxml&.at(ns("//bibdata/ext/session/*"))
31
+
31
32
  false
32
33
  end
33
34
  end