metanorma-iso 2.1.7 → 2.1.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (59) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/rake.yml +3 -1
  3. data/.github/workflows/release.yml +24 -0
  4. data/lib/isodoc/iso/html/html_iso_titlepage.html +2 -2
  5. data/lib/isodoc/iso/html/style-human.scss +35 -1
  6. data/lib/isodoc/iso/html/style-iso.scss +36 -1
  7. data/lib/isodoc/iso/i18n-en.yaml +4 -0
  8. data/lib/isodoc/iso/i18n-fr.yaml +5 -0
  9. data/lib/isodoc/iso/i18n-ru.yaml +4 -0
  10. data/lib/isodoc/iso/i18n-zh-Hans.yaml +5 -0
  11. data/lib/isodoc/iso/init.rb +4 -0
  12. data/lib/isodoc/iso/iso.amendment.xsl +126 -162
  13. data/lib/isodoc/iso/iso.international-standard.xsl +126 -162
  14. data/lib/isodoc/iso/presentation_xml_convert.rb +18 -0
  15. data/lib/isodoc/iso/xref.rb +35 -4
  16. data/lib/metanorma/iso/base.rb +4 -0
  17. data/lib/metanorma/iso/biblio.rng +8 -5
  18. data/lib/metanorma/iso/cleanup.rb +5 -0
  19. data/lib/metanorma/iso/front_id.rb +59 -25
  20. data/lib/metanorma/iso/section.rb +5 -0
  21. data/lib/metanorma/iso/validate.rb +3 -2
  22. data/lib/metanorma/iso/version.rb +1 -1
  23. data/lib/metanorma/requirements/modspec.rb +60 -0
  24. data/lib/metanorma/requirements/requirements.rb +16 -0
  25. data/lib/metanorma-iso.rb +2 -1
  26. data/metanorma-iso.gemspec +1 -1
  27. data/spec/assets/iso.adoc +10 -0
  28. data/spec/examples/rice_img/1000-1_ed2amd3fig1a.png +0 -0
  29. data/spec/examples/rice_img/1000-1_ed2amd3fig1b.png +0 -0
  30. data/spec/examples/rice_img/1000-1_ed2amd3fig2.png +0 -0
  31. data/spec/examples/rice_img/1000-1_ed2amd3fig3.png +0 -0
  32. data/spec/examples/rice_img/1000-1_ed2amd3fig4.png +0 -0
  33. data/spec/examples/rice_img/1000-1_ed2amd3fig5_f.png +0 -0
  34. data/spec/examples/rice_img/1000-1_ed2amd3figA.png +0 -0
  35. data/spec/examples/rice_img/1000-1_ed2amd3figA1.png +0 -0
  36. data/spec/examples/rice_img/1000-1_ed2amd3figA2.png +0 -0
  37. data/spec/examples/rice_img/1000-1_ed2amd3figTab1.png +0 -0
  38. data/spec/examples/rice_img/1000-1_ed2amd3figTab2.png +0 -0
  39. data/spec/examples/rice_img/1001_ed2amd3fig1.png +0 -0
  40. data/spec/examples/rice_img/ISO_1213_1.png +0 -0
  41. data/spec/examples/rice_img/SL1000-1_ed2amd3fig1.png +0 -0
  42. data/spec/isodoc/ref_spec.rb +9 -9
  43. data/spec/metanorma/amd_spec.rb +0 -10
  44. data/spec/metanorma/base_spec.rb +0 -10
  45. data/spec/metanorma/cleanup_spec.rb +136 -0
  46. data/spec/metanorma/macros_spec.rb +99 -0
  47. data/spec/metanorma/processor_spec.rb +86 -86
  48. data/spec/metanorma/validate_spec.rb +41 -40
  49. data/spec/requirements/requirements_spec.rb +1299 -0
  50. data/spec/requirements/xref_spec.rb +1205 -0
  51. data/spec/vcr_cassettes/docrels.yml +385 -0
  52. metadata +40 -25
  53. data/lib/isodoc/iso/html/htmlstyle.css +0 -47
  54. data/lib/isodoc/iso/html/isodoc-dis.css +0 -4493
  55. data/lib/isodoc/iso/html/isodoc.css +0 -1346
  56. data/lib/isodoc/iso/html/style-human.css +0 -1030
  57. data/lib/isodoc/iso/html/style-iso.css +0 -1056
  58. data/lib/isodoc/iso/html/wordstyle-dis.css +0 -2280
  59. data/lib/isodoc/iso/html/wordstyle.css +0 -1728
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.1.7
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-08-23 00:00:00.000000000 Z
11
+ date: 2022-09-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: metanorma-standoc
@@ -39,7 +39,7 @@ dependencies:
39
39
  - !ruby/object:Gem::Version
