isodoc 2.1.0 → 2.1.0.1

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: 7d8386094c2e6b1ea70008d548b0f0c475242457dcb58152a04bd7e59403cc7b
4
- data.tar.gz: 4606afd5a06cede44afc418efc3e67267a5f75c615626475df57f6e881f8adcc
3
+ metadata.gz: dc4bad696f0cd3e8c530eaf2c0b7722379d8412a055a2431d6367a9a0d6a939b
4
+ data.tar.gz: 2529ca812cfe2e7c229c03fd9e9e2d0d367ccb92d9413837fa22446955519417
5
5
  SHA512:
6
- metadata.gz: 453d7f0089ed9325a0e1b9fbe49b223365811f3115d3b08cc3862be80e56933a3a229273c84b6c52a153e8b8772b8aab50b06215cff2cba76547e8f6105002f3
7
- data.tar.gz: a40f39df17dffbd8ef3286d841c1f5e96ff6abcbc1e41433895126217fa77b78cc650e4f7ba8ccea3948d6cb569cd1725b74e8df19d7cd7f608c9c95960b02a9
6
+ metadata.gz: 42adec43794af927dcba7cb365d0044d2b1544a13a63f11fee15e66096e42329c6dea9949b2b4d70a2689a81daffe8d7b87772d4131199688fe4abfc88104d24
7
+ data.tar.gz: b352d2087309de8f6b478835419ebddbdf31f5dee372de95276072381332a6836d971446fe61efe4ede949c6f7798e1e34c8d6462cf41543278667242596f2ca
@@ -60,7 +60,7 @@ module IsoDoc
60
60
  t.xpath(ns(".//clause | .//terms | .//definitions | .//references"))
61
61
  .each do |c|
62
62
  tit = c.at(ns("./title")) or return
63
- tit["depth"] = tit["depth"].to_i - 1
63
+ tit["depth"] = tit["depth"].to_i - 1 unless tit["depth"] == "1"
64
64
  end
65
65
  end
66
66
 
@@ -1,3 +1,3 @@
1
1
  module IsoDoc
2
- VERSION = "2.1.0".freeze
2
+ VERSION = "2.1.0.1".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: isodoc
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.