metanorma-iso 1.10.4 → 2.0.1
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 +3 -33
- data/.github/workflows/ubuntu.yml +1 -1
- data/.gitignore +26 -0
- data/Makefile +1 -1
- data/lib/asciidoctor/iso/base.rb +2 -69
- data/lib/asciidoctor/iso/cleanup.rb +2 -175
- data/lib/asciidoctor/iso/converter.rb +2 -17
- data/lib/asciidoctor/iso/deprecated.rb +5 -0
- data/lib/asciidoctor/iso/front.rb +2 -156
- data/lib/asciidoctor/iso/front_id.rb +2 -221
- data/lib/asciidoctor/iso/section.rb +2 -48
- data/lib/asciidoctor/iso/validate.rb +2 -171
- data/lib/asciidoctor/iso/validate_image.rb +2 -96
- data/lib/asciidoctor/iso/validate_requirements.rb +2 -110
- data/lib/asciidoctor/iso/validate_section.rb +2 -246
- data/lib/asciidoctor/iso/validate_style.rb +2 -169
- data/lib/asciidoctor/iso/validate_title.rb +2 -104
- data/lib/isodoc/iso/base_convert.rb +14 -31
- data/lib/isodoc/iso/html/style-human.css +37 -22
- data/lib/isodoc/iso/html/style-human.scss +17 -10
- data/lib/isodoc/iso/html/style-iso.css +34 -20
- data/lib/isodoc/iso/html/style-iso.scss +13 -7
- data/lib/isodoc/iso/html/wordstyle.css +10 -8
- data/lib/isodoc/iso/html/wordstyle.scss +10 -8
- data/lib/isodoc/iso/html_convert.rb +6 -4
- data/lib/isodoc/iso/index.rb +53 -45
- data/lib/isodoc/iso/iso.amendment.xsl +1328 -1225
- data/lib/isodoc/iso/iso.international-standard.xsl +1328 -1225
- data/lib/isodoc/iso/metadata.rb +27 -22
- data/lib/isodoc/iso/presentation_xml_convert.rb +41 -16
- data/lib/isodoc/iso/sts_convert.rb +2 -4
- data/lib/isodoc/iso/word_convert.rb +2 -0
- data/lib/metanorma/iso/base.rb +70 -0
- data/lib/{asciidoctor → metanorma}/iso/basicdoc.rng +0 -0
- data/lib/{asciidoctor → metanorma}/iso/biblio.rng +0 -0
- data/lib/{asciidoctor → metanorma}/iso/boilerplate-fr.xml +0 -0
- data/lib/{asciidoctor → metanorma}/iso/boilerplate.xml +0 -0
- data/lib/metanorma/iso/cleanup.rb +176 -0
- data/lib/metanorma/iso/converter.rb +18 -0
- data/lib/metanorma/iso/front.rb +170 -0
- data/lib/metanorma/iso/front_id.rb +225 -0
- data/lib/{asciidoctor → metanorma}/iso/isodoc.rng +35 -2
- data/lib/{asciidoctor → metanorma}/iso/isostandard-amd.rng +0 -0
- data/lib/{asciidoctor → metanorma}/iso/isostandard.rnc +0 -0
- data/lib/{asciidoctor → metanorma}/iso/isostandard.rng +0 -0
- data/lib/{asciidoctor → metanorma}/iso/reqt.rng +0 -0
- data/lib/metanorma/iso/section.rb +49 -0
- data/lib/metanorma/iso/validate.rb +172 -0
- data/lib/metanorma/iso/validate_image.rb +97 -0
- data/lib/metanorma/iso/validate_requirements.rb +111 -0
- data/lib/metanorma/iso/validate_section.rb +247 -0
- data/lib/metanorma/iso/validate_style.rb +170 -0
- data/lib/metanorma/iso/validate_title.rb +105 -0
- data/lib/metanorma/iso/version.rb +1 -1
- data/lib/metanorma-iso.rb +1 -1
- data/metanorma-iso.gemspec +2 -2
- data/spec/isodoc/amd_spec.rb +261 -250
- data/spec/isodoc/inline_spec.rb +238 -212
- data/spec/isodoc/iso_spec.rb +3 -1
- data/spec/isodoc/ref_spec.rb +4 -2
- data/spec/isodoc/section_spec.rb +1 -1
- data/spec/isodoc/terms_spec.rb +4 -4
- data/spec/{asciidoctor → metanorma}/amd_spec.rb +1 -1
- data/spec/metanorma/base_spec.rb +1185 -0
- data/spec/{asciidoctor → metanorma}/blank_spec.rb +1 -1
- data/spec/{asciidoctor → metanorma}/blocks_spec.rb +1 -1
- data/spec/{asciidoctor → metanorma}/cleanup_spec.rb +1 -1
- data/spec/{asciidoctor → metanorma}/inline_spec.rb +1 -1
- data/spec/{asciidoctor → metanorma}/lists_spec.rb +1 -1
- data/spec/metanorma/processor_spec.rb +1 -1
- data/spec/{asciidoctor → metanorma}/refs_spec.rb +1 -1
- data/spec/{asciidoctor → metanorma}/section_spec.rb +1 -1
- data/spec/{asciidoctor → metanorma}/table_spec.rb +1 -1
- data/spec/{asciidoctor → metanorma}/validate_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- data/spec/vcr_cassettes/docrels.yml +34 -424
- metadata +39 -26
- data/spec/asciidoctor/base_spec.rb +0 -1333
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metanorma-iso
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-01-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: metanorma-standoc
|
@@ -16,28 +16,28 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 2.0.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:
|
26
|
+
version: 2.0.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: mnconvert
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '1.14'
|
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: '
|
40
|
+
version: '1.14'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: ruby-jing
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -294,19 +294,11 @@ files:
|
|
294
294
|
- docs/navigation.adoc
|
295
295
|
- docs/quickstart.adoc
|
296
296
|
- lib/asciidoctor/iso/base.rb
|
297
|
-
- lib/asciidoctor/iso/basicdoc.rng
|
298
|
-
- lib/asciidoctor/iso/biblio.rng
|
299
|
-
- lib/asciidoctor/iso/boilerplate-fr.xml
|
300
|
-
- lib/asciidoctor/iso/boilerplate.xml
|
301
297
|
- lib/asciidoctor/iso/cleanup.rb
|
302
298
|
- lib/asciidoctor/iso/converter.rb
|
299
|
+
- lib/asciidoctor/iso/deprecated.rb
|
303
300
|
- lib/asciidoctor/iso/front.rb
|
304
301
|
- lib/asciidoctor/iso/front_id.rb
|
305
|
-
- lib/asciidoctor/iso/isodoc.rng
|
306
|
-
- lib/asciidoctor/iso/isostandard-amd.rng
|
307
|
-
- lib/asciidoctor/iso/isostandard.rnc
|
308
|
-
- lib/asciidoctor/iso/isostandard.rng
|
309
|
-
- lib/asciidoctor/iso/reqt.rng
|
310
302
|
- lib/asciidoctor/iso/section.rb
|
311
303
|
- lib/asciidoctor/iso/validate.rb
|
312
304
|
- lib/asciidoctor/iso/validate_image.rb
|
@@ -350,20 +342,30 @@ files:
|
|
350
342
|
- lib/isodoc/iso/xref.rb
|
351
343
|
- lib/metanorma-iso.rb
|
352
344
|
- lib/metanorma/iso.rb
|
345
|
+
- lib/metanorma/iso/base.rb
|
346
|
+
- lib/metanorma/iso/basicdoc.rng
|
347
|
+
- lib/metanorma/iso/biblio.rng
|
348
|
+
- lib/metanorma/iso/boilerplate-fr.xml
|
349
|
+
- lib/metanorma/iso/boilerplate.xml
|
350
|
+
- lib/metanorma/iso/cleanup.rb
|
351
|
+
- lib/metanorma/iso/converter.rb
|
352
|
+
- lib/metanorma/iso/front.rb
|
353
|
+
- lib/metanorma/iso/front_id.rb
|
354
|
+
- lib/metanorma/iso/isodoc.rng
|
355
|
+
- lib/metanorma/iso/isostandard-amd.rng
|
356
|
+
- lib/metanorma/iso/isostandard.rnc
|
357
|
+
- lib/metanorma/iso/isostandard.rng
|
353
358
|
- lib/metanorma/iso/processor.rb
|
359
|
+
- lib/metanorma/iso/reqt.rng
|
360
|
+
- lib/metanorma/iso/section.rb
|
361
|
+
- lib/metanorma/iso/validate.rb
|
362
|
+
- lib/metanorma/iso/validate_image.rb
|
363
|
+
- lib/metanorma/iso/validate_requirements.rb
|
364
|
+
- lib/metanorma/iso/validate_section.rb
|
365
|
+
- lib/metanorma/iso/validate_style.rb
|
366
|
+
- lib/metanorma/iso/validate_title.rb
|
354
367
|
- lib/metanorma/iso/version.rb
|
355
368
|
- metanorma-iso.gemspec
|
356
|
-
- spec/asciidoctor/amd_spec.rb
|
357
|
-
- spec/asciidoctor/base_spec.rb
|
358
|
-
- spec/asciidoctor/blank_spec.rb
|
359
|
-
- spec/asciidoctor/blocks_spec.rb
|
360
|
-
- spec/asciidoctor/cleanup_spec.rb
|
361
|
-
- spec/asciidoctor/inline_spec.rb
|
362
|
-
- spec/asciidoctor/lists_spec.rb
|
363
|
-
- spec/asciidoctor/refs_spec.rb
|
364
|
-
- spec/asciidoctor/section_spec.rb
|
365
|
-
- spec/asciidoctor/table_spec.rb
|
366
|
-
- spec/asciidoctor/validate_spec.rb
|
367
369
|
- spec/assets/header.html
|
368
370
|
- spec/assets/html.css
|
369
371
|
- spec/assets/htmlcover.html
|
@@ -405,7 +407,18 @@ files:
|
|
405
407
|
- spec/isodoc/table_spec.rb
|
406
408
|
- spec/isodoc/terms_spec.rb
|
407
409
|
- spec/isodoc/xref_spec.rb
|
410
|
+
- spec/metanorma/amd_spec.rb
|
411
|
+
- spec/metanorma/base_spec.rb
|
412
|
+
- spec/metanorma/blank_spec.rb
|
413
|
+
- spec/metanorma/blocks_spec.rb
|
414
|
+
- spec/metanorma/cleanup_spec.rb
|
415
|
+
- spec/metanorma/inline_spec.rb
|
416
|
+
- spec/metanorma/lists_spec.rb
|
408
417
|
- spec/metanorma/processor_spec.rb
|
418
|
+
- spec/metanorma/refs_spec.rb
|
419
|
+
- spec/metanorma/section_spec.rb
|
420
|
+
- spec/metanorma/table_spec.rb
|
421
|
+
- spec/metanorma/validate_spec.rb
|
409
422
|
- spec/spec_helper.rb
|
410
423
|
- spec/vcr_cassettes/docrels.yml
|
411
424
|
- spec/vcr_cassettes/sortrefs.yml
|