40
40
  version: '1.14'
41
41
  - !ruby/object:Gem::Dependency
42
- name: ruby-jing
42
+ name: pubid-iso
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - ">="
@@ -53,35 +53,35 @@ dependencies:
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
- name: tokenizer
56
+ name: ruby-jing
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - "~>"
59
+ - - ">="
60
60
  - !ruby/object:Gem::Version
61
- version: 0.3.0
61
+ version: '0'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - "~>"
66
+ - - ">="
67
67
  - !ruby/object:Gem::Version
68
- version: 0.3.0
68
+ version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
- name: twitter_cldr
70
+ name: tokenizer
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ">="
73
+ - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '0'
75
+ version: 0.3.0
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ">="
80
+ - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '0'
82
+ version: 0.3.0
83
83
  - !ruby/object:Gem::Dependency
84
- name: pubid-iso
84
+ name: twitter_cldr
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - ">="
@@ -290,6 +290,7 @@ extra_rdoc_files: []
290
290
  files:
291
291
  - ".gitattributes"
292
292
  - ".github/workflows/rake.yml"
293
+ - ".github/workflows/release.yml"
293
294
  - ".github/workflows/ubuntu.yml"
294
295
  - ".gitignore"
295
296
  - ".hound.yml"
@@ -322,24 +323,17 @@ files:
322
323
  - lib/isodoc/iso/html/header.html
323
324
  - lib/isodoc/iso/html/html_iso_intro.html
324
325
  - lib/isodoc/iso/html/html_iso_titlepage.html
325
- - lib/isodoc/iso/html/htmlstyle.css
326
326
  - lib/isodoc/iso/html/htmlstyle.scss
327
- - lib/isodoc/iso/html/isodoc-dis.css
328
327
  - lib/isodoc/iso/html/isodoc-dis.scss
329
- - lib/isodoc/iso/html/isodoc.css
330
328
  - lib/isodoc/iso/html/isodoc.scss
331
- - lib/isodoc/iso/html/style-human.css
332
329
  - lib/isodoc/iso/html/style-human.scss
333
- - lib/isodoc/iso/html/style-iso.css
334
330
  - lib/isodoc/iso/html/style-iso.scss
335
331
  - lib/isodoc/iso/html/word_iso_intro-dis.html
336
332
  - lib/isodoc/iso/html/word_iso_intro.html
337
333
  - lib/isodoc/iso/html/word_iso_titlepage-dis.html
338
334
  - lib/isodoc/iso/html/word_iso_titlepage-prf.html
339
335
  - lib/isodoc/iso/html/word_iso_titlepage.html
340
- - lib/isodoc/iso/html/wordstyle-dis.css
341
336
  - lib/isodoc/iso/html/wordstyle-dis.scss
342
- - lib/isodoc/iso/html/wordstyle.css
343
337
  - lib/isodoc/iso/html/wordstyle.scss
344
338
  - lib/isodoc/iso/html_convert.rb
345
339
  - lib/isodoc/iso/i18n-en.yaml
@@ -391,6 +385,8 @@ files:
391
385
  - lib/metanorma/iso/validate_style.rb
392
386
  - lib/metanorma/iso/validate_title.rb
393
387
  - lib/metanorma/iso/version.rb
388
+ - lib/metanorma/requirements/modspec.rb
389
+ - lib/metanorma/requirements/requirements.rb
394
390
  - lib/relaton/render/config.yml
395
391
  - lib/relaton/render/general.rb
396
392
  - metanorma-iso.gemspec
@@ -399,6 +395,7 @@ files:
399
395
  - spec/assets/htmlcover.html
400
396
  - spec/assets/htmlintro.html
401
397
  - spec/assets/i18n.yaml
398
+ - spec/assets/iso.adoc
402
399
  - spec/assets/iso.headless.html
403
400
  - spec/assets/iso.xml
404
401
  - spec/assets/rice_image1.png
@@ -418,6 +415,20 @@ files:
418
415
  - spec/examples/rice.adoc
419
416
  - spec/examples/rice.preview.html
420
417
  - spec/examples/rice.sh
