metanorma-standoc 1.6.2 → 1.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/rake.yml +20 -16
- data/README.adoc +1 -3
- data/lib/asciidoctor/standoc/base.rb +8 -16
- data/lib/asciidoctor/standoc/basicdoc.rng +50 -3
- data/lib/asciidoctor/standoc/cleanup.rb +52 -4
- data/lib/asciidoctor/standoc/cleanup_block.rb +41 -4
- data/lib/asciidoctor/standoc/cleanup_boilerplate.rb +33 -20
- data/lib/asciidoctor/standoc/cleanup_footnotes.rb +14 -0
- data/lib/asciidoctor/standoc/cleanup_inline.rb +9 -3
- data/lib/asciidoctor/standoc/cleanup_ref.rb +17 -24
- data/lib/asciidoctor/standoc/cleanup_terms.rb +4 -6
- data/lib/asciidoctor/standoc/converter.rb +71 -1
- data/lib/asciidoctor/standoc/front_contributor.rb +8 -4
- data/lib/asciidoctor/standoc/inline.rb +6 -5
- data/lib/asciidoctor/standoc/isodoc.rng +35 -0
- data/lib/asciidoctor/standoc/lists.rb +4 -2
- data/lib/asciidoctor/standoc/macros.rb +55 -59
- data/lib/asciidoctor/standoc/macros_terms.rb +82 -0
- data/lib/asciidoctor/standoc/ref.rb +19 -25
- data/lib/asciidoctor/standoc/ref_sect.rb +4 -3
- data/lib/asciidoctor/standoc/section.rb +21 -20
- data/lib/asciidoctor/standoc/table.rb +12 -0
- data/lib/asciidoctor/standoc/term_lookup_cleanup.rb +86 -0
- data/lib/asciidoctor/standoc/utils.rb +2 -0
- data/lib/metanorma/standoc/version.rb +1 -1
- data/metanorma-standoc.gemspec +5 -3
- data/spec/asciidoctor-standoc/base_spec.rb +10 -4
- data/spec/asciidoctor-standoc/blocks_spec.rb +14 -9
- data/spec/asciidoctor-standoc/cleanup_sections_spec.rb +1519 -0
- data/spec/asciidoctor-standoc/cleanup_spec.rb +416 -1554
- data/spec/asciidoctor-standoc/converter_spec.rb +8 -0
- data/spec/asciidoctor-standoc/inline_spec.rb +2 -5
- data/spec/asciidoctor-standoc/isobib_cache_spec.rb +16 -9
- data/spec/asciidoctor-standoc/lists_spec.rb +10 -1
- data/spec/asciidoctor-standoc/macros_lutaml_spec.rb +80 -0
- data/spec/asciidoctor-standoc/macros_plantuml_spec.rb +307 -0
- data/spec/asciidoctor-standoc/macros_spec.rb +408 -169
- data/spec/asciidoctor-standoc/refs_dl_spec.rb +6 -6
- data/spec/asciidoctor-standoc/refs_spec.rb +112 -65
- data/spec/asciidoctor-standoc/section_spec.rb +17 -12
- data/spec/asciidoctor-standoc/table_spec.rb +86 -0
- data/spec/asciidoctor-standoc/validate_spec.rb +26 -0
- data/spec/fixtures/diagram_definitions.lutaml +22 -0
- data/spec/fixtures/test.exp +121 -0
- data/spec/spec_helper.rb +29 -1
- data/spec/vcr_cassettes/dated_iso_ref_joint_iso_iec.yml +52 -52
- data/spec/vcr_cassettes/isobib_get_123.yml +14 -14
- data/spec/vcr_cassettes/isobib_get_123_1.yml +24 -24
- data/spec/vcr_cassettes/isobib_get_123_1_fr.yml +37 -37
- data/spec/vcr_cassettes/isobib_get_123_2001.yml +13 -13
- data/spec/vcr_cassettes/isobib_get_124.yml +13 -13
- data/spec/vcr_cassettes/rfcbib_get_rfc8341.yml +8 -8
- data/spec/vcr_cassettes/separates_iev_citations_by_top_level_clause.yml +286 -162
- metadata +44 -8
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.7.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: 2020-
|
11
|
+
date: 2020-12-28 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.4.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.4.0
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: iev
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -80,34 +80,48 @@ dependencies:
|
|
80
80
|
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: metanorma-plugin-lutaml
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: 0.2.1
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: 0.2.1
|
83
97
|
- !ruby/object:Gem::Dependency
|
84
98
|
name: relaton-cli
|
85
99
|
requirement: !ruby/object:Gem::Requirement
|
86
100
|
requirements:
|
87
101
|
- - "~>"
|
88
102
|
- !ruby/object:Gem::Version
|
89
|
-
version: 1.
|
103
|
+
version: 1.7.0
|
90
104
|
type: :runtime
|
91
105
|
prerelease: false
|
92
106
|
version_requirements: !ruby/object:Gem::Requirement
|
93
107
|
requirements:
|
94
108
|
- - "~>"
|
95
109
|
- !ruby/object:Gem::Version
|
96
|
-
version: 1.
|
110
|
+
version: 1.7.0
|
97
111
|
- !ruby/object:Gem::Dependency
|
98
112
|
name: relaton-iev
|
99
113
|
requirement: !ruby/object:Gem::Requirement
|
100
114
|
requirements:
|
101
115
|
- - "~>"
|
102
116
|
- !ruby/object:Gem::Version
|
103
|
-
version: 1.
|
117
|
+
version: 1.1.0
|
104
118
|
type: :runtime
|
105
119
|
prerelease: false
|
106
120
|
version_requirements: !ruby/object:Gem::Requirement
|
107
121
|
requirements:
|
108
122
|
- - "~>"
|
109
123
|
- !ruby/object:Gem::Version
|
110
|
-
version: 1.
|
124
|
+
version: 1.1.0
|
111
125
|
- !ruby/object:Gem::Dependency
|
112
126
|
name: sterile
|
113
127
|
requirement: !ruby/object:Gem::Requirement
|
@@ -192,6 +206,20 @@ dependencies:
|
|
192
206
|
- - ">="
|
193
207
|
- !ruby/object:Gem::Version
|
194
208
|
version: '0'
|
209
|
+
- !ruby/object:Gem::Dependency
|
210
|
+
name: fontist
|
211
|
+
requirement: !ruby/object:Gem::Requirement
|
212
|
+
requirements:
|
213
|
+
- - "~>"
|
214
|
+
- !ruby/object:Gem::Version
|
215
|
+
version: 1.8.0
|
216
|
+
type: :runtime
|
217
|
+
prerelease: false
|
218
|
+
version_requirements: !ruby/object:Gem::Requirement
|
219
|
+
requirements:
|
220
|
+
- - "~>"
|
221
|
+
- !ruby/object:Gem::Version
|
222
|
+
version: 1.8.0
|
195
223
|
- !ruby/object:Gem::Dependency
|
196
224
|
name: byebug
|
197
225
|
requirement: !ruby/object:Gem::Requirement
|
@@ -413,12 +441,14 @@ files:
|
|
413
441
|
- lib/asciidoctor/standoc/log.rb
|
414
442
|
- lib/asciidoctor/standoc/macros.rb
|
415
443
|
- lib/asciidoctor/standoc/macros_plantuml.rb
|
444
|
+
- lib/asciidoctor/standoc/macros_terms.rb
|
416
445
|
- lib/asciidoctor/standoc/ref.rb
|
417
446
|
- lib/asciidoctor/standoc/ref_sect.rb
|
418
447
|
- lib/asciidoctor/standoc/reqt.rb
|
419
448
|
- lib/asciidoctor/standoc/reqt.rng
|
420
449
|
- lib/asciidoctor/standoc/section.rb
|
421
450
|
- lib/asciidoctor/standoc/table.rb
|
451
|
+
- lib/asciidoctor/standoc/term_lookup_cleanup.rb
|
422
452
|
- lib/asciidoctor/standoc/utils.rb
|
423
453
|
- lib/asciidoctor/standoc/validate.rb
|
424
454
|
- lib/asciidoctor/standoc/validate_section.rb
|
@@ -435,13 +465,17 @@ files:
|
|
435
465
|
- metanorma-standoc.gemspec
|
436
466
|
- spec/asciidoctor-standoc/base_spec.rb
|
437
467
|
- spec/asciidoctor-standoc/blocks_spec.rb
|
468
|
+
- spec/asciidoctor-standoc/cleanup_sections_spec.rb
|
438
469
|
- spec/asciidoctor-standoc/cleanup_spec.rb
|
470
|
+
- spec/asciidoctor-standoc/converter_spec.rb
|
439
471
|
- spec/asciidoctor-standoc/datamodel/attributes_table_preprocessor_spec.rb
|
440
472
|
- spec/asciidoctor-standoc/datamodel/diagram_preprocessor_spec.rb
|
441
473
|
- spec/asciidoctor-standoc/inline_spec.rb
|
442
474
|
- spec/asciidoctor-standoc/isobib_cache_spec.rb
|
443
475
|
- spec/asciidoctor-standoc/lists_spec.rb
|
444
476
|
- spec/asciidoctor-standoc/macros_json2text_spec.rb
|
477
|
+
- spec/asciidoctor-standoc/macros_lutaml_spec.rb
|
478
|
+
- spec/asciidoctor-standoc/macros_plantuml_spec.rb
|
445
479
|
- spec/asciidoctor-standoc/macros_spec.rb
|
446
480
|
- spec/asciidoctor-standoc/macros_yaml2text_spec.rb
|
447
481
|
- spec/asciidoctor-standoc/refs_dl_spec.rb
|
@@ -508,11 +542,13 @@ files:
|
|
508
542
|
- spec/examples/rice_images/rice_image3_1.png
|
509
543
|
- spec/examples/rice_images/rice_image3_2.png
|
510
544
|
- spec/examples/rice_images/rice_image3_3.png
|
545
|
+
- spec/fixtures/diagram_definitions.lutaml
|
511
546
|
- spec/fixtures/macros_datamodel/address_class_profile.xml
|
512
547
|
- spec/fixtures/macros_datamodel/address_component_profile.xml
|
513
548
|
- spec/fixtures/macros_datamodel/blank_definition_profile.xml
|
514
549
|
- spec/fixtures/macros_datamodel/common_models_diagram.xml
|
515
550
|
- spec/fixtures/macros_datamodel/top_down_diagram.xml
|
551
|
+
- spec/fixtures/test.exp
|
516
552
|
- spec/metanorma/processor_spec.rb
|
517
553
|
- spec/spec_helper.rb
|
518
554
|
- spec/support/shared_examples/structured_data_2_text_preprocessor.rb
|