metanorma-iso 2.1.6 → 2.1.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (56) 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.css +34 -2
  6. data/lib/isodoc/iso/html/style-human.scss +35 -1
  7. data/lib/isodoc/iso/html/style-iso.css +34 -2
  8. data/lib/isodoc/iso/html/style-iso.scss +36 -1
  9. data/lib/isodoc/iso/i18n-en.yaml +4 -0
  10. data/lib/isodoc/iso/i18n-fr.yaml +5 -0
  11. data/lib/isodoc/iso/i18n-ru.yaml +4 -0
  12. data/lib/isodoc/iso/i18n-zh-Hans.yaml +5 -0
  13. data/lib/isodoc/iso/init.rb +4 -0
  14. data/lib/isodoc/iso/iso.amendment.xsl +195 -197
  15. data/lib/isodoc/iso/iso.international-standard.xsl +195 -197
  16. data/lib/isodoc/iso/presentation_xml_convert.rb +22 -6
  17. data/lib/isodoc/iso/xref.rb +35 -4
  18. data/lib/metanorma/iso/base.rb +4 -0
  19. data/lib/metanorma/iso/biblio.rng +8 -5
  20. data/lib/metanorma/iso/cleanup.rb +5 -1
  21. data/lib/metanorma/iso/front_id.rb +63 -38
  22. data/lib/metanorma/iso/section.rb +5 -0
  23. data/lib/metanorma/iso/validate.rb +3 -2
  24. data/lib/metanorma/iso/version.rb +1 -1
  25. data/lib/metanorma/requirements/modspec.rb +60 -0
  26. data/lib/metanorma/requirements/requirements.rb +16 -0
  27. data/lib/metanorma-iso.rb +2 -1
  28. data/metanorma-iso.gemspec +1 -1
  29. data/spec/assets/iso.adoc +10 -0
  30. data/spec/examples/rice_img/1000-1_ed2amd3fig1a.png +0 -0
  31. data/spec/examples/rice_img/1000-1_ed2amd3fig1b.png +0 -0
  32. data/spec/examples/rice_img/1000-1_ed2amd3fig2.png +0 -0
  33. data/spec/examples/rice_img/1000-1_ed2amd3fig3.png +0 -0
  34. data/spec/examples/rice_img/1000-1_ed2amd3fig4.png +0 -0
  35. data/spec/examples/rice_img/1000-1_ed2amd3fig5_f.png +0 -0
  36. data/spec/examples/rice_img/1000-1_ed2amd3figA.png +0 -0
  37. data/spec/examples/rice_img/1000-1_ed2amd3figA1.png +0 -0
  38. data/spec/examples/rice_img/1000-1_ed2amd3figA2.png +0 -0
  39. data/spec/examples/rice_img/1000-1_ed2amd3figTab1.png +0 -0
  40. data/spec/examples/rice_img/1000-1_ed2amd3figTab2.png +0 -0
  41. data/spec/examples/rice_img/1001_ed2amd3fig1.png +0 -0
  42. data/spec/examples/rice_img/ISO_1213_1.png +0 -0
  43. data/spec/examples/rice_img/SL1000-1_ed2amd3fig1.png +0 -0
  44. data/spec/isodoc/ref_spec.rb +129 -82
  45. data/spec/metanorma/amd_spec.rb +0 -10
  46. data/spec/metanorma/base_spec.rb +15 -12
  47. data/spec/metanorma/cleanup_spec.rb +136 -0
  48. data/spec/metanorma/macros_spec.rb +99 -0
  49. data/spec/metanorma/processor_spec.rb +86 -86
  50. data/spec/metanorma/section_spec.rb +2 -2
  51. data/spec/metanorma/validate_spec.rb +41 -40
  52. data/spec/requirements/requirements_spec.rb +1299 -0
  53. data/spec/requirements/xref_spec.rb +1205 -0
  54. data/spec/vcr_cassettes/docrels.yml +385 -0
  55. data/spec/vcr_cassettes/withdrawn_iso.yml +21 -21
  56. metadata +40 -18
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.6
4
+ version: 2.1.9
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-08 00:00:00.000000000 Z
11
+ date: 2022-09-07 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"
@@ -391,6 +392,8 @@ files:
391
392
  - lib/metanorma/iso/validate_style.rb
