metanorma-iec 2.0.8 → 2.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -71,7 +71,7 @@ RSpec.describe IsoDoc::Iec do
71
71
 
72
72
  </references><references id="_bibliography" obligation="informative" normative="false">
73
73
  <title>Bibliography</title>
74
- <bibitem id="ISBN" type="ISBN">
74
+ <bibitem id="ISBN" type="book">
75
75
  <title format="text/plain">Chemicals for analytical laboratory use</title>
76
76
  <docidentifier type="ISBN">ISBN</docidentifier>
77
77
  <docidentifier type="metanorma">[1]</docidentifier>
@@ -82,7 +82,7 @@ RSpec.describe IsoDoc::Iec do
82
82
  </organization>
83
83
  </contributor>
84
84
  </bibitem>
85
- <bibitem id="ISSN" type="ISSN">
85
+ <bibitem id="ISSN" type="journal">
86
86
  <title format="text/plain">Instruments for analytical laboratory use</title>
87
87
  <docidentifier type="ISSN">ISSN</docidentifier>
88
88
  <docidentifier type="metanorma">[2]</docidentifier>
@@ -145,44 +145,18 @@ RSpec.describe IsoDoc::Iec do
145
145
  <bibliography><references id="_normative_references" obligation="informative" normative="true" displayorder="2"><title depth="1">1<tab/>Normative References</title>
146
146
  <p>The following documents are referred to in the text in such a way that some or all of their content constitutes requirements of this document. For dated references, only the edition cited applies. For undated references, the latest edition of the referenced document (including any amendments) applies.</p>
147
147
  <bibitem id="ISO712" type="standard">
148
- <title format="text/plain">Cereals or cereal products</title>
149
- <title type="main" format="text/plain">Cereals and cereal products</title>
148
+ <formattedref><em><span class='stddocTitle'>Cereals and cereal products</span></em></formattedref>
150
149
  <docidentifier type="ISO">ISO 712</docidentifier>
151
150
  <docidentifier type="metanorma">[110]</docidentifier>
152
- <contributor>
153
- <role type="publisher"/>
154
- <organization>
155
- <name>International Organization for Standardization</name>
156
- </organization>
157
- </contributor>
158
151
  </bibitem>
159
152
  <bibitem id="ISO16634" type="standard">
160
- <title language="x" format="text/plain">Cereals, pulses, milled cereal products, xxxx, oilseeds and animal feeding stuffs</title>
161
- <title language="en" format="text/plain">Cereals, pulses, milled cereal products, oilseeds and animal feeding stuffs</title>
153
+ <formattedref><em><span class='stddocTitle'>Cereals, pulses, milled cereal products, oilseeds and animal feeding stuffs</span></em></formattedref>
162
154
  <docidentifier type="ISO">ISO 16634:-- (all parts)</docidentifier>
163
- <date type="published"><on>--</on></date>
164
- <contributor>
165
- <role type="publisher"/>
166
- <organization>
167
- <abbreviation>ISO</abbreviation>
168
- </organization>
169
- </contributor>
170
155
  <note format="text/plain" reference="1" type="Unpublished-Status">Under preparation. (Stage at the time of publication ISO/DIS 16634)</note>
171
- <extent type="part">
172
- <referenceFrom>all</referenceFrom>
173
- </extent>
174
-
175
156
  </bibitem>
176
157
  <bibitem id="ISO20483" type="standard">
177
- <title format="text/plain">Cereals and pulses</title>
158
+ <formattedref><em><span class='stddocTitle'>Cereals and pulses</span></em></formattedref>
178
159
  <docidentifier type="ISO">ISO 20483:2013-2014</docidentifier>
179
- <date type="published"><from>2013</from><to>2014</to></date>
180
- <contributor>
181
- <role type="publisher"/>
182
- <organization>
183
- <name>International Organization for Standardization</name>
184
- </organization>
185
- </contributor>
186
160
  </bibitem>
187
161
  <bibitem id="ref1">
188
162
  <formattedref format="application/x-isodoc+xml"><smallcap>Standard No I.C.C 167</smallcap>. <em>Determination of the protein content in cereal and cereal products for food and animal feeding stuffs according to the Dumas combustion method</em> (see <link target="http://www.icc.or.at"/>)</formattedref>
@@ -190,51 +164,31 @@ RSpec.describe IsoDoc::Iec do
190
164
  </bibitem>
191
165
  <note><name>NOTE</name><p>This is an annotation of ISO 20483:2013-2014</p></note>
192
166
  <bibitem id="zip_ffs"><formattedref format="application/x-isodoc+xml">Title 5</formattedref><docidentifier type="metanorma">[5]</docidentifier></bibitem>
