metanorma-standoc 1.10.6 → 1.11.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.adoc +19 -23
- data/Rakefile +1 -1
- data/lib/asciidoctor/standoc/base.rb +10 -17
- data/lib/asciidoctor/standoc/basicdoc.rng +21 -4
- data/lib/asciidoctor/standoc/blocks.rb +23 -23
- data/lib/asciidoctor/standoc/blocks_notes.rb +17 -22
- data/lib/asciidoctor/standoc/cleanup.rb +46 -12
- data/lib/asciidoctor/standoc/cleanup_block.rb +3 -71
- data/lib/asciidoctor/standoc/cleanup_image.rb +6 -7
- data/lib/asciidoctor/standoc/cleanup_inline.rb +42 -106
- data/lib/asciidoctor/standoc/cleanup_maths.rb +5 -6
- data/lib/asciidoctor/standoc/cleanup_ref.rb +5 -0
- data/lib/asciidoctor/standoc/cleanup_reqt.rb +5 -24
- data/lib/asciidoctor/standoc/cleanup_section_names.rb +5 -5
- data/lib/asciidoctor/standoc/cleanup_symbols.rb +48 -0
- data/lib/asciidoctor/standoc/cleanup_table.rb +68 -0
- data/lib/asciidoctor/standoc/cleanup_terms.rb +37 -77
- data/lib/asciidoctor/standoc/cleanup_terms_designations.rb +162 -0
- data/lib/asciidoctor/standoc/cleanup_text.rb +5 -2
- data/lib/asciidoctor/standoc/cleanup_xref.rb +107 -0
- data/lib/asciidoctor/standoc/converter.rb +14 -0
- data/lib/asciidoctor/standoc/inline.rb +7 -5
- data/lib/asciidoctor/standoc/isodoc.rng +419 -77
- data/lib/asciidoctor/standoc/lists.rb +15 -15
- data/lib/asciidoctor/standoc/macros.rb +14 -43
- data/lib/asciidoctor/standoc/macros_note.rb +45 -0
- data/lib/asciidoctor/standoc/macros_plantuml.rb +29 -14
- data/lib/asciidoctor/standoc/macros_terms.rb +55 -8
- data/lib/asciidoctor/standoc/ref_sect.rb +26 -18
- data/lib/asciidoctor/standoc/reqt.rng +23 -2
- data/lib/asciidoctor/standoc/term_lookup_cleanup.rb +50 -11
- data/lib/asciidoctor/standoc/terms.rb +12 -2
- data/lib/asciidoctor/standoc/utils.rb +36 -23
- data/lib/asciidoctor/standoc/validate.rb +45 -27
- data/lib/asciidoctor/standoc/validate_section.rb +5 -2
- data/lib/metanorma/standoc/version.rb +1 -1
- data/metanorma-standoc.gemspec +1 -1
- data/spec/asciidoctor/base_spec.rb +4 -36
- data/spec/asciidoctor/blank_spec.rb +37 -0
- data/spec/asciidoctor/blocks_spec.rb +208 -49
- data/spec/asciidoctor/cleanup_sections_spec.rb +153 -12
- data/spec/asciidoctor/cleanup_spec.rb +104 -285
- data/spec/asciidoctor/cleanup_terms_spec.rb +990 -0
- data/spec/asciidoctor/inline_spec.rb +38 -2
- data/spec/asciidoctor/lists_spec.rb +6 -6
- data/spec/asciidoctor/macros_plantuml_spec.rb +37 -2
- data/spec/asciidoctor/macros_spec.rb +191 -114
- data/spec/asciidoctor/refs_spec.rb +12 -30
- data/spec/asciidoctor/section_spec.rb +18 -18
- data/spec/asciidoctor/validate_spec.rb +87 -2
- data/spec/fixtures/datamodel_description_sections_tree.xml +3 -2
- data/spec/spec_helper.rb +6 -7
- data/spec/vcr_cassettes/dated_iso_ref_joint_iso_iec.yml +51 -51
- data/spec/vcr_cassettes/dated_iso_ref_joint_iso_iec1.yml +13 -13
- data/spec/vcr_cassettes/isobib_get_123.yml +13 -13
- data/spec/vcr_cassettes/isobib_get_123_1.yml +26 -26
- data/spec/vcr_cassettes/isobib_get_123_1_fr.yml +34 -34
- data/spec/vcr_cassettes/isobib_get_123_2001.yml +12 -12
- data/spec/vcr_cassettes/isobib_get_124.yml +13 -13
- data/spec/vcr_cassettes/rfcbib_get_rfc8341.yml +16 -16
- data/spec/vcr_cassettes/separates_iev_citations_by_top_level_clause.yml +51 -49
- metadata +12 -5
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.
|
4
|
+
version: 1.11.0.1
|
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-10-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: asciidoctor
|
@@ -44,14 +44,14 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 1.
|
47
|
+
version: 1.8.0
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 1.
|
54
|
+
version: 1.8.0
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: metanorma-plugin-datastruct
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -418,8 +418,12 @@ files:
|
|
418
418
|
- lib/asciidoctor/standoc/cleanup_reqt.rb
|
419
419
|
- lib/asciidoctor/standoc/cleanup_section.rb
|
420
420
|
- lib/asciidoctor/standoc/cleanup_section_names.rb
|
421
|
+
- lib/asciidoctor/standoc/cleanup_symbols.rb
|
422
|
+
- lib/asciidoctor/standoc/cleanup_table.rb
|
421
423
|
- lib/asciidoctor/standoc/cleanup_terms.rb
|
424
|
+
- lib/asciidoctor/standoc/cleanup_terms_designations.rb
|
422
425
|
- lib/asciidoctor/standoc/cleanup_text.rb
|
426
|
+
- lib/asciidoctor/standoc/cleanup_xref.rb
|
423
427
|
- lib/asciidoctor/standoc/converter.rb
|
424
428
|
- lib/asciidoctor/standoc/datamodel/attributes_table_preprocessor.rb
|
425
429
|
- lib/asciidoctor/standoc/datamodel/diagram_preprocessor.rb
|
@@ -431,6 +435,7 @@ files:
|
|
431
435
|
- lib/asciidoctor/standoc/lists.rb
|
432
436
|
- lib/asciidoctor/standoc/macros.rb
|
433
437
|
- lib/asciidoctor/standoc/macros_form.rb
|
438
|
+
- lib/asciidoctor/standoc/macros_note.rb
|
434
439
|
- lib/asciidoctor/standoc/macros_plantuml.rb
|
435
440
|
- lib/asciidoctor/standoc/macros_terms.rb
|
436
441
|
- lib/asciidoctor/standoc/ref.rb
|
@@ -459,10 +464,12 @@ files:
|
|
459
464
|
- lib/metanorma/standoc/version.rb
|
460
465
|
- metanorma-standoc.gemspec
|
461
466
|
- spec/asciidoctor/base_spec.rb
|
467
|
+
- spec/asciidoctor/blank_spec.rb
|
462
468
|
- spec/asciidoctor/blocks_spec.rb
|
463
469
|
- spec/asciidoctor/cleanup_blocks_spec.rb
|
464
470
|
- spec/asciidoctor/cleanup_sections_spec.rb
|
465
471
|
- spec/asciidoctor/cleanup_spec.rb
|
472
|
+
- spec/asciidoctor/cleanup_terms_spec.rb
|
466
473
|
- spec/asciidoctor/datamodel/attributes_table_preprocessor_spec.rb
|
467
474
|
- spec/asciidoctor/datamodel/diagram_preprocessor_spec.rb
|
468
475
|
- spec/asciidoctor/inline_spec.rb
|
@@ -579,7 +586,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
579
586
|
- !ruby/object:Gem::Version
|
580
587
|
version: '0'
|
581
588
|
requirements: []
|
582
|
-
rubygems_version: 3.
|
589
|
+
rubygems_version: 3.2.22
|
583
590
|
signing_key:
|
584
591
|
specification_version: 4
|
585
592
|
summary: metanorma-standoc realises standards following the Metanorma standoc model
|