392
393
  - lib/metanorma/iso/validate_title.rb
393
394
  - lib/metanorma/iso/version.rb
395
+ - lib/metanorma/requirements/modspec.rb
396
+ - lib/metanorma/requirements/requirements.rb
394
397
  - lib/relaton/render/config.yml
395
398
  - lib/relaton/render/general.rb
396
399
  - metanorma-iso.gemspec
@@ -399,6 +402,7 @@ files:
399
402
  - spec/assets/htmlcover.html
400
403
  - spec/assets/htmlintro.html
401
404
  - spec/assets/i18n.yaml
405
+ - spec/assets/iso.adoc
402
406
  - spec/assets/iso.headless.html
403
407
  - spec/assets/iso.xml
404
408
  - spec/assets/rice_image1.png
@@ -418,6 +422,20 @@ files:
418
422
  - spec/examples/rice.adoc
419
423
  - spec/examples/rice.preview.html
420
424
  - spec/examples/rice.sh
425
+ - spec/examples/rice_img/1000-1_ed2amd3fig1a.png
426
+ - spec/examples/rice_img/1000-1_ed2amd3fig1b.png
427
+ - spec/examples/rice_img/1000-1_ed2amd3fig2.png
428
+ - spec/examples/rice_img/1000-1_ed2amd3fig3.png
429
+ - spec/examples/rice_img/1000-1_ed2amd3fig4.png
430
+ - spec/examples/rice_img/1000-1_ed2amd3fig5_f.png
431
+ - spec/examples/rice_img/1000-1_ed2amd3figA.png
432
+ - spec/examples/rice_img/1000-1_ed2amd3figA1.png
433
+ - spec/examples/rice_img/1000-1_ed2amd3figA2.png
434
+ - spec/examples/rice_img/1000-1_ed2amd3figTab1.png
435
+ - spec/examples/rice_img/1000-1_ed2amd3figTab2.png
436
+ - spec/examples/rice_img/1001_ed2amd3fig1.png
437
+ - spec/examples/rice_img/ISO_1213_1.png
438
+ - spec/examples/rice_img/SL1000-1_ed2amd3fig1.png
421
439
  - spec/examples/rice_img/rice_image1.png
422
440
  - spec/examples/rice_img/rice_image2.png
423
441
  - spec/examples/rice_img/rice_image3_1.png
@@ -443,18 +461,22 @@ files:
443
461
  - spec/metanorma/cleanup_spec.rb
444
462
  - spec/metanorma/inline_spec.rb
445
463
  - spec/metanorma/lists_spec.rb
464
+ - spec/metanorma/macros_spec.rb
446
465
  - spec/metanorma/processor_spec.rb
447
466
  - spec/metanorma/refs_spec.rb
448
467
  - spec/metanorma/section_spec.rb
449
468
  - spec/metanorma/table_spec.rb
450
469
  - spec/metanorma/validate_spec.rb
470
+ - spec/requirements/requirements_spec.rb
471
+ - spec/requirements/xref_spec.rb
451
472
  - spec/spec_helper.rb
473
+ - spec/vcr_cassettes/docrels.yml
452
474
  - spec/vcr_cassettes/withdrawn_iso.yml
453
475
  homepage: https://github.com/metanorma/metanorma-iso
454
476
  licenses:
455
477
  - BSD-2-Clause
456
478
  metadata: {}
457
- post_install_message:
479
+ post_install_message:
458
480
  rdoc_options: []
459
481
  require_paths:
460
482
  - lib
@@ -469,8 +491,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
469
491
  - !ruby/object:Gem::Version
470
492
  version: '0'
471
493
  requirements: []
472
- rubygems_version: 3.3.16
473
- signing_key:
494
+ rubygems_version: 3.1.6
495
+ signing_key:
474
496
  specification_version: 4
475
497
  summary: metanorma-iso lets you write ISO standards in AsciiDoc.
476
498
  test_files: []