metanorma-iso 1.10.0 → 1.10.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ubuntu.yml +41 -0
- data/Gemfile +3 -4
- data/Makefile +44 -0
- data/Rakefile +1 -1
- data/bin/rspec +1 -2
- data/lib/asciidoctor/iso/base.rb +1 -1
- data/lib/asciidoctor/iso/cleanup.rb +7 -6
- data/lib/asciidoctor/iso/front.rb +2 -2
- data/lib/asciidoctor/iso/isodoc.rng +68 -18
- data/lib/asciidoctor/iso/isostandard.rng +14 -0
- data/lib/asciidoctor/iso/section.rb +1 -1
- data/lib/asciidoctor/iso/validate.rb +1 -1
- data/lib/asciidoctor/iso/validate_section.rb +1 -1
- data/lib/isodoc/iso/html/isodoc.css +0 -1
- data/lib/isodoc/iso/html/isodoc.scss +0 -1
- data/lib/isodoc/iso/html/style-human.css +21 -1
- data/lib/isodoc/iso/html/style-human.scss +26 -1
- data/lib/isodoc/iso/html/style-iso.css +21 -1
- data/lib/isodoc/iso/html/style-iso.scss +26 -1
- data/lib/isodoc/iso/html_convert.rb +81 -22
- data/lib/isodoc/iso/i18n.rb +10 -9
- data/lib/isodoc/iso/iso.amendment.xsl +304 -118
- data/lib/isodoc/iso/iso.international-standard.xsl +304 -118
- data/lib/isodoc/iso/isosts_convert.rb +6 -2
- data/lib/isodoc/iso/presentation_xml_convert.rb +19 -9
- data/lib/isodoc/iso/sections.rb +2 -0
- data/lib/isodoc/iso/sts_convert.rb +5 -2
- data/lib/isodoc/iso/word_cleanup.rb +94 -0
- data/lib/isodoc/iso/word_convert.rb +12 -91
- data/lib/metanorma/iso/processor.rb +2 -2
- data/lib/metanorma/iso/version.rb +1 -1
- data/metanorma-iso.gemspec +3 -3
- data/spec/asciidoctor/base_spec.rb +543 -209
- data/spec/asciidoctor/blocks_spec.rb +4 -43
- data/spec/asciidoctor/cleanup_spec.rb +15 -12
- data/spec/asciidoctor/refs_spec.rb +174 -88
- data/spec/isodoc/i18n_spec.rb +32 -18
- data/spec/isodoc/inline_spec.rb +4 -4
- data/spec/isodoc/postproc_spec.rb +111 -28
- data/spec/isodoc/section_spec.rb +3 -3
- data/spec/isodoc/table_spec.rb +6 -8
- data/spec/isodoc/terms_spec.rb +30 -37
- data/spec/isodoc/xref_spec.rb +3 -3
- data/spec/metanorma/processor_spec.rb +110 -14
- data/spec/vcr_cassettes/docrels.yml +783 -0
- data/spec/vcr_cassettes/sortrefs.yml +599 -0
- metadata +12 -8
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.
|
4
|
+
version: 1.10.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-12-13 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:
|
33
|
+
version: '2.0'
|
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:
|
40
|
+
version: '2.0'
|
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:
|
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.
|
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.
|
152
|
+
version: 0.3.0
|
153
153
|
- !ruby/object:Gem::Dependency
|
154
154
|
name: rake
|
155
155
|
requirement: !ruby/object:Gem::Requirement
|
@@ -276,6 +276,7 @@ extra_rdoc_files: []
|
|
276
276
|
files:
|
277
277
|
- ".gitattributes"
|
278
278
|
- ".github/workflows/rake.yml"
|
279
|
+
- ".github/workflows/ubuntu.yml"
|
279
280
|
- ".gitignore"
|
280
281
|
- ".hound.yml"
|
281
282
|
- ".oss-guides.rubocop.yml"
|
@@ -344,6 +345,7 @@ files:
|
|
344
345
|
- lib/isodoc/iso/presentation_xml_convert.rb
|
345
346
|
- lib/isodoc/iso/sections.rb
|
346
347
|
- lib/isodoc/iso/sts_convert.rb
|
348
|
+
- lib/isodoc/iso/word_cleanup.rb
|
347
349
|
- lib/isodoc/iso/word_convert.rb
|
348
350
|
- lib/isodoc/iso/xref.rb
|
349
351
|
- lib/metanorma-iso.rb
|
@@ -405,6 +407,8 @@ files:
|
|
405
407
|
- spec/isodoc/xref_spec.rb
|
406
408
|
- spec/metanorma/processor_spec.rb
|
407
409
|
- spec/spec_helper.rb
|
410
|
+
- spec/vcr_cassettes/docrels.yml
|
411
|
+
- spec/vcr_cassettes/sortrefs.yml
|
408
412
|
homepage: https://github.com/metanorma/metanorma-iso
|
409
413
|
licenses:
|
410
414
|
- BSD-2-Clause
|
@@ -424,7 +428,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
424
428
|
- !ruby/object:Gem::Version
|
425
429
|
version: '0'
|
426
430
|
requirements: []
|
427
|
-
rubygems_version: 3.2.
|
431
|
+
rubygems_version: 3.2.32
|
428
432
|
signing_key:
|
429
433
|
specification_version: 4
|
430
434
|
summary: metanorma-iso lets you write ISO standards in AsciiDoc.
|