metanorma-iso 2.0.3 → 2.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (55) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -1
  3. data/lib/isodoc/iso/html/header.html +42 -33
  4. data/lib/isodoc/iso/html/html_iso_titlepage.html +1 -1
  5. data/lib/isodoc/iso/html/isodoc.css +9 -7
  6. data/lib/isodoc/iso/html/isodoc.scss +7 -5
  7. data/lib/isodoc/iso/html/style-human.css +0 -1
  8. data/lib/isodoc/iso/html/style-human.scss +0 -1
  9. data/lib/isodoc/iso/html/style-iso.css +0 -1
  10. data/lib/isodoc/iso/html/style-iso.scss +0 -1
  11. data/lib/isodoc/iso/html/word_iso_titlepage.html +12 -11
  12. data/lib/isodoc/iso/html/wordstyle.css +46 -19
  13. data/lib/isodoc/iso/html/wordstyle.scss +52 -25
  14. data/lib/isodoc/iso/i18n-en.yaml +29 -2
  15. data/lib/isodoc/iso/i18n-fr.yaml +27 -3
  16. data/lib/isodoc/iso/i18n-ru.yaml +45 -0
  17. data/lib/isodoc/iso/i18n-zh-Hans.yaml +27 -3
  18. data/lib/isodoc/iso/i18n.rb +1 -0
  19. data/lib/isodoc/iso/init.rb +1 -2
  20. data/lib/isodoc/iso/iso.amendment.xsl +1204 -615
  21. data/lib/isodoc/iso/iso.international-standard.xsl +1204 -615
  22. data/lib/isodoc/iso/metadata.rb +12 -2
  23. data/lib/isodoc/iso/presentation_xml_convert.rb +58 -21
  24. data/lib/metanorma/iso/boilerplate-fr.xml +6 -7
  25. data/lib/metanorma/iso/boilerplate-ru.xml +37 -0
  26. data/lib/metanorma/iso/boilerplate.xml +6 -7
  27. data/lib/metanorma/iso/cleanup.rb +48 -11
  28. data/lib/metanorma/iso/front.rb +1 -1
  29. data/lib/metanorma/iso/front_id.rb +2 -0
  30. data/lib/metanorma/iso/isodoc.rng +73 -3
  31. data/lib/metanorma/iso/processor.rb +14 -7
  32. data/lib/metanorma/iso/validate.rb +30 -2
  33. data/lib/metanorma/iso/validate_image.rb +3 -3
  34. data/lib/metanorma/iso/validate_list.rb +122 -0
  35. data/lib/metanorma/iso/validate_section.rb +39 -32
  36. data/lib/metanorma/iso/validate_style.rb +32 -2
  37. data/lib/metanorma/iso/validate_title.rb +13 -1
  38. data/lib/metanorma/iso/version.rb +1 -1
  39. data/metanorma-iso.gemspec +1 -1
  40. data/spec/isodoc/amd_spec.rb +10 -5
  41. data/spec/isodoc/i18n_spec.rb +350 -9
  42. data/spec/isodoc/inline_spec.rb +127 -10
  43. data/spec/isodoc/metadata_spec.rb +153 -3
  44. data/spec/isodoc/postproc_spec.rb +3 -4
  45. data/spec/isodoc/section_spec.rb +1 -0
  46. data/spec/isodoc/terms_spec.rb +4 -4
  47. data/spec/metanorma/base_spec.rb +434 -326
  48. data/spec/metanorma/cleanup_spec.rb +11 -11
  49. data/spec/metanorma/refs_spec.rb +273 -61
  50. data/spec/metanorma/section_spec.rb +18 -26
  51. data/spec/metanorma/validate_spec.rb +448 -17
  52. data/spec/spec_helper.rb +6 -4
  53. data/spec/vcr_cassettes/docrels.yml +393 -0
  54. data/spec/vcr_cassettes/withdrawn_iso.yml +301 -0
  55. metadata +10 -5
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.3
4
+ version: 2.0.6
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-02-07 00:00:00.000000000 Z
11
+ date: 2022-03-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: metanorma-standoc
@@ -240,14 +240,14 @@ dependencies:
240
240
  requirements:
241
241
  - - "~>"
242
242
  - !ruby/object:Gem::Version
243
- version: 5.0.0
243
+ version: 6.1.0
244
244
  type: :development
245
245
  prerelease: false
246
246
  version_requirements: !ruby/object:Gem::Requirement
247
247
  requirements:
248
248
  - - "~>"
249
249
  - !ruby/object:Gem::Version
250
- version: 5.0.0
250
+ version: 6.1.0
251
251
  - !ruby/object:Gem::Dependency
252
252
  name: webmock
253
253
  requirement: !ruby/object:Gem::Requirement
@@ -325,6 +325,7 @@ files:
325
325
  - lib/isodoc/iso/html_convert.rb
326
326
  - lib/isodoc/iso/i18n-en.yaml
327
327
  - lib/isodoc/iso/i18n-fr.yaml
328
+ - lib/isodoc/iso/i18n-ru.yaml
328
329
  - lib/isodoc/iso/i18n-zh-Hans.yaml
329
330
  - lib/isodoc/iso/i18n.rb
330
331
  - lib/isodoc/iso/index.rb
@@ -346,6 +347,7 @@ files:
346
347
  - lib/metanorma/iso/basicdoc.rng
347
348
  - lib/metanorma/iso/biblio.rng
348
349
  - lib/metanorma/iso/boilerplate-fr.xml
350
+ - lib/metanorma/iso/boilerplate-ru.xml
349
351
  - lib/metanorma/iso/boilerplate.xml
350
352
  - lib/metanorma/iso/cleanup.rb
351
353
  - lib/metanorma/iso/converter.rb
@@ -360,6 +362,7 @@ files:
360
362
  - lib/metanorma/iso/section.rb
361
363
  - lib/metanorma/iso/validate.rb
362
364
  - lib/metanorma/iso/validate_image.rb
365
+ - lib/metanorma/iso/validate_list.rb
363
366
  - lib/metanorma/iso/validate_requirements.rb
364
367
  - lib/metanorma/iso/validate_section.rb
365
368
  - lib/metanorma/iso/validate_style.rb
@@ -420,6 +423,8 @@ files:
420
423
  - spec/metanorma/table_spec.rb
421
424
  - spec/metanorma/validate_spec.rb
422
425
  - spec/spec_helper.rb
426
+ - spec/vcr_cassettes/docrels.yml
427
+ - spec/vcr_cassettes/withdrawn_iso.yml
423
428
  homepage: https://github.com/metanorma/metanorma-iso
424
429
  licenses:
425
430
  - BSD-2-Clause
@@ -439,7 +444,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
439
444
  - !ruby/object:Gem::Version
440
445
  version: '0'
441
446
  requirements: []
442
- rubygems_version: 3.2.32
447
+ rubygems_version: 3.3.9
443
448
  signing_key:
444
449
  specification_version: 4
445
450
  summary: metanorma-iso lets you write ISO standards in AsciiDoc.