metanorma-iso 1.10.2 → 1.10.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (54) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/rake.yml +3 -33
  3. data/.github/workflows/ubuntu.yml +1 -1
  4. data/Gemfile +1 -1
  5. data/lib/asciidoctor/iso/base.rb +1 -1
  6. data/lib/asciidoctor/iso/basicdoc.rng +1 -11
  7. data/lib/asciidoctor/iso/biblio.rng +0 -2
  8. data/lib/asciidoctor/iso/front.rb +17 -4
  9. data/lib/asciidoctor/iso/front_id.rb +20 -17
  10. data/lib/asciidoctor/iso/isodoc.rng +61 -19
  11. data/lib/asciidoctor/iso/isostandard-amd.rng +1 -1
  12. data/lib/asciidoctor/iso/isostandard.rng +15 -3
  13. data/lib/asciidoctor/iso/reqt.rng +1 -1
  14. data/lib/asciidoctor/iso/section.rb +1 -1
  15. data/lib/asciidoctor/iso/validate.rb +1 -1
  16. data/lib/asciidoctor/iso/validate_image.rb +1 -1
  17. data/lib/asciidoctor/iso/validate_section.rb +1 -1
  18. data/lib/isodoc/iso/base_convert.rb +14 -31
  19. data/lib/isodoc/iso/html/isodoc.scss +0 -1
  20. data/lib/isodoc/iso/html/style-human.scss +36 -9
  21. data/lib/isodoc/iso/html/style-iso.scss +31 -6
  22. data/lib/isodoc/iso/html/wordstyle.scss +10 -8
  23. data/lib/isodoc/iso/html_convert.rb +81 -22
  24. data/lib/isodoc/iso/index.rb +53 -45
  25. data/lib/isodoc/iso/iso.amendment.xsl +406 -122
  26. data/lib/isodoc/iso/iso.international-standard.xsl +406 -122
  27. data/lib/isodoc/iso/isosts_convert.rb +6 -2
  28. data/lib/isodoc/iso/metadata.rb +27 -22
  29. data/lib/isodoc/iso/presentation_xml_convert.rb +60 -25
  30. data/lib/isodoc/iso/sts_convert.rb +3 -2
  31. data/lib/isodoc/iso/word_convert.rb +0 -2
  32. data/lib/metanorma/iso/processor.rb +2 -2
  33. data/lib/metanorma/iso/version.rb +1 -1
  34. data/metanorma-iso.gemspec +3 -3
  35. data/spec/asciidoctor/base_spec.rb +398 -546
  36. data/spec/asciidoctor/blocks_spec.rb +4 -4
  37. data/spec/asciidoctor/cleanup_spec.rb +15 -12
  38. data/spec/asciidoctor/refs_spec.rb +87 -84
  39. data/spec/isodoc/amd_spec.rb +261 -250
  40. data/spec/isodoc/i18n_spec.rb +7 -7
  41. data/spec/isodoc/inline_spec.rb +242 -216
  42. data/spec/isodoc/iso_spec.rb +3 -1
  43. data/spec/isodoc/postproc_spec.rb +111 -28
  44. data/spec/isodoc/section_spec.rb +4 -4
  45. data/spec/isodoc/terms_spec.rb +34 -41
  46. data/spec/isodoc/xref_spec.rb +3 -3
  47. data/spec/metanorma/processor_spec.rb +110 -14
  48. data/spec/vcr_cassettes/docrels.yml +37 -427
  49. metadata +11 -16
  50. data/lib/isodoc/iso/html/htmlstyle.css +0 -47
  51. data/lib/isodoc/iso/html/isodoc.css +0 -1328
  52. data/lib/isodoc/iso/html/style-human.css +0 -979
  53. data/lib/isodoc/iso/html/style-iso.css +0 -1007
  54. data/lib/isodoc/iso/html/wordstyle.css +0 -1699
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.2
4
+ version: 1.10.6
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: 2021-11-15 00:00:00.000000000 Z
11
+ date: 2022-01-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: metanorma-standoc
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 1.8.0
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: 1.8.0
40
+ version: '1.14'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: ruby-jing
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -81,7 +81,7 @@ dependencies:
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  - !ruby/object:Gem::Dependency
84
- name: byebug
84
+ name: debug
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - ">="
@@ -142,14 +142,14 @@ dependencies:
142
142
  requirements:
143
143
  - - "~>"
144
144
  - !ruby/object:Gem::Version
145
- version: 0.2.0
145
+ version: 0.3.0
146
146
  type: :development
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
150
  - - "~>"
151
151
  - !ruby/object:Gem::Version
152
- version: 0.2.0
152
+ version: 0.3.0
153
153
  - !ruby/object:Gem::Dependency
154
154
  name: rake
155
155
  requirement: !ruby/object:Gem::Requirement
@@ -318,17 +318,12 @@ files:
318
318
  - lib/isodoc/iso/html/header.html
319
319
  - lib/isodoc/iso/html/html_iso_intro.html
320
320
  - lib/isodoc/iso/html/html_iso_titlepage.html
321
- - lib/isodoc/iso/html/htmlstyle.css
322
321
  - lib/isodoc/iso/html/htmlstyle.scss
323
- - lib/isodoc/iso/html/isodoc.css
324
322
  - lib/isodoc/iso/html/isodoc.scss
325
- - lib/isodoc/iso/html/style-human.css
326
323
  - lib/isodoc/iso/html/style-human.scss
327
- - lib/isodoc/iso/html/style-iso.css
328
324
  - lib/isodoc/iso/html/style-iso.scss
329
325
  - lib/isodoc/iso/html/word_iso_intro.html
330
326
  - lib/isodoc/iso/html/word_iso_titlepage.html
331
- - lib/isodoc/iso/html/wordstyle.css
332
327
  - lib/isodoc/iso/html/wordstyle.scss
333
328
  - lib/isodoc/iso/html_convert.rb
334
329
  - lib/isodoc/iso/i18n-en.yaml
@@ -413,7 +408,7 @@ homepage: https://github.com/metanorma/metanorma-iso
413
408
  licenses:
414
409
  - BSD-2-Clause
415
410
  metadata: {}
416
- post_install_message:
411
+ post_install_message:
417
412
  rdoc_options: []
418
413
  require_paths:
419
414
  - lib
@@ -428,8 +423,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
428
423
  - !ruby/object:Gem::Version
429
424
  version: '0'
430
425
  requirements: []
431
- rubygems_version: 3.2.22
432
- signing_key:
426
+ rubygems_version: 3.0.3
427
+ signing_key:
433
428
  specification_version: 4
434
429
  summary: metanorma-iso lets you write ISO standards in AsciiDoc.
435
430
  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; }