metanorma-iso 2.1.9 → 2.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/isodoc/iso/i18n-fr.yaml +0 -1
- data/lib/isodoc/iso/i18n-zh-Hans.yaml +0 -1
- data/lib/isodoc/iso/init.rb +15 -10
- data/lib/isodoc/iso/iso.amendment.xsl +77 -14
- data/lib/isodoc/iso/iso.international-standard.xsl +77 -14
- data/lib/isodoc/iso/metadata.rb +1 -1
- data/lib/isodoc/iso/presentation_xref.rb +1 -0
- data/lib/isodoc/iso/word_convert.rb +6 -0
- data/lib/isodoc/iso/xref.rb +6 -11
- data/lib/metanorma/iso/biblio.rng +32 -1
- data/lib/metanorma/iso/front_id.rb +2 -2
- data/lib/metanorma/iso/version.rb +1 -1
- data/lib/metanorma/iso.rb +0 -1
- data/lib/metanorma/requirements/modspec.rb +67 -4
- data/lib/metanorma-iso.rb +1 -0
- data/lib/relaton/render/config.yml +53 -1
- data/metanorma-iso.gemspec +1 -1
- data/spec/isodoc/i18n_spec.rb +2 -2
- data/spec/isodoc/ref_spec.rb +4 -4
- data/spec/relaton/render_spec.rb +568 -0
- data/spec/requirements/requirement_components_spec.rb +622 -0
- data/spec/requirements/requirements_spec.rb +434 -52
- data/spec/requirements/xref_spec.rb +6 -0
- data/spec/vcr_cassettes/docrels.yml +34 -34
- data/spec/vcr_cassettes/withdrawn_iso.yml +29 -29
- metadata +6 -4
@@ -31,6 +31,7 @@ RSpec.describe Metanorma::Requirements::Iso::Modspec do
|
|
31
31
|
<sections>
|
32
32
|
<clause id="scope" type="scope"><title>Scope</title>
|
33
33
|
<requirement model="ogc" id="N">
|
34
|
+
<title>First</title>
|
34
35
|
<stem type="AsciiMath">r = 1 %</stem>
|
35
36
|
</requirement>
|
36
37
|
<p><xref target="N"/></p>
|
@@ -39,6 +40,7 @@ RSpec.describe Metanorma::Requirements::Iso::Modspec do
|
|
39
40
|
<clause id="widgets"><title>Widgets</title>
|
40
41
|
<clause id="widgets1">
|
41
42
|
<requirement model="ogc" id="note1">
|
43
|
+
<title>Second</title>
|
42
44
|
<stem type="AsciiMath">r = 1 %</stem>
|
43
45
|
</requirement>
|
44
46
|
<requirement model="ogc" id="note2">
|
@@ -51,6 +53,7 @@ RSpec.describe Metanorma::Requirements::Iso::Modspec do
|
|
51
53
|
<annex id="annex1">
|
52
54
|
<clause id="annex1a">
|
53
55
|
<requirement model="ogc" id="AN">
|
56
|
+
<title>Third</title>
|
54
57
|
<stem type="AsciiMath">r = 1 %</stem>
|
55
58
|
</requirement>
|
56
59
|
</clause>
|
@@ -133,6 +136,7 @@ RSpec.describe Metanorma::Requirements::Iso::Modspec do
|
|
133
136
|
<sections>
|
134
137
|
<clause id="scope" type="scope"><title>Scope</title>
|
135
138
|
<requirement model="ogc" id="N">
|
139
|
+
<title>First</title>
|
136
140
|
<identifier>/ogc/req3</identifier>
|
137
141
|
<stem type="AsciiMath">r = 1 %</stem>
|
138
142
|
</requirement>
|
@@ -142,6 +146,7 @@ RSpec.describe Metanorma::Requirements::Iso::Modspec do
|
|
142
146
|
<clause id="widgets"><title>Widgets</title>
|
143
147
|
<clause id="widgets1">
|
144
148
|
<requirement model="ogc" id="note1">
|
149
|
+
<title>Second</title>
|
145
150
|
<identifier>/ogc/req4</identifier>
|
146
151
|
<stem type="AsciiMath">r = 1 %</stem>
|
147
152
|
</requirement>
|
@@ -156,6 +161,7 @@ RSpec.describe Metanorma::Requirements::Iso::Modspec do
|
|
156
161
|
<annex id="annex1">
|
157
162
|
<clause id="annex1a">
|
158
163
|
<requirement model="ogc" id="AN">
|
164
|
+
<title>Third</title>
|
159
165
|
<identifier>/ogc/req6</identifier>
|
160
166
|
<stem type="AsciiMath">r = 1 %</stem>
|
161
167
|
</requirement>
|