metanorma-iho 1.0.10 → 1.0.12

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: 365f0872863f1b9f7324e1336cc168f9e5a42ed6360559d8e68693d3d6e05967
4
- data.tar.gz: 6cbaa165706e878fa0c6181a12ed7d15b296965f80f4a58adc9b9071014f9cce
3
+ metadata.gz: b56165b5e08727c7f6330a2735c03055bb1163ca9a430f9583ebe690c65b8937
4
+ data.tar.gz: 5d05b8aa31ad47e8d1fe70e2a5cb0d77c115288f63082ce1e44309e2c17a2de6
5
5
  SHA512:
6
- metadata.gz: 9b3a7ccae5bf5dc7f3eabead061924b47070f36bc327e61e5b9002cb09963d79d8cd279f07dede323e5a184433fcf143abd8d5c8f680d5f1b28f6af4b4006b1d
7
- data.tar.gz: 78a2518b11fd8d1d511b5a4c3874644afa64916ecf13a44ae9e1eaeba4a07ae57fb19f8a2d7145543f63cc385e77619e831b8699039925d43aeef5dd20c089e6
6
+ metadata.gz: 70708bbb275aba3a1048b3fc4a5e9b10ef320e9e69f2918bc34ff18183ea8422ad820f95a1fa382daf49712dde8f955bfbff7c095c1ad379bdaad970a45c991c
7
+ data.tar.gz: 1220d214df2aae98c3d037c327b433d109379954b7a9d9a838ee8c14fdc3c118a949fa3e69c451ecc11d54767bdb48dcc979718b8e6792cb6ed98597ca28d00d
@@ -32,15 +32,17 @@ module IsoDoc
32
32
  end
33
33
 
34
34
  def annex_names_recurse(clause, num)
35
- @klass.single_term_clause?(clause) and
36
- return annex_names1(clause.at(ns("./references | ./terms | ./definitions")),
37
- num.to_s, 1)
35
+ if @klass.single_term_clause?(clause)
36
+ annex_names1(clause.at(ns("./references | ./terms | ./definitions")),
37
+ nil, num.to_s, 1)
38
+ else
38
39
  i = Counter.new
39
40
  clause.xpath(ns("./clause | ./references | ./terms | ./definitions"))
40
41
  .each do |c|
41
42
  i.increment(c)
42
43
  annex_names1(c, semx(clause, num), i.print, 2)
43
44
  end
45
+ end
44
46
  end
45
47
 
46
48
  # avoid ambiguity of Table 1-1 being in Appendix 1 or Clause 1
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module Iho
3
- VERSION = "1.0.10".freeze
3
+ VERSION = "1.0.12".freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanorma-iho
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.10
4
+ version: 1.0.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.