metanorma-iso 1.10.6 → 2.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (69) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +26 -0
  3. data/Makefile +1 -1
  4. data/lib/asciidoctor/iso/base.rb +2 -69
  5. data/lib/asciidoctor/iso/cleanup.rb +2 -175
  6. data/lib/asciidoctor/iso/converter.rb +2 -17
  7. data/lib/asciidoctor/iso/deprecated.rb +5 -0
  8. data/lib/asciidoctor/iso/front.rb +2 -169
  9. data/lib/asciidoctor/iso/front_id.rb +2 -224
  10. data/lib/asciidoctor/iso/section.rb +2 -48
  11. data/lib/asciidoctor/iso/validate.rb +2 -171
  12. data/lib/asciidoctor/iso/validate_image.rb +2 -96
  13. data/lib/asciidoctor/iso/validate_requirements.rb +2 -110
  14. data/lib/asciidoctor/iso/validate_section.rb +2 -246
  15. data/lib/asciidoctor/iso/validate_style.rb +2 -169
  16. data/lib/asciidoctor/iso/validate_title.rb +2 -104
  17. data/lib/isodoc/iso/html/htmlstyle.css +47 -0
  18. data/lib/isodoc/iso/html/isodoc.css +1326 -0
  19. data/lib/isodoc/iso/html/isodoc.scss +0 -1
  20. data/lib/isodoc/iso/html/style-human.css +1015 -0
  21. data/lib/isodoc/iso/html/style-human.scss +8 -2
  22. data/lib/isodoc/iso/html/style-iso.css +1042 -0
  23. data/lib/isodoc/iso/html/style-iso.scss +9 -2
  24. data/lib/isodoc/iso/html/wordstyle.css +1701 -0
  25. data/lib/isodoc/iso/html_convert.rb +6 -4
  26. data/lib/isodoc/iso/iso.amendment.xsl +2142 -1565
  27. data/lib/isodoc/iso/iso.international-standard.xsl +2142 -1565
  28. data/lib/isodoc/iso/word_convert.rb +2 -0
  29. data/lib/metanorma/iso/base.rb +70 -0
  30. data/lib/{asciidoctor → metanorma}/iso/basicdoc.rng +5 -3
  31. data/lib/{asciidoctor → metanorma}/iso/biblio.rng +7 -5
  32. data/lib/{asciidoctor → metanorma}/iso/boilerplate-fr.xml +0 -0
  33. data/lib/{asciidoctor → metanorma}/iso/boilerplate.xml +0 -0
  34. data/lib/metanorma/iso/cleanup.rb +176 -0
  35. data/lib/metanorma/iso/converter.rb +18 -0
  36. data/lib/metanorma/iso/front.rb +170 -0
  37. data/lib/metanorma/iso/front_id.rb +225 -0
  38. data/lib/{asciidoctor → metanorma}/iso/isodoc.rng +98 -1
  39. data/lib/{asciidoctor → metanorma}/iso/isostandard-amd.rng +0 -0
  40. data/lib/{asciidoctor → metanorma}/iso/isostandard.rnc +0 -0
  41. data/lib/{asciidoctor → metanorma}/iso/isostandard.rng +0 -0
  42. data/lib/{asciidoctor → metanorma}/iso/reqt.rng +0 -0
  43. data/lib/metanorma/iso/section.rb +49 -0
  44. data/lib/metanorma/iso/validate.rb +172 -0
  45. data/lib/metanorma/iso/validate_image.rb +97 -0
  46. data/lib/metanorma/iso/validate_requirements.rb +111 -0
  47. data/lib/metanorma/iso/validate_section.rb +248 -0
  48. data/lib/metanorma/iso/validate_style.rb +170 -0
  49. data/lib/metanorma/iso/validate_title.rb +105 -0
  50. data/lib/metanorma/iso/version.rb +1 -1
  51. data/lib/metanorma-iso.rb +1 -1
  52. data/metanorma-iso.gemspec +1 -1
  53. data/spec/isodoc/ref_spec.rb +4 -2
  54. data/spec/isodoc/xref_spec.rb +18 -18
  55. data/spec/{asciidoctor → metanorma}/amd_spec.rb +1 -1
  56. data/spec/{asciidoctor → metanorma}/base_spec.rb +158 -197
  57. data/spec/{asciidoctor → metanorma}/blank_spec.rb +1 -1
  58. data/spec/{asciidoctor → metanorma}/blocks_spec.rb +1 -1
  59. data/spec/{asciidoctor → metanorma}/cleanup_spec.rb +1 -1
  60. data/spec/{asciidoctor → metanorma}/inline_spec.rb +1 -1
  61. data/spec/{asciidoctor → metanorma}/lists_spec.rb +1 -1
  62. data/spec/{asciidoctor → metanorma}/refs_spec.rb +2 -5
  63. data/spec/{asciidoctor → metanorma}/section_spec.rb +1 -1
  64. data/spec/{asciidoctor → metanorma}/table_spec.rb +1 -1
  65. data/spec/{asciidoctor → metanorma}/validate_spec.rb +28 -3
  66. data/spec/spec_helper.rb +1 -1
  67. metadata +46 -30
  68. data/spec/vcr_cassettes/docrels.yml +0 -393
  69. data/spec/vcr_cassettes/sortrefs.yml +0 -599
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: 1.10.6
4
+ version: 2.0.3
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-01-07 00:00:00.000000000 Z
11
+ date: 2022-02-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: metanorma-standoc
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 1.11.0
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: 1.11.0
26
+ version: 2.0.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: mnconvert
29
29
  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
