metanorma-iso 1.9.5 → 1.10.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/ubuntu.yml +41 -0
  3. data/Gemfile +3 -4
  4. data/Makefile +44 -0
  5. data/Rakefile +1 -1
  6. data/bin/rspec +1 -2
  7. data/lib/asciidoctor/iso/basicdoc.rng +32 -5
  8. data/lib/asciidoctor/iso/biblio.rng +2 -0
  9. data/lib/asciidoctor/iso/cleanup.rb +7 -6
  10. data/lib/asciidoctor/iso/front.rb +9 -1
  11. data/lib/asciidoctor/iso/isodoc.rng +421 -76
  12. data/lib/asciidoctor/iso/isostandard-amd.rng +1 -1
  13. data/lib/asciidoctor/iso/isostandard.rng +9 -23
  14. data/lib/asciidoctor/iso/reqt.rng +24 -3
  15. data/lib/asciidoctor/iso/validate.rb +7 -7
  16. data/lib/asciidoctor/iso/validate_section.rb +1 -1
  17. data/lib/isodoc/iso/html/isodoc.css +1 -2
  18. data/lib/isodoc/iso/html/isodoc.scss +1 -1
  19. data/lib/isodoc/iso/html/wordstyle.css +16 -4
  20. data/lib/isodoc/iso/html/wordstyle.scss +16 -4
  21. data/lib/isodoc/iso/i18n.rb +10 -9
  22. data/lib/isodoc/iso/iso.amendment.xsl +50 -13
  23. data/lib/isodoc/iso/iso.international-standard.xsl +50 -13
  24. data/lib/isodoc/iso/sections.rb +2 -0
  25. data/lib/isodoc/iso/word_cleanup.rb +94 -0
  26. data/lib/isodoc/iso/word_convert.rb +12 -89
  27. data/lib/metanorma/iso/version.rb +1 -1
  28. data/metanorma-iso.gemspec +4 -3
  29. data/spec/asciidoctor/base_spec.rb +685 -124
  30. data/spec/asciidoctor/blocks_spec.rb +22 -47
  31. data/spec/asciidoctor/cleanup_spec.rb +34 -20
  32. data/spec/asciidoctor/inline_spec.rb +10 -2
  33. data/spec/asciidoctor/refs_spec.rb +87 -4
  34. data/spec/asciidoctor/section_spec.rb +3 -3
  35. data/spec/isodoc/i18n_spec.rb +29 -15
  36. data/spec/isodoc/inline_spec.rb +2 -2
  37. data/spec/isodoc/section_spec.rb +1 -1
  38. data/spec/isodoc/table_spec.rb +6 -8
  39. data/spec/isodoc/terms_spec.rb +11 -11
  40. data/spec/isodoc/xref_spec.rb +1397 -1376
  41. data/spec/metanorma/processor_spec.rb +4 -1
  42. data/spec/spec_helper.rb +14 -1
  43. data/spec/vcr_cassettes/docrels.yml +783 -0
  44. data/spec/vcr_cassettes/sortrefs.yml +599 -0
  45. metadata +37 -19
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
11
11
  spec.email = ["open.source@ribose.com"]
12
12
 
13
13
  spec.summary = "metanorma-iso lets you write ISO standards "\
14
- "in AsciiDoc."
14
+ "in AsciiDoc."
15
15
  spec.description = <<~DESCRIPTION
16
16
  metanorma-iso lets you write ISO standards in AsciiDoc syntax.
17
17
 
@@ -29,8 +29,7 @@ Gem::Specification.new do |spec|
29
29
  spec.test_files = `git ls-files -- {spec}/*`.split("\n")
30
30
  spec.required_ruby_version = Gem::Requirement.new(">= 2.5.0")
31
31
 
32
- spec.add_dependency "isodoc", "~> 1.7.0"
33
- spec.add_dependency "metanorma-standoc", "~> 1.10.0"
32
+ spec.add_dependency "metanorma-standoc", "~> 1.11.0"
34
33
  spec.add_dependency "mnconvert", "~> 1.8.0"
35
34
  spec.add_dependency "ruby-jing"
36
35
  spec.add_dependency "tokenizer", "~> 0.3.0"
@@ -47,4 +46,6 @@ Gem::Specification.new do |spec|
47
46
  spec.add_development_dependency "sassc", "2.4.0"
48
47
  spec.add_development_dependency "simplecov", "~> 0.15"
49
48
  spec.add_development_dependency "timecop", "~> 0.9"
49
+ spec.add_development_dependency "vcr", "~> 5.0.0"
50
+ spec.add_development_dependency "webmock"
50
51
  end