metanorma-iso 2.0.8 → 2.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (57) hide show
  1. checksums.yaml +4 -4
  2. data/lib/html2doc/lists.rb +37 -0
  3. data/lib/isodoc/iso/base_convert.rb +1 -1
  4. data/lib/isodoc/iso/html/html_iso_titlepage.html +5 -0
  5. data/lib/isodoc/iso/html/isodoc-dis.css +304 -242
  6. data/lib/isodoc/iso/html/isodoc-dis.scss +379 -260
  7. data/lib/isodoc/iso/html/word_iso_intro-dis.html +7 -0
  8. data/lib/isodoc/iso/html/word_iso_titlepage-dis.html +4 -3
  9. data/lib/isodoc/iso/html/word_iso_titlepage.html +10 -4
  10. data/lib/isodoc/iso/html/wordstyle-dis.css +168 -48
  11. data/lib/isodoc/iso/html/wordstyle-dis.scss +158 -43
  12. data/lib/isodoc/iso/html_convert.rb +2 -2
  13. data/lib/isodoc/iso/i18n-en.yaml +1 -0
  14. data/lib/isodoc/iso/i18n-fr.yaml +1 -0
  15. data/lib/isodoc/iso/i18n-ru.yaml +1 -0
  16. data/lib/isodoc/iso/i18n-zh-Hans.yaml +1 -0
  17. data/lib/isodoc/iso/init.rb +17 -1
  18. data/lib/isodoc/iso/iso.amendment.xsl +1697 -426
  19. data/lib/isodoc/iso/iso.international-standard.xsl +1697 -426
  20. data/lib/isodoc/iso/metadata.rb +13 -19
  21. data/lib/isodoc/iso/presentation_inline.rb +90 -0
  22. data/lib/isodoc/iso/presentation_xml_convert.rb +41 -100
  23. data/lib/isodoc/iso/presentation_xref.rb +126 -0
  24. data/lib/isodoc/iso/sections.rb +2 -2
  25. data/lib/isodoc/iso/word_cleanup.rb +16 -2
  26. data/lib/isodoc/iso/word_convert.rb +29 -12
  27. data/lib/isodoc/iso/word_dis_convert.rb +183 -0
  28. data/lib/isodoc/iso/xref.rb +46 -25
  29. data/lib/metanorma/iso/biblio.rng +37 -8
  30. data/lib/metanorma/iso/boilerplate-fr.xml +1 -1
  31. data/lib/metanorma/iso/boilerplate-ru.xml +1 -3
  32. data/lib/metanorma/iso/boilerplate.xml +1 -3
  33. data/lib/metanorma/iso/cleanup.rb +2 -1
  34. data/lib/metanorma/iso/isodoc.rng +56 -0
  35. data/lib/metanorma/iso/version.rb +1 -1
  36. data/lib/metanorma-iso.rb +1 -0
  37. data/lib/relaton/render/config.yml +4 -0
  38. data/lib/relaton/render/general.rb +13 -0
  39. data/metanorma-iso.gemspec +1 -1
  40. data/spec/isodoc/amd_spec.rb +31 -30
  41. data/spec/isodoc/blocks_spec.rb +286 -179
  42. data/spec/isodoc/i18n_spec.rb +187 -21
  43. data/spec/isodoc/inline_spec.rb +35 -42
  44. data/spec/isodoc/iso_spec.rb +1 -1
  45. data/spec/isodoc/metadata_spec.rb +17 -17
  46. data/spec/isodoc/postproc_spec.rb +28 -3
  47. data/spec/isodoc/ref_spec.rb +66 -69
  48. data/spec/isodoc/section_spec.rb +78 -76
  49. data/spec/isodoc/table_spec.rb +2 -2
  50. data/spec/isodoc/terms_spec.rb +2 -2
  51. data/spec/isodoc/word_dis_spec.rb +760 -0
  52. data/spec/isodoc/xref_spec.rb +51 -51
  53. data/spec/metanorma/base_spec.rb +10 -10
  54. data/spec/spec_helper.rb +11 -1
  55. data/spec/vcr_cassettes/withdrawn_iso.yml +26 -26
  56. metadata +11 -5
  57. data/spec/vcr_cassettes/docrels.yml +0 -385
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: 2.0.8
4
+ version: 2.1.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: 2022-04-18 00:00:00.000000000 Z
11
+ date: 2022-05-16 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: 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: mnconvert
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -306,6 +306,7 @@ files:
306
306
  - lib/asciidoctor/iso/validate_section.rb
307
307
  - lib/asciidoctor/iso/validate_style.rb
308
308
  - lib/asciidoctor/iso/validate_title.rb
309
+ - lib/html2doc/lists.rb
309
310
  - lib/isodoc/iso/base_convert.rb
310
311
  - lib/isodoc/iso/html/header-dis.html
311
312
  - lib/isodoc/iso/html/header.html
@@ -342,11 +343,14 @@ files:
342
343
  - lib/isodoc/iso/isosts_convert.rb
343
344
  - lib/isodoc/iso/metadata.rb
344
345
  - lib/isodoc/iso/pdf_convert.rb
346
+ - lib/isodoc/iso/presentation_inline.rb
345
347
  - lib/isodoc/iso/presentation_xml_convert.rb
348
+ - lib/isodoc/iso/presentation_xref.rb
346
349
  - lib/isodoc/iso/sections.rb
347
350
  - lib/isodoc/iso/sts_convert.rb
348
351
  - lib/isodoc/iso/word_cleanup.rb
349
352
  - lib/isodoc/iso/word_convert.rb
353
+ - lib/isodoc/iso/word_dis_convert.rb
350
354
  - lib/isodoc/iso/xref.rb
351
355
  - lib/metanorma-iso.rb
352
356
  - lib/metanorma/iso.rb
@@ -375,6 +379,8 @@ files:
375
379
  - lib/metanorma/iso/validate_style.rb
376
380
  - lib/metanorma/iso/validate_title.rb
377
381
  - lib/metanorma/iso/version.rb
382
+ - lib/relaton/render/config.yml
383
+ - lib/relaton/render/general.rb
378
384
  - metanorma-iso.gemspec
379
385
  - spec/assets/header.html
380
386
  - spec/assets/html.css
@@ -416,6 +422,7 @@ files:
416
422
  - spec/isodoc/section_spec.rb
417
423
  - spec/isodoc/table_spec.rb
418
424
  - spec/isodoc/terms_spec.rb
425
+ - spec/isodoc/word_dis_spec.rb
419
426
  - spec/isodoc/xref_spec.rb
420
427
  - spec/metanorma/amd_spec.rb
421
428
  - spec/metanorma/base_spec.rb
@@ -430,7 +437,6 @@ files:
430
437
  - spec/metanorma/table_spec.rb
431
438
  - spec/metanorma/validate_spec.rb
432
439
  - spec/spec_helper.rb
433
- - spec/vcr_cassettes/docrels.yml
434
440
  - spec/vcr_cassettes/withdrawn_iso.yml
435
441
  homepage: https://github.com/metanorma/metanorma-iso
436
442
  licenses: