metanorma-un 0.9.3 → 0.9.6

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: 7a19302629920120d5bd3ef41ad5caf321914a49faf45ddff3646b8f5e2224e2
4
- data.tar.gz: 7ffc87968fbd90b21ea9fdf3007f17db5695a48575284302bd79696b35ac0fce
3
+ metadata.gz: 78b9305eb6614a7bec670abe0970bf5bdb14c07b1a0047e1b5411c850232f27f
4
+ data.tar.gz: e0131738e33f8e0937b7bfcb460fc9c70bb8da925716e2a9513a43f7909346bb
5
5
  SHA512:
6
- metadata.gz: 65dbc51a9c7d6d3c3c5f08d4cbeed51c56ca86fd95a65f08ecf6a7a33baf6f2869ed7410c8820248d3aac77eeac40f84c26dec6a4e6823dde1e5af096611b470
7
- data.tar.gz: 84051bf8dce10c80c15a6fbf2bf7eeaf156264b8692a72316ec1a7684d6b48aabc73f35a3427bf0d3f7b7f6d32e1c7310d29aa8f60e7d91aca5f968d53edf873
6
+ metadata.gz: 4a411e9e1591ffec208efed4fa0ed768f6c180922a5629e69bd2b6e09aebddf76e19e58fe94d6aa1a0461acfcb8ad6e085a0ea9ed19b539ae30803e7f4c69890
7
+ data.tar.gz: ced5e4b35a56e25593299a88c90d4e4e0fbc545d20516170b0a96bd8748ea5840a3f2afa1f09ff8ca76facb4f0948af942e0eb8d44db5f5cd2bbf0581f6505cd
@@ -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