@@ -318,12 +310,17 @@ files:
318
310
  - lib/isodoc/iso/html/header.html
319
311
  - lib/isodoc/iso/html/html_iso_intro.html
320
312
  - lib/isodoc/iso/html/html_iso_titlepage.html
313
+ - lib/isodoc/iso/html/htmlstyle.css
321
314
  - lib/isodoc/iso/html/htmlstyle.scss
315
+ - lib/isodoc/iso/html/isodoc.css
322
316
  - lib/isodoc/iso/html/isodoc.scss
317
+ - lib/isodoc/iso/html/style-human.css
323
318
  - lib/isodoc/iso/html/style-human.scss
319
+ - lib/isodoc/iso/html/style-iso.css
324
320
  - lib/isodoc/iso/html/style-iso.scss
325
321
  - lib/isodoc/iso/html/word_iso_intro.html
326
322
  - lib/isodoc/iso/html/word_iso_titlepage.html
323
+ - lib/isodoc/iso/html/wordstyle.css
327
324
  - lib/isodoc/iso/html/wordstyle.scss
328
325
  - lib/isodoc/iso/html_convert.rb
329
326
  - lib/isodoc/iso/i18n-en.yaml
@@ -345,20 +342,30 @@ files:
345
342
  - lib/isodoc/iso/xref.rb
346
343
  - lib/metanorma-iso.rb
347
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
348
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
349
367
  - lib/metanorma/iso/version.rb
350
368
  - metanorma-iso.gemspec
351
- - spec/asciidoctor/amd_spec.rb
352
- - spec/asciidoctor/base_spec.rb
353
- - spec/asciidoctor/blank_spec.rb
354
- - spec/asciidoctor/blocks_spec.rb
355
- - spec/asciidoctor/cleanup_spec.rb
356
- - spec/asciidoctor/inline_spec.rb
357
- - spec/asciidoctor/lists_spec.rb
358
- - spec/asciidoctor/refs_spec.rb
359
- - spec/asciidoctor/section_spec.rb
360
- - spec/asciidoctor/table_spec.rb
361
- - spec/asciidoctor/validate_spec.rb
362
369
  - spec/assets/header.html
363
370
  - spec/assets/html.css
364
371
  - spec/assets/htmlcover.html
@@ -400,15 +407,24 @@ files:
400
407
  - spec/isodoc/table_spec.rb
401
408
  - spec/isodoc/terms_spec.rb
402
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
403
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
404
422
  - spec/spec_helper.rb
405
- - spec/vcr_cassettes/docrels.yml
406
- - spec/vcr_cassettes/sortrefs.yml
407
423
  homepage: https://github.com/metanorma/metanorma-iso
408
424
  licenses:
409
425
  - BSD-2-Clause
410
426
  metadata: {}
411
- post_install_message:
427
+ post_install_message:
412
428
  rdoc_options: []
413
429
  require_paths:
414
430
  - lib
@@ -423,8 +439,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
423
439
  - !ruby/object:Gem::Version
424
440
  version: '0'
425
441
  requirements: []
426
- rubygems_version: 3.0.3
427
- signing_key:
442
+ rubygems_version: 3.2.32
443
+ signing_key:
428
444
  specification_version: 4
429
445
  summary: metanorma-iso lets you write ISO standards in AsciiDoc.
430
446
  test_files: []