metanorma-iso 1.9.6 → 1.10.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/asciidoctor/iso/isodoc.rng +218 -27
- data/lib/asciidoctor/iso/validate.rb +7 -7
- data/lib/asciidoctor/iso/validate_section.rb +1 -1
- data/lib/isodoc/iso/iso.amendment.xsl +7 -1
- data/lib/isodoc/iso/iso.international-standard.xsl +7 -1
- data/lib/metanorma/iso/version.rb +1 -1
- data/metanorma-iso.gemspec +1 -2
- data/spec/asciidoctor/base_spec.rb +2 -2
- data/spec/asciidoctor/blocks_spec.rb +28 -14
- data/spec/asciidoctor/cleanup_spec.rb +34 -20
- data/spec/asciidoctor/inline_spec.rb +10 -2
- data/spec/asciidoctor/section_spec.rb +3 -3
- data/spec/isodoc/i18n_spec.rb +4 -4
- data/spec/isodoc/inline_spec.rb +2 -2
- data/spec/isodoc/section_spec.rb +1 -1
- data/spec/isodoc/terms_spec.rb +11 -11
- data/spec/isodoc/xref_spec.rb +1397 -1376
- data/spec/metanorma/processor_spec.rb +4 -1
- data/spec/spec_helper.rb +2 -1
- metadata +5 -20
- data/spec/vcr_cassettes/docrels.yml +0 -393
@@ -23,13 +23,16 @@ RSpec.describe Metanorma::Iso::Processor do
|
|
23
23
|
end
|
24
24
|
|
25
25
|
it "generates IsoDoc XML from a blank document" do
|
26
|
-
|
26
|
+
input = <<~INPUT
|
27
27
|
#{ASCIIDOC_BLANK_HDR}
|
28
28
|
INPUT
|
29
|
+
output = <<~OUTPUT
|
29
30
|
#{BLANK_HDR}
|
30
31
|
<sections/>
|
31
32
|
</iso-standard>
|
32
33
|
OUTPUT
|
34
|
+
expect(xmlpp(processor.input_to_isodoc(input, nil)))
|
35
|
+
.to be_equivalent_to xmlpp(output)
|
33
36
|
end
|
34
37
|
|
35
38
|
it "generates HTML from IsoDoc XML" do
|
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,43 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metanorma-iso
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.10.0
|
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-10-
|
11
|
+
date: 2021-10-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
-
- !ruby/object:Gem::Dependency
|
14
|
-
name: isodoc
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - "~>"
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: 1.7.0
|
20
|
-
type: :runtime
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - "~>"
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: 1.7.0
|
27
13
|
- !ruby/object:Gem::Dependency
|
28
14
|
name: metanorma-standoc
|
29
15
|
requirement: !ruby/object:Gem::Requirement
|
30
16
|
requirements:
|
31
17
|
- - "~>"
|
32
18
|
- !ruby/object:Gem::Version
|
33
|
-
version: 1.
|
19
|
+
version: 1.11.0
|
34
20
|
type: :runtime
|
35
21
|
prerelease: false
|
36
22
|
version_requirements: !ruby/object:Gem::Requirement
|
37
23
|
requirements:
|
38
24
|
- - "~>"
|
39
25
|
- !ruby/object:Gem::Version
|
40
|
-
version: 1.
|
26
|
+
version: 1.11.0
|
41
27
|
- !ruby/object:Gem::Dependency
|
42
28
|
name: mnconvert
|
43
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -419,7 +405,6 @@ files:
|
|
419
405
|
- spec/isodoc/xref_spec.rb
|
420
406
|
- spec/metanorma/processor_spec.rb
|
421
407
|
- spec/spec_helper.rb
|
422
|
-
- spec/vcr_cassettes/docrels.yml
|
423
408
|
homepage: https://github.com/metanorma/metanorma-iso
|
424
409
|
licenses:
|
425
410
|
- BSD-2-Clause
|
@@ -439,7 +424,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
439
424
|
- !ruby/object:Gem::Version
|
440
425
|
version: '0'
|
441
426
|
requirements: []
|
442
|
-
rubygems_version: 3.
|
427
|
+
rubygems_version: 3.2.22
|
443
428
|
signing_key:
|
444
429
|
specification_version: 4
|
445
430
|
summary: metanorma-iso lets you write ISO standards in AsciiDoc.
|