193
-
194
-
195
167
  </references><references id="_bibliography" obligation="informative" normative="false" displayorder="3">
196
168
  <title depth="1">Bibliography</title>
197
- <bibitem id="ISBN" type="ISBN">
198
- <title format="text/plain">Chemicals for analytical laboratory use</title>
169
+ <bibitem id="ISBN" type="book">
170
+ <formattedref><em>Chemicals for analytical laboratory use</em>. ISBN.</formattedref>
199
171
  <docidentifier type="ISBN">ISBN</docidentifier>
200
172
  <docidentifier type="metanorma">[1]</docidentifier>
201
- <contributor>
202
- <role type="publisher"/>
203
- <organization>
204
- <abbreviation>ISBN</abbreviation>
205
- </organization>
206
- </contributor>
207
173
  </bibitem>
208
- <bibitem id="ISSN" type="ISSN">
209
- <title format="text/plain">Instruments for analytical laboratory use</title>
174
+ <bibitem id="ISSN" type="journal">
175
+ <formattedref><em>Instruments for analytical laboratory use</em>. ISSN.</formattedref>
210
176
  <docidentifier type="ISSN">ISSN</docidentifier>
211
177
  <docidentifier type="metanorma">[2]</docidentifier>
212
- <contributor>
213
- <role type="publisher"/>
214
- <organization>
215
- <abbreviation>ISSN</abbreviation>
216
- </organization>
217
- </contributor>
218
178
  </bibitem>
219
179
  <note><name>NOTE</name><p>This is an annotation of document ISSN.</p></note>
220
180
  <note><name>NOTE</name><p>This is another annotation of document ISSN.</p></note>
221
181
  <bibitem id="ISO3696" type="standard">
222
- <title format="text/plain">Water for analytical laboratory use</title>
182
+ <formattedref><em><span class='stddocTitle'>Water for analytical laboratory use</span></em></formattedref>
223
183
  <docidentifier type='metanorma-ordinal'>[3]</docidentifier>
224
184
  <docidentifier type="ISO">ISO 3696</docidentifier>
225
- <contributor>
226
- <role type="publisher"/>
227
- <organization>
228
- <abbreviation>ISO</abbreviation>
229
- </organization>
230
- </contributor>
231
185
  </bibitem>
232
186
  <bibitem id="ref10">
233
187
  <formattedref format="application/x-isodoc+xml"><smallcap>Standard No I.C.C 167</smallcap>. <em>Determination of the protein content in cereal and cereal products for food and animal feeding stuffs according to the Dumas combustion method</em> (see <link target="http://www.icc.or.at"/>)</formattedref>
234
188
  <docidentifier type="metanorma">[10]</docidentifier>
235
189
  </bibitem>
236
190
  <bibitem id="ref11">
237
- <title>Internet Calendaring and Scheduling Core Object Specification (iCalendar)</title>
191
+ <formattedref><em>Internet Calendaring and Scheduling Core Object Specification (iCalendar)</em>.</formattedref>
238
192
  <docidentifier type='metanorma-ordinal'>[4]</docidentifier>
239
193
  <docidentifier type="IETF">IETF RFC 10</docidentifier>
240
194
  </bibitem>
@@ -243,8 +197,6 @@ RSpec.describe IsoDoc::Iec do
243
197
  <docidentifier type="metanorma">[Citn]</docidentifier>
244
198
  <docidentifier type="IETF">IETF RFC 20</docidentifier>
245
199
  </bibitem>
246
-
247
-
248
200
  </references>
249
201
  </bibliography>
250
202
  </iso-standard>
@@ -318,11 +270,11 @@ RSpec.describe IsoDoc::Iec do
318
270
  <h1 class='Section3'>Bibliography</h1>
319
271
  <p id='ISBN' class='Biblio'>
320
272
  [1]&#160;
321
- <i>Chemicals for analytical laboratory use</i>
273
+ <i>Chemicals for analytical laboratory use</i>. ISBN.
322
274
  </p>
323
275
  <p id='ISSN' class='Biblio'>
324
276
  [2]&#160;
325
- <i>Instruments for analytical laboratory use</i>
277
+ <i>Instruments for analytical laboratory use</i>. ISSN.
326
278
  </p>
327
279
  <div class='Note'>
328
280
  <p>
@@ -355,7 +307,7 @@ RSpec.describe IsoDoc::Iec do
355
307
  </p>
356
308
  <p id='ref11' class='Biblio'>
357
309
  [4]&#160; IETF RFC 10,
358
- <i>Internet Calendaring and Scheduling Core Object Specification (iCalendar)</i>
310
+ <i>Internet Calendaring and Scheduling Core Object Specification (iCalendar)</i>.
359
311
  </p>
