metanorma-standoc 1.10.3 → 1.10.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/asciidoctor/standoc/base.rb +15 -5
- data/lib/asciidoctor/standoc/blocks.rb +37 -31
- data/lib/asciidoctor/standoc/cleanup.rb +12 -69
- data/lib/asciidoctor/standoc/cleanup_block.rb +6 -3
- data/lib/asciidoctor/standoc/cleanup_maths.rb +113 -21
- data/lib/asciidoctor/standoc/cleanup_reqt.rb +60 -14
- data/lib/asciidoctor/standoc/cleanup_section.rb +1 -0
- data/lib/asciidoctor/standoc/cleanup_section_names.rb +31 -14
- data/lib/asciidoctor/standoc/cleanup_text.rb +70 -0
- data/lib/asciidoctor/standoc/converter.rb +2 -0
- data/lib/asciidoctor/standoc/isodoc.rng +29 -9
- data/lib/asciidoctor/standoc/lists.rb +9 -6
- data/lib/asciidoctor/standoc/reqt.rb +39 -27
- data/lib/asciidoctor/standoc/reqt.rng +15 -4
- data/lib/asciidoctor/standoc/table.rb +22 -20
- data/lib/asciidoctor/standoc/validate_section.rb +2 -1
- data/lib/isodoc/base.standard.xsl +6003 -0
- data/lib/isodoc/pdf_convert.rb +20 -0
- data/lib/metanorma/standoc/processor.rb +5 -1
- data/lib/metanorma/standoc/version.rb +1 -1
- data/lib/metanorma-standoc.rb +1 -0
- data/metanorma-standoc.gemspec +1 -1
- data/spec/asciidoctor/base_spec.rb +6 -0
- data/spec/asciidoctor/blocks_spec.rb +43 -23
- data/spec/asciidoctor/cleanup_sections_spec.rb +67 -1
- data/spec/asciidoctor/cleanup_spec.rb +148 -21
- data/spec/asciidoctor/isobib_cache_spec.rb +8 -8
- data/spec/asciidoctor/macros_spec.rb +114 -1
- data/spec/asciidoctor/refs_dl_spec.rb +1 -1
- data/spec/asciidoctor/refs_spec.rb +218 -442
- data/spec/asciidoctor/section_spec.rb +1 -1
- data/spec/asciidoctor/validate_spec.rb +4 -0
- data/spec/examples/datamodel/address_class_profile.adoc +1 -0
- data/spec/examples/datamodel/address_component_profile.adoc +1 -0
- data/spec/examples/datamodel/blank_definition_profile.adoc +1 -0
- data/spec/examples/datamodel/common_models_diagram.adoc +2 -1
- data/spec/examples/datamodel/top_down_diagram.adoc +2 -1
- data/spec/fixtures/datamodel_description_sections_tree.xml +326 -0
- data/spec/fixtures/test.xmi +9250 -0
- data/spec/metanorma/processor_spec.rb +50 -50
- data/spec/vcr_cassettes/dated_iso_ref_joint_iso_iec.yml +231 -143
- data/spec/vcr_cassettes/dated_iso_ref_joint_iso_iec1.yml +152 -0
- data/spec/vcr_cassettes/isobib_get_123.yml +51 -35
- data/spec/vcr_cassettes/isobib_get_123_1.yml +103 -71
- data/spec/vcr_cassettes/isobib_get_123_1_fr.yml +112 -80
- data/spec/vcr_cassettes/isobib_get_123_2001.yml +51 -35
- data/spec/vcr_cassettes/isobib_get_124.yml +51 -35
- data/spec/vcr_cassettes/rfcbib_get_rfc8341.yml +14 -14
- data/spec/vcr_cassettes/separates_iev_citations_by_top_level_clause.yml +49 -47
- metadata +10 -4
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metanorma-standoc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.10.
|
4
|
+
version: 1.10.5
|
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-08-
|
11
|
+
date: 2021-08-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: asciidoctor
|
@@ -170,14 +170,14 @@ dependencies:
|
|
170
170
|
requirements:
|
171
171
|
- - "~>"
|
172
172
|
- !ruby/object:Gem::Version
|
173
|
-
version: 1.
|
173
|
+
version: 1.9.0
|
174
174
|
type: :runtime
|
175
175
|
prerelease: false
|
176
176
|
version_requirements: !ruby/object:Gem::Requirement
|
177
177
|
requirements:
|
178
178
|
- - "~>"
|
179
179
|
- !ruby/object:Gem::Version
|
180
|
-
version: 1.
|
180
|
+
version: 1.9.0
|
181
181
|
- !ruby/object:Gem::Dependency
|
182
182
|
name: relaton-iev
|
183
183
|
requirement: !ruby/object:Gem::Requirement
|
@@ -419,6 +419,7 @@ files:
|
|
419
419
|
- lib/asciidoctor/standoc/cleanup_section.rb
|
420
420
|
- lib/asciidoctor/standoc/cleanup_section_names.rb
|
421
421
|
- lib/asciidoctor/standoc/cleanup_terms.rb
|
422
|
+
- lib/asciidoctor/standoc/cleanup_text.rb
|
422
423
|
- lib/asciidoctor/standoc/converter.rb
|
423
424
|
- lib/asciidoctor/standoc/datamodel/attributes_table_preprocessor.rb
|
424
425
|
- lib/asciidoctor/standoc/datamodel/diagram_preprocessor.rb
|
@@ -446,10 +447,12 @@ files:
|
|
446
447
|
- lib/asciidoctor/standoc/validate_section.rb
|
447
448
|
- lib/asciidoctor/standoc/views/datamodel/model_representation.adoc.erb
|
448
449
|
- lib/asciidoctor/standoc/views/datamodel/plantuml_representation.adoc.erb
|
450
|
+
- lib/isodoc/base.standard.xsl
|
449
451
|
- lib/isodoc/html/html_titlepage.html
|
450
452
|
- lib/isodoc/html/htmlstyle.css
|
451
453
|
- lib/isodoc/html/htmlstyle.scss
|
452
454
|
- lib/isodoc/html/scripts.html
|
455
|
+
- lib/isodoc/pdf_convert.rb
|
453
456
|
- lib/metanorma-standoc.rb
|
454
457
|
- lib/metanorma/standoc.rb
|
455
458
|
- lib/metanorma/standoc/processor.rb
|
@@ -535,6 +538,7 @@ files:
|
|
535
538
|
- spec/examples/rice_images/rice_image3_2.png
|
536
539
|
- spec/examples/rice_images/rice_image3_3.png
|
537
540
|
- spec/fixtures/action_schemaexpg1.svg
|
541
|
+
- spec/fixtures/datamodel_description_sections_tree.xml
|
538
542
|
- spec/fixtures/diagram_definitions.lutaml
|
539
543
|
- spec/fixtures/macros_datamodel/address_class_profile.xml
|
540
544
|
- spec/fixtures/macros_datamodel/address_component_profile.xml
|
@@ -542,10 +546,12 @@ files:
|
|
542
546
|
- spec/fixtures/macros_datamodel/common_models_diagram.xml
|
543
547
|
- spec/fixtures/macros_datamodel/top_down_diagram.xml
|
544
548
|
- spec/fixtures/test.exp
|
549
|
+
- spec/fixtures/test.xmi
|
545
550
|
- spec/metanorma/processor_spec.rb
|
546
551
|
- spec/spec_helper.rb
|
547
552
|
- spec/support/shared_examples/structured_data_2_text_preprocessor.rb
|
548
553
|
- spec/vcr_cassettes/dated_iso_ref_joint_iso_iec.yml
|
554
|
+
- spec/vcr_cassettes/dated_iso_ref_joint_iso_iec1.yml
|
549
555
|
- spec/vcr_cassettes/isobib_get_123.yml
|
550
556
|
- spec/vcr_cassettes/isobib_get_123_1.yml
|
551
557
|
- spec/vcr_cassettes/isobib_get_123_1_fr.yml
|