metanorma-bipm 1.1.4 → 1.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/rake.yml +1 -1
- data/lib/asciidoctor/bipm/isodoc.rng +62 -8
- data/lib/asciidoctor/bipm/reqt.rng +15 -4
- data/lib/isodoc/bipm/bipm.brochure.xsl +631 -118
- data/lib/isodoc/bipm/bipm.guide.xsl +631 -118
- data/lib/isodoc/bipm/bipm.mise-en-pratique.xsl +631 -118
- data/lib/isodoc/bipm/bipm.rapport.xsl +631 -118
- data/lib/isodoc/bipm/jcgm.standard.xsl +570 -164
- data/lib/isodoc/bipm/presentation_xml_convert.rb +2 -3
- data/lib/metanorma/bipm/processor.rb +9 -1
- data/lib/metanorma/bipm/version.rb +1 -1
- data/metanorma-bipm.gemspec +2 -2
- metadata +6 -6
@@ -121,10 +121,9 @@ module IsoDoc
|
|
121
121
|
d = xml.at(ns("//bibdata/relation[@type = 'supersedes'][#{idx}]"\
|
122
122
|
"/bibitem")) or return ["", ""]
|
123
123
|
|
124
|
-
date = d&.at(ns("./date"))&.text
|
125
124
|
draft = d&.at(ns("./version/draft"))&.text and draft = "Draft #{draft}"
|
126
125
|
edn = d&.at(ns("./edition"))&.text and edn = "Version #{edn}"
|
127
|
-
[[draft, edn].join(" "), date]
|
126
|
+
[[draft, edn].join(" "), d&.at(ns("./date"))&.text]
|
128
127
|
end
|
129
128
|
|
130
129
|
def list_authors(xml)
|
@@ -168,7 +167,7 @@ module IsoDoc
|
|
168
167
|
end
|
169
168
|
|
170
169
|
def twitter_cldr_localiser_symbols
|
171
|
-
{ group: "&#
|
170
|
+
{ group: " ", fraction_group: " ",
|
172
171
|
fraction_group_digits: 3 }
|
173
172
|
end
|
174
173
|
|
@@ -19,9 +19,17 @@ module Metanorma
|
|
19
19
|
"Arial" => nil,
|
20
20
|
"Times New Roman" => nil,
|
21
21
|
"Work Sans" => nil,
|
22
|
+
"Work Sans Black" => nil,
|
23
|
+
"Work Sans ExtraBold" => nil,
|
24
|
+
"Work Sans ExtraLight" => nil,
|
25
|
+
"Work Sans Light" => nil,
|
26
|
+
"Work Sans Medium" => nil,
|
27
|
+
"Work Sans SemiBold" => nil,
|
28
|
+
"Work Sans Thin" => nil,
|
22
29
|
"STIX Two Math" => nil,
|
23
30
|
"Source Han Sans" => nil,
|
24
|
-
"
|
31
|
+
"Source Han Sans Normal" => nil,
|
32
|
+
"TeXGyreChorus" => nil,
|
25
33
|
}
|
26
34
|
end
|
27
35
|
|
data/metanorma-bipm.gemspec
CHANGED
@@ -26,8 +26,8 @@ Gem::Specification.new do |spec|
|
|
26
26
|
spec.require_paths = ["lib"]
|
27
27
|
spec.required_ruby_version = Gem::Requirement.new(">= 2.5.0")
|
28
28
|
|
29
|
-
spec.add_dependency "metanorma-generic", "~> 1.10.
|
30
|
-
spec.add_dependency "metanorma-iso", "~> 1.
|
29
|
+
spec.add_dependency "metanorma-generic", "~> 1.10.2"
|
30
|
+
spec.add_dependency "metanorma-iso", "~> 1.9.0"
|
31
31
|
|
32
32
|
spec.add_development_dependency "byebug", "~> 9.1"
|
33
33
|
spec.add_development_dependency "equivalent-xml", "~> 0.6"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metanorma-bipm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-08-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: metanorma-generic
|
@@ -16,28 +16,28 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.10.
|
19
|
+
version: 1.10.2
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 1.10.
|
26
|
+
version: 1.10.2
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: metanorma-iso
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 1.
|
33
|
+
version: 1.9.0
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 1.
|
40
|
+
version: 1.9.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: byebug
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|