metanorma-bipm 2.8.5 → 2.8.6
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 +4 -4
- data/.rubocop.yml +2 -2
- data/lib/isodoc/bipm/jcgm.standard.xsl +7 -7
- data/lib/metanorma/bipm/front.rb +1 -3
- data/lib/metanorma/bipm/version.rb +1 -1
- data/metanorma-bipm.gemspec +2 -2
- metadata +6 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6479e1ad83324eefa4ce2d8285e03efdf400245ed50c7c0e6ff0d7d266020248
|
|
4
|
+
data.tar.gz: a2863b61f3088bf576905e74688dfa2dfc5f0a60679997fba183976054e1b0ce
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f5956e6ed8306c3c61089bf2834c8881cedab2b2b9d61efd22c0470f58e4652be585fffa18f04a81f4faa48ba9d566845db8cc4b946655f88759e556299714eb
|
|
7
|
+
data.tar.gz: 0d23fd3f8c58e63c247d7cae1ec7ea52940ad802c728f80e9a0f4a9eb514a61da93ce834a88b9dc824f1a88d1d5b82b247ee3d5f607f497c94ba847778f6b774
|
data/.rubocop.yml
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# Auto-generated by Cimas: Do not edit it manually!
|
|
2
2
|
# See https://github.com/metanorma/cimas
|
|
3
3
|
inherit_from:
|
|
4
|
-
- https://raw.githubusercontent.com/riboseinc/oss-guides/
|
|
4
|
+
- https://raw.githubusercontent.com/riboseinc/oss-guides/main/ci/rubocop.yml
|
|
5
5
|
|
|
6
6
|
# local repo-specific modifications
|
|
7
7
|
# ...
|
|
8
8
|
|
|
9
9
|
AllCops:
|
|
10
|
-
TargetRubyVersion:
|
|
10
|
+
TargetRubyVersion: 3.4
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?><xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:mn="https://www.metanorma.org/ns/standoc" xmlns:mnx="https://www.metanorma.org/ns/xslt" xmlns:mathml="http://www.w3.org/1998/Math/MathML" xmlns:xalan="http://xml.apache.org/xalan" xmlns:fox="http://xmlgraphics.apache.org/fop/extensions" xmlns:redirect="http://xml.apache.org/xalan/redirect" xmlns:java="http://xml.apache.org/xalan/java" exclude-result-prefixes="java redirect" extension-element-prefixes="redirect" version="1.0">
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?><xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:mnc="http://metanorma.org" xmlns:mn="https://www.metanorma.org/ns/standoc" xmlns:mnx="https://www.metanorma.org/ns/xslt" xmlns:mathml="http://www.w3.org/1998/Math/MathML" xmlns:xalan="http://xml.apache.org/xalan" xmlns:fox="http://xmlgraphics.apache.org/fop/extensions" xmlns:redirect="http://xml.apache.org/xalan/redirect" xmlns:java="http://xml.apache.org/xalan/java" exclude-result-prefixes="java redirect" extension-element-prefixes="redirect" version="1.0">
|
|
2
2
|
|
|
3
3
|
<xsl:output method="xml" encoding="UTF-8" indent="no"/>
|
|
4
4
|
|
|
@@ -32,9 +32,9 @@
|
|
|
32
32
|
</xsl:variable>
|
|
33
33
|
|
|
34
34
|
<xsl:variable name="doc_first">
|
|
35
|
-
<xsl:if test="
|
|
35
|
+
<xsl:if test="mnc:metanorma-collection">
|
|
36
36
|
<xsl:variable name="doc_first_step1">
|
|
37
|
-
<xsl:apply-templates select="(/
|
|
37
|
+
<xsl:apply-templates select="(/mnc:metanorma-collection//mn:metanorma)[1]" mode="flatxml_step1">
|
|
38
38
|
<xsl:with-param name="num" select="'first'"/>
|
|
39
39
|
</xsl:apply-templates>
|
|
40
40
|
</xsl:variable>
|
|
@@ -45,8 +45,8 @@
|
|
|
45
45
|
</xsl:if>
|
|
46
46
|
</xsl:variable>
|
|
47
47
|
<xsl:variable name="docs_slave">
|
|
48
|
-
<xsl:if test="
|
|
49
|
-
<xsl:for-each select="(/
|
|
48
|
+
<xsl:if test="mnc:metanorma-collection">
|
|
49
|
+
<xsl:for-each select="(/mnc:metanorma-collection//mn:metanorma)[position() > 1]">
|
|
50
50
|
<xsl:variable name="doc_first_step1">
|
|
51
51
|
<xsl:apply-templates select="." mode="flatxml_step1">
|
|
52
52
|
<xsl:with-param name="num" select="'slave'"/>
|
|
@@ -64,8 +64,8 @@
|
|
|
64
64
|
<xsl:variable name="column_gap">8</xsl:variable>
|
|
65
65
|
<xsl:variable name="docs_count">
|
|
66
66
|
<xsl:choose>
|
|
67
|
-
<xsl:when test="/
|
|
68
|
-
<xsl:value-of select="count(/
|
|
67
|
+
<xsl:when test="/mnc:metanorma-collection">
|
|
68
|
+
<xsl:value-of select="count(/mnc:metanorma-collection//mn:metanorma)"/>
|
|
69
69
|
</xsl:when>
|
|
70
70
|
<xsl:otherwise>1</xsl:otherwise>
|
|
71
71
|
</xsl:choose>
|
data/lib/metanorma/bipm/front.rb
CHANGED
|
@@ -69,9 +69,7 @@ module Metanorma
|
|
|
69
69
|
add_noko_elem(b, "date", date,
|
|
70
70
|
type: edition ? "published" : "circulated")
|
|
71
71
|
add_noko_elem(b, "edition", edition)
|
|
72
|
-
draft and b
|
|
73
|
-
add_noko_elem(v, "draft", draft)
|
|
74
|
-
end
|
|
72
|
+
draft and add_noko_elem(b, "version", draft)
|
|
75
73
|
end
|
|
76
74
|
end
|
|
77
75
|
end
|
data/metanorma-bipm.gemspec
CHANGED
|
@@ -27,8 +27,8 @@ Gem::Specification.new do |spec|
|
|
|
27
27
|
spec.require_paths = ["lib"]
|
|
28
28
|
spec.required_ruby_version = Gem::Requirement.new(">= 3.1.0")
|
|
29
29
|
|
|
30
|
-
spec.add_dependency "metanorma-generic", "~> 3.
|
|
31
|
-
spec.add_dependency "metanorma-iso", "~> 3.4.
|
|
30
|
+
spec.add_dependency "metanorma-generic", "~> 3.4.0"
|
|
31
|
+
spec.add_dependency "metanorma-iso", "~> 3.4.2"
|
|
32
32
|
|
|
33
33
|
spec.add_development_dependency "canon"
|
|
34
34
|
spec.add_development_dependency "debug"
|
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: 2.8.
|
|
4
|
+
version: 2.8.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ribose Inc.
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-05-13 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: 3.
|
|
19
|
+
version: 3.4.0
|
|
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: 3.
|
|
26
|
+
version: 3.4.0
|
|
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: 3.4.
|
|
33
|
+
version: 3.4.2
|
|
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: 3.4.
|
|
40
|
+
version: 3.4.2
|
|
41
41
|
- !ruby/object:Gem::Dependency
|
|
42
42
|
name: canon
|
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|