metanorma-iec 2.1.7 → 2.1.8
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/.github/workflows/release.yml +24 -0
- data/lib/isodoc/iec/html/html_iec_titlepage.html +2 -2
- data/lib/isodoc/iec/iec.international-standard.xsl +102 -148
- data/lib/metanorma/iec/biblio.rng +8 -5
- data/lib/metanorma/iec/version.rb +1 -1
- data/lib/metanorma-iec.rb +2 -1
- data/metanorma-iec.gemspec +1 -1
- data/spec/isodoc/ref_spec.rb +9 -9
- data/spec/metanorma/iev_spec.rb +9 -5
- metadata +9 -11
- data/lib/isodoc/iec/html/htmlstyle.css +0 -1017
- data/lib/isodoc/iec/html/isodoc.css +0 -865
- data/lib/isodoc/iec/html/wordstyle.css +0 -2059
data/spec/isodoc/ref_spec.rb
CHANGED
@@ -137,7 +137,7 @@ RSpec.describe IsoDoc::Iec do
|
|
137
137
|
<eref bibitemid="ISSN">[2]</eref>
|
138
138
|
<eref bibitemid="ISO16634">ISO 16634:--</eref>
|
139
139
|
<eref bibitemid="ref1">ICC 167</eref>
|
140
|
-
<eref bibitemid="ref10">[
|
140
|
+
<eref bibitemid="ref10">[4]</eref>
|
141
141
|
<eref bibitemid="ref12">Citn</eref>
|
142
142
|
<eref bibitemid="zip_ffs">[5]</eref>
|
143
143
|
</p>
|
@@ -168,13 +168,13 @@ RSpec.describe IsoDoc::Iec do
|
|
168
168
|
<title depth="1">Bibliography</title>
|
169
169
|
<bibitem id="ISBN" type="book">
|
170
170
|
<formattedref><em>Chemicals for analytical laboratory use</em>. n.p.: n.d. ISBN.</formattedref>
|
171
|
+
<docidentifier type="metanorma-ordinal">[1]</docidentifier>
|
171
172
|
<docidentifier type="ISBN">ISBN</docidentifier>
|
172
|
-
<docidentifier type="metanorma">[1]</docidentifier>
|
173
173
|
</bibitem>
|
174
174
|
<bibitem id="ISSN" type="journal">
|
175
175
|
<formattedref><em>Instruments for analytical laboratory use</em>. n.d. ISSN.</formattedref>
|
176
|
+
<docidentifier type="metanorma-ordinal">[2]</docidentifier>
|
176
177
|
<docidentifier type="ISSN">ISSN</docidentifier>
|
177
|
-
<docidentifier type="metanorma">[2]</docidentifier>
|
178
178
|
</bibitem>
|
179
179
|
<note><name>NOTE</name><p>This is an annotation of document ISSN.</p></note>
|
180
180
|
<note><name>NOTE</name><p>This is another annotation of document ISSN.</p></note>
|
@@ -185,11 +185,11 @@ RSpec.describe IsoDoc::Iec do
|
|
185
185
|
</bibitem>
|
186
186
|
<bibitem id="ref10">
|
187
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>
|
188
|
-
<docidentifier type="metanorma">[
|
188
|
+
<docidentifier type="metanorma-ordinal">[4]</docidentifier>
|
189
189
|
</bibitem>
|
190
190
|
<bibitem id="ref11">
|
191
191
|
<formattedref><em><span class='stddocTitle'>Internet Calendaring and Scheduling Core Object Specification (iCalendar)</span></em></formattedref>
|
192
|
-
<docidentifier type='metanorma-ordinal'>[
|
192
|
+
<docidentifier type='metanorma-ordinal'>[5]</docidentifier>
|
193
193
|
<docidentifier type="IETF">IETF RFC 10</docidentifier>
|
194
194
|
</bibitem>
|
195
195
|
<bibitem id="ref12" type="standard">
|
@@ -203,7 +203,7 @@ RSpec.describe IsoDoc::Iec do
|
|
203
203
|
OUTPUT
|
204
204
|
|
205
205
|
html = <<~OUTPUT
|
206
|
-
|
206
|
+
#{HTML_HDR}
|
207
207
|
<div>
|
208
208
|
<h1 class='ForewordTitle'>FOREWORD</h1>
|
209
209
|
<div class='boilerplate_legal'/>
|
@@ -213,7 +213,7 @@ RSpec.describe IsoDoc::Iec do
|
|
213
213
|
<a href='#ISSN'>[2]</a>
|
214
214
|
<a href='#ISO16634'>ISO 16634:--</a>
|
215
215
|
<a href='#ref1'>ICC 167</a>
|
216
|
-
<a href='#ref10'>[
|
216
|
+
<a href='#ref10'>[4]</a>
|
217
217
|
<a href='#ref12'>Citn</a>
|
218
218
|
<a href='#zip_ffs'>[5]</a>
|
219
219
|
</p>
|
@@ -295,7 +295,7 @@ RSpec.describe IsoDoc::Iec do
|
|
295
295
|
<i>Water for analytical laboratory use</i>
|
296
296
|
</p>
|
297
297
|
<p id='ref10' class='Biblio'>
|
298
|
-
[
|
298
|
+
[4] 
|
299
299
|
<span style='font-variant:small-caps;'>Standard No I.C.C 167</span>
|
300
300
|
.
|
301
301
|
<i>
|
@@ -308,7 +308,7 @@ RSpec.describe IsoDoc::Iec do
|
|
308
308
|
)
|
309
309
|
</p>
|
310
310
|
<p id='ref11' class='Biblio'>
|
311
|
-
[
|
311
|
+
[5]  IETF RFC 10,
|
312
312
|
<i>Internet Calendaring and Scheduling Core Object Specification (iCalendar)</i>
|
313
313
|
</p>
|
314
314
|
<p id='ref12' class='Biblio'>
|
data/spec/metanorma/iev_spec.rb
CHANGED
@@ -156,15 +156,19 @@ RSpec.describe Metanorma::Iec do
|
|
156
156
|
</bibdata>
|
157
157
|
#{@boilerplate}
|
158
158
|
<sections>
|
159
|
-
<
|
159
|
+
<terms id='_' obligation='normative'>
|
160
160
|
<title>Terms and definitions</title>
|
161
|
-
<
|
162
|
-
|
161
|
+
<term id='term-General'>
|
162
|
+
<preferred>
|
163
|
+
<expression>
|
164
|
+
<name>General</name>
|
165
|
+
</expression>
|
166
|
+
</preferred>
|
163
167
|
<term id='term-Term-1'>
|
164
168
|
<preferred><expression><name>Term 1</name></expression></preferred>
|
165
169
|
</term>
|
166
|
-
</
|
167
|
-
</
|
170
|
+
</term>
|
171
|
+
</terms>
|
168
172
|
</sections>
|
169
173
|
</iec-standard>
|
170
174
|
|
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.1.
|
4
|
+
version: 2.1.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-09-06 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.1.
|
19
|
+
version: 2.1.8
|
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.1.
|
26
|
+
version: 2.1.8
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: ruby-jing
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -203,6 +203,7 @@ extensions: []
|
|
203
203
|
extra_rdoc_files: []
|
204
204
|
files:
|
205
205
|
- ".github/workflows/rake.yml"
|
206
|
+
- ".github/workflows/release.yml"
|
206
207
|
- ".gitignore"
|
207
208
|
- ".hound.yml"
|
208
209
|
- ".rubocop.yml"
|
@@ -216,14 +217,11 @@ files:
|
|
216
217
|
- lib/isodoc/iec/html/header.html
|
217
218
|
- lib/isodoc/iec/html/html_iec_intro.html
|
218
219
|
- lib/isodoc/iec/html/html_iec_titlepage.html
|
219
|
-
- lib/isodoc/iec/html/htmlstyle.css
|
220
220
|
- lib/isodoc/iec/html/htmlstyle.scss
|
221
|
-
- lib/isodoc/iec/html/isodoc.css
|
222
221
|
- lib/isodoc/iec/html/isodoc.scss
|
223
222
|
- lib/isodoc/iec/html/scripts.html
|
224
223
|
- lib/isodoc/iec/html/word_iec_intro.html
|
225
224
|
- lib/isodoc/iec/html/word_iec_titlepage.html
|
226
|
-
- lib/isodoc/iec/html/wordstyle.css
|
227
225
|
- lib/isodoc/iec/html/wordstyle.scss
|
228
226
|
- lib/isodoc/iec/html_convert.rb
|
229
227
|
- lib/isodoc/iec/i18n-en.yaml
|
@@ -283,7 +281,7 @@ homepage: https://github.com/metanorma/metanorma-iec
|
|
283
281
|
licenses:
|
284
282
|
- BSD-2-Clause
|
285
283
|
metadata: {}
|
286
|
-
post_install_message:
|
284
|
+
post_install_message:
|
287
285
|
rdoc_options: []
|
288
286
|
require_paths:
|
289
287
|
- lib
|
@@ -298,8 +296,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
298
296
|
- !ruby/object:Gem::Version
|
299
297
|
version: '0'
|
300
298
|
requirements: []
|
301
|
-
rubygems_version: 3.
|
302
|
-
signing_key:
|
299
|
+
rubygems_version: 3.1.6
|
300
|
+
signing_key:
|
303
301
|
specification_version: 4
|
304
302
|
summary: metanorma-iec lets you write IEC standards in AsciiDoc.
|
305
303
|
test_files: []
|