360
312
  <p id='ref12' class='Biblio'>
361
313
  Citn&#160; IETF RFC 20, CitationWorks. 2019.
@@ -357,7 +357,7 @@ RSpec.describe Metanorma::Iec do
357
357
  <?xml version="1.0" encoding="UTF-8"?>
358
358
  <iec-standard xmlns="https://www.metanorma.org/ns/iec" type="semantic" version="#{Metanorma::Iec::VERSION}">
359
359
  <bibdata type='standard'>
360
- <docidentifier type='ISO'>ISO/IEC/IETF/2CDTS 1000-1-1 ED 1</docidentifier>
360
+ <docidentifier type='ISO'>IEC/IETF/ISO/2CDTS 1000-1-1 ED 1</docidentifier>
361
361
  <docidentifier type='iso-tc'>2000</docidentifier>
362
362
  <docnumber>1000</docnumber>
363
363
  <contributor>
@@ -443,7 +443,7 @@ RSpec.describe Metanorma::Iec do
443
443
  <workgroup/>
444
444
  </editorialgroup>
445
445
  <structuredidentifier>
446
- <project-number part='1' subpart='1'>ISO/IEC/IETF 1000</project-number>
446
+ <project-number part='1' subpart='1'>IEC/IETF/ISO 1000</project-number>
447
447
  </structuredidentifier>
448
448
  <stagename>Committee draft</stagename>
449
449
  </ext>
@@ -23,7 +23,7 @@ RSpec.describe Metanorma::Iec do
23
23
  <pagebreak/></sections>
24
24
  </iec-standard>
25
25
  OUTPUT
26
- expect(xmlpp(strip_guid(Asciidoctor.convert(input, OPTIONS))))
26
+ expect(xmlpp(strip_guid(Asciidoctor.convert(input, *OPTIONS))))
27
27
  .to be_equivalent_to xmlpp(output)
28
28
  end
29
29
 
@@ -43,7 +43,7 @@ RSpec.describe Metanorma::Iec do
43
43
  </sections>
44
44
  </iec-standard>
45
45
  OUTPUT
46
- expect(xmlpp(strip_guid(Asciidoctor.convert(input, OPTIONS))))
46
+ expect(xmlpp(strip_guid(Asciidoctor.convert(input, *OPTIONS))))
47
47
  .to be_equivalent_to xmlpp(output)
48
48
  end
49
49
 
@@ -59,7 +59,7 @@ RSpec.describe Metanorma::Iec do
59
59
  </sections>
60
60
  </iec-standard>
61
61
  OUTPUT
62
- expect(xmlpp(strip_guid(Asciidoctor.convert(input, OPTIONS))))
62
+ expect(xmlpp(strip_guid(Asciidoctor.convert(input, *OPTIONS))))
63
63
  .to be_equivalent_to xmlpp(output)
64
64
  end
65
65
 
@@ -87,7 +87,7 @@ RSpec.describe Metanorma::Iec do
87
87
  </sections>
88
88
  </iec-standard>
89
89
  OUTPUT
90
- expect(xmlpp(strip_guid(Asciidoctor.convert(input, OPTIONS))))
90
+ expect(xmlpp(strip_guid(Asciidoctor.convert(input, *OPTIONS))))
91
91
  .to be_equivalent_to xmlpp(output)
92
92
  end
93
93
 
@@ -121,7 +121,7 @@ RSpec.describe Metanorma::Iec do
121
121
  </bibliography>
122
122
  </iec-standard>
123
123
  OUTPUT
124
- expect(xmlpp(strip_guid(Asciidoctor.convert(input, OPTIONS))))
124
+ expect(xmlpp(strip_guid(Asciidoctor.convert(input, *OPTIONS))))
125
125
  .to be_equivalent_to xmlpp(output)
126
126
  end
127
127
 
@@ -139,7 +139,7 @@ RSpec.describe Metanorma::Iec do
139
139
  </sections>
140
140
  </iec-standard>
141
141
  OUTPUT
142
- expect(xmlpp(strip_guid(Asciidoctor.convert(input, OPTIONS))))
142
+ expect(xmlpp(strip_guid(Asciidoctor.convert(input, *OPTIONS))))
143
143
  .to be_equivalent_to xmlpp(output)
144
144
  end
145
145
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanorma-iec
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.8
4
+ version: 2.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-04-18 00:00:00.000000000 Z
11
+ date: 2022-05-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: metanorma-iso
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 2.0.0
19
+ version: 2.1.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: 2.0.0
26
+ version: 2.1.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: ruby-jing
29
29
  requirement: !ruby/object:Gem::Requirement