418
+ - spec/examples/rice_img/1000-1_ed2amd3fig1a.png
419
+ - spec/examples/rice_img/1000-1_ed2amd3fig1b.png
420
+ - spec/examples/rice_img/1000-1_ed2amd3fig2.png
421
+ - spec/examples/rice_img/1000-1_ed2amd3fig3.png
422
+ - spec/examples/rice_img/1000-1_ed2amd3fig4.png
423
+ - spec/examples/rice_img/1000-1_ed2amd3fig5_f.png
424
+ - spec/examples/rice_img/1000-1_ed2amd3figA.png
425
+ - spec/examples/rice_img/1000-1_ed2amd3figA1.png
426
+ - spec/examples/rice_img/1000-1_ed2amd3figA2.png
427
+ - spec/examples/rice_img/1000-1_ed2amd3figTab1.png
428
+ - spec/examples/rice_img/1000-1_ed2amd3figTab2.png
429
+ - spec/examples/rice_img/1001_ed2amd3fig1.png
430
+ - spec/examples/rice_img/ISO_1213_1.png
431
+ - spec/examples/rice_img/SL1000-1_ed2amd3fig1.png
421
432
  - spec/examples/rice_img/rice_image1.png
422
433
  - spec/examples/rice_img/rice_image2.png
423
434
  - spec/examples/rice_img/rice_image3_1.png
@@ -443,18 +454,22 @@ files:
443
454
  - spec/metanorma/cleanup_spec.rb
444
455
  - spec/metanorma/inline_spec.rb
445
456
  - spec/metanorma/lists_spec.rb
457
+ - spec/metanorma/macros_spec.rb
446
458
  - spec/metanorma/processor_spec.rb
447
459
  - spec/metanorma/refs_spec.rb
448
460
  - spec/metanorma/section_spec.rb
449
461
  - spec/metanorma/table_spec.rb
450
462
  - spec/metanorma/validate_spec.rb
463
+ - spec/requirements/requirements_spec.rb
464
+ - spec/requirements/xref_spec.rb
451
465
  - spec/spec_helper.rb
466
+ - spec/vcr_cassettes/docrels.yml
452
467
  - spec/vcr_cassettes/withdrawn_iso.yml
453
468
  homepage: https://github.com/metanorma/metanorma-iso
454
469
  licenses:
455
470
  - BSD-2-Clause
456
471
  metadata: {}
457
- post_install_message:
472
+ post_install_message:
458
473
  rdoc_options: []
459
474
  require_paths:
460
475
  - lib
@@ -469,8 +484,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
469
484
  - !ruby/object:Gem::Version
470
485
  version: '0'
471
486
  requirements: []
472
- rubygems_version: 3.3.16
473
- signing_key:
487
+ rubygems_version: 3.1.6
488
+ signing_key:
474
489
  specification_version: 4
475
490
  summary: metanorma-iso lets you write ISO standards in AsciiDoc.
476
491
  test_files: []
@@ -1,47 +0,0 @@
1
- p.MsoCommentText, li.MsoCommentText, div.MsoCommentText {
2
- mso-style-noshow: yes;
3
- mso-style-priority: 99;
4
- mso-style-link: "Comment Text Char";
5
- margin-top: 0cm;
6
- margin-right: 0cm;
7
- margin-bottom: 12.0pt;
8
- margin-left: 0cm;
9
- text-align: justify;
10
- line-height: 12.0pt;
11
- mso-pagination: widow-orphan;
12
- tab-stops: 20.15pt;
13
- font-size: {{normalfontsize}};
14
- font-family: {{bodyfont}};
15
- mso-fareast-font-family: Calibri;
16
- mso-bidi-font-family: "Times New Roman";
17
- mso-ansi-language: EN-GB;
18
- mso-fareast-language: EN-US; }
19
-
20
- span.MsoCommentReference {
21
- mso-style-noshow: yes;
22
- mso-style-priority: 99;
23
- mso-style-parent: "";
24
- mso-ansi-font-size: 9.0pt;
25
- mso-bidi-font-size: 9.0pt; }
26
-
27
- p.MsoCommentSubject, li.MsoCommentSubject, div.MsoCommentSubject {
28
- mso-style-noshow: yes;
29
- mso-style-priority: 99;
30
- mso-style-parent: "Comment Text";
31
- mso-style-link: "Comment Subject Char";
32
- mso-style-next: "Comment Text";
33
- margin-top: 0cm;
34
- margin-right: 0cm;
35
- margin-bottom: 12.0pt;
36
- margin-left: 0cm;
37
- text-align: justify;
38
- line-height: 12.0pt;
39
- mso-pagination: widow-orphan;
40
- tab-stops: 20.15pt;
41
- font-size: 10.0pt;
42
- font-family: {{headerfont}};
43
- mso-fareast-font-family: Calibri;
44
- mso-bidi-font-family: "Times New Roman";
45
- mso-ansi-language: EN-GB;
46
- mso-fareast-language: EN-US;
47
- font-weight: bold; }