metanorma-iso 1.2.2 → 1.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -0
- data/appveyor.yml +1 -0
- data/lib/asciidoctor/iso/validate.rb +4 -1
- data/lib/isodoc/iso/metadata.rb +1 -1
- data/lib/metanorma/iso/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 493c5b7460547cc7e1350e52204574bb6eee0c64ae9d3fa476104f6d5afaace3
|
4
|
+
data.tar.gz: 1af5f123b39a535aee715c31e2188c70b19a9397c39d71390af7d7d48984765b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a937e36840fd8235f66668391c253a535c8927df2a446ca891e76f1295018da65757bddeb76fc19121fa9ea163bd5a45b87d91492131f51ed0df7e663023929c
|
7
|
+
data.tar.gz: 71bf51df9143526252c525bc9a55667d253676a16b61afc96d8cf3f03948a4e3a579739421a579ae1d123dd4a4079c7e675a43f92b07b64818b02e2627c80a14
|
data/.travis.yml
CHANGED
data/appveyor.yml
CHANGED
@@ -137,7 +137,10 @@ module Asciidoctor
|
|
137
137
|
root.xpath("//eref").each do |t|
|
138
138
|
preceding = t.at("./preceding-sibling::text()[last()]")
|
139
139
|
next unless !preceding.nil? && /\bsee\s*$/mi.match(preceding)
|
140
|
-
target = root.at("//*[@id = '#{t['bibitemid']}']")
|
140
|
+
unless target = root.at("//*[@id = '#{t['bibitemid']}']")
|
141
|
+
warn "ISO: '#{t} is not pointing to a real reference"
|
142
|
+
next
|
143
|
+
end
|
141
144
|
if target.at("./ancestor::references"\
|
142
145
|
"[title = 'Normative References']")
|
143
146
|
warn "ISO: 'see #{t}' is pointing to a normative reference"
|
data/lib/isodoc/iso/metadata.rb
CHANGED
@@ -30,7 +30,7 @@ module IsoDoc
|
|
30
30
|
|
31
31
|
def stage_abbrev(stage, substage, iter, draft)
|
32
32
|
return "" unless stage
|
33
|
-
stage = STAGE_ABBRS[stage.to_sym] || "??"
|
33
|
+
stage = self.class::STAGE_ABBRS[stage.to_sym] || "??"
|
34
34
|
stage = "PRF" if stage == "IS" && substage == "00"
|
35
35
|
stage += iter if iter
|
36
36
|
stage = "Pre" + stage if draft =~ /^0\./
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metanorma-iso
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-07-
|
11
|
+
date: 2019-07-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: asciidoctor
|