metanorma-standoc 2.2.0.1 → 2.2.2
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 +1 -1
- data/.github/workflows/release.yml +24 -0
- data/lib/metanorma/standoc/base.rb +16 -0
- data/lib/metanorma/standoc/biblio.rng +8 -5
- data/lib/metanorma/standoc/blocks.rb +26 -13
- data/lib/metanorma/standoc/cleanup_biblio.rb +16 -10
- data/lib/metanorma/standoc/cleanup_reqt.rb +3 -136
- data/lib/metanorma/standoc/converter.rb +0 -7
- data/lib/metanorma/standoc/front.rb +6 -1
- data/lib/metanorma/standoc/front_contributor.rb +0 -10
- data/lib/metanorma/standoc/macros_terms.rb +5 -4
- data/lib/metanorma/standoc/reqt.rb +24 -73
- data/lib/metanorma/standoc/section.rb +35 -3
- data/lib/metanorma/standoc/terms.rb +13 -7
- data/lib/metanorma/standoc/utils.rb +9 -43
- data/lib/metanorma/standoc/validate.rb +18 -0
- data/lib/metanorma/standoc/version.rb +1 -1
- data/lib/metanorma-standoc.rb +1 -1
- data/metanorma-standoc.gemspec +5 -4
- data/spec/assets/correct.png +0 -0
- data/spec/assets/corrupt.png +0 -0
- data/spec/metanorma/base_spec.rb +6 -7
- data/spec/metanorma/biblio_spec.rb +8 -8
- data/spec/metanorma/blocks_spec.rb +20 -266
- data/spec/metanorma/cleanup_blocks_spec.rb +0 -168
- data/spec/metanorma/macros_concept_spec.rb +1052 -0
- data/spec/metanorma/macros_spec.rb +0 -1126
- data/spec/metanorma/reqt_spec.rb +130 -0
- data/spec/metanorma/section_spec.rb +5 -0
- data/spec/metanorma/validate_spec.rb +49 -0
- data/spec/requirements/default/blocks_spec.rb +250 -0
- data/spec/requirements/default/cleanup_spec.rb +173 -0
- data/spec/requirements/modspec/cleanup_spec.rb +333 -0
- data/spec/requirements/modspec/validate_spec.rb +330 -0
- data/spec/vcr_cassettes/bsi16341.yml +52 -36
- data/spec/vcr_cassettes/dated_iso_ref_joint_iso_iec.yml +88 -88
- data/spec/vcr_cassettes/dated_iso_ref_joint_iso_iec1.yml +10 -10
- data/spec/vcr_cassettes/hide_refs.yml +65 -65
- data/spec/vcr_cassettes/isobib_get_123.yml +12 -12
- data/spec/vcr_cassettes/isobib_get_123_1.yml +22 -22
- data/spec/vcr_cassettes/isobib_get_123_1_fr.yml +30 -30
- data/spec/vcr_cassettes/isobib_get_123_2.yml +21 -21
- data/spec/vcr_cassettes/isobib_get_123_2001.yml +11 -11
- data/spec/vcr_cassettes/isobib_get_124.yml +11 -11
- data/spec/vcr_cassettes/rfcbib_get_rfc8341.yml +34 -58
- data/spec/vcr_cassettes/separates_iev_citations_by_top_level_clause.yml +45 -45
- data/spec/vcr_cassettes/std-link.yml +11 -11
- metadata +50 -28
- data/lib/isodoc/html/htmlstyle.css +0 -998
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: 2.2.
|
4
|
+
version: 2.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-09-05 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: 2.2.
|
47
|
+
version: 2.2.3
|
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: 2.2.
|
54
|
+
version: 2.2.3
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: metanorma-plugin-datastruct
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -151,33 +151,61 @@ dependencies:
|
|
151
151
|
- !ruby/object:Gem::Version
|
152
152
|
version: '0'
|
153
153
|
- !ruby/object:Gem::Dependency
|
154
|
-
name:
|
154
|
+
name: mn-requirements
|
155
155
|
requirement: !ruby/object:Gem::Requirement
|
156
156
|
requirements:
|
157
157
|
- - "~>"
|
158
158
|
- !ruby/object:Gem::Version
|
159
|
-
version: 1.
|
159
|
+
version: 0.1.3
|
160
160
|
type: :runtime
|
161
161
|
prerelease: false
|
162
162
|
version_requirements: !ruby/object:Gem::Requirement
|
163
163
|
requirements:
|
164
164
|
- - "~>"
|
165
165
|
- !ruby/object:Gem::Version
|
166
|
-
version: 1.
|
166
|
+
version: 0.1.3
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
name: png
|
169
|
+
requirement: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - ">="
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: '0'
|
174
|
+
type: :runtime
|
175
|
+
prerelease: false
|
176
|
+
version_requirements: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - ">="
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: '0'
|
181
|
+
- !ruby/object:Gem::Dependency
|
182
|
+
name: pngcheck
|
183
|
+
requirement: !ruby/object:Gem::Requirement
|
184
|
+
requirements:
|
185
|
+
- - ">="
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
version: '0'
|
188
|
+
type: :runtime
|
189
|
+
prerelease: false
|
190
|
+
version_requirements: !ruby/object:Gem::Requirement
|
191
|
+
requirements:
|
192
|
+
- - ">="
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
version: '0'
|
167
195
|
- !ruby/object:Gem::Dependency
|
168
196
|
name: relaton-cli
|
169
197
|
requirement: !ruby/object:Gem::Requirement
|
170
198
|
requirements:
|
171
199
|
- - "~>"
|
172
200
|
- !ruby/object:Gem::Version
|
173
|
-
version: 1.
|
201
|
+
version: 1.13.0
|
174
202
|
type: :runtime
|
175
203
|
prerelease: false
|
176
204
|
version_requirements: !ruby/object:Gem::Requirement
|
177
205
|
requirements:
|
178
206
|
- - "~>"
|
179
207
|
- !ruby/object:Gem::Version
|
180
|
-
version: 1.
|
208
|
+
version: 1.13.0
|
181
209
|
- !ruby/object:Gem::Dependency
|
182
210
|
name: relaton-iev
|
183
211
|
requirement: !ruby/object:Gem::Requirement
|
@@ -262,20 +290,6 @@ dependencies:
|
|
262
290
|
- - "~>"
|
263
291
|
- !ruby/object:Gem::Version
|
264
292
|
version: '4.7'
|
265
|
-
- !ruby/object:Gem::Dependency
|
266
|
-
name: metanorma-iso
|
267
|
-
requirement: !ruby/object:Gem::Requirement
|
268
|
-
requirements:
|
269
|
-
- - "~>"
|
270
|
-
- !ruby/object:Gem::Version
|
271
|
-
version: 2.1.2
|
272
|
-
type: :development
|
273
|
-
prerelease: false
|
274
|
-
version_requirements: !ruby/object:Gem::Requirement
|
275
|
-
requirements:
|
276
|
-
- - "~>"
|
277
|
-
- !ruby/object:Gem::Version
|
278
|
-
version: 2.1.2
|
279
293
|
- !ruby/object:Gem::Dependency
|
280
294
|
name: rake
|
281
295
|
requirement: !ruby/object:Gem::Requirement
|
@@ -400,6 +414,7 @@ extra_rdoc_files: []
|
|
400
414
|
files:
|
401
415
|
- ".gitattributes"
|
402
416
|
- ".github/workflows/rake.yml"
|
417
|
+
- ".github/workflows/release.yml"
|
403
418
|
- ".gitignore"
|
404
419
|
- ".hound.yml"
|
405
420
|
- ".oss-guides.rubocop.yml"
|
@@ -464,7 +479,6 @@ files:
|
|
464
479
|
- lib/asciidoctor/standoc/validate_section.rb
|
465
480
|
- lib/isodoc/base.standard.xsl
|
466
481
|
- lib/isodoc/html/html_titlepage.html
|
467
|
-
- lib/isodoc/html/htmlstyle.css
|
468
482
|
- lib/isodoc/html/htmlstyle.scss
|
469
483
|
- lib/isodoc/html/scripts.html
|
470
484
|
- lib/isodoc/pdf_convert.rb
|
@@ -537,6 +551,8 @@ files:
|
|
537
551
|
- spec/assets/a4.adoc
|
538
552
|
- spec/assets/boilerplate.xml
|
539
553
|
- spec/assets/codes.yml
|
554
|
+
- spec/assets/correct.png
|
555
|
+
- spec/assets/corrupt.png
|
540
556
|
- spec/assets/header.html
|
541
557
|
- spec/assets/html-override.css
|
542
558
|
- spec/assets/html.scss
|
@@ -621,15 +637,21 @@ files:
|
|
621
637
|
- spec/metanorma/inline_spec.rb
|
622
638
|
- spec/metanorma/isobib_cache_spec.rb
|
623
639
|
- spec/metanorma/lists_spec.rb
|
640
|
+
- spec/metanorma/macros_concept_spec.rb
|
624
641
|
- spec/metanorma/macros_json2text_spec.rb
|
625
642
|
- spec/metanorma/macros_plantuml_spec.rb
|
626
643
|
- spec/metanorma/macros_spec.rb
|
627
644
|
- spec/metanorma/macros_yaml2text_spec.rb
|
628
645
|
- spec/metanorma/processor_spec.rb
|
629
646
|
- spec/metanorma/refs_spec.rb
|
647
|
+
- spec/metanorma/reqt_spec.rb
|
630
648
|
- spec/metanorma/section_spec.rb
|
631
649
|
- spec/metanorma/table_spec.rb
|
632
650
|
- spec/metanorma/validate_spec.rb
|
651
|
+
- spec/requirements/default/blocks_spec.rb
|
652
|
+
- spec/requirements/default/cleanup_spec.rb
|
653
|
+
- spec/requirements/modspec/cleanup_spec.rb
|
654
|
+
- spec/requirements/modspec/validate_spec.rb
|
633
655
|
- spec/spec_helper.rb
|
634
656
|
- spec/support/shared_examples/structured_data_2_text_preprocessor.rb
|
635
657
|
- spec/vcr_cassettes/bsi16341.yml
|
@@ -649,7 +671,7 @@ homepage: https://github.com/metanorma/metanorma-standoc
|
|
649
671
|
licenses:
|
650
672
|
- BSD-2-Clause
|
651
673
|
metadata: {}
|
652
|
-
post_install_message:
|
674
|
+
post_install_message:
|
653
675
|
rdoc_options: []
|
654
676
|
require_paths:
|
655
677
|
- lib
|
@@ -664,8 +686,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
664
686
|
- !ruby/object:Gem::Version
|
665
687
|
version: '0'
|
666
688
|
requirements: []
|
667
|
-
rubygems_version: 3.
|
668
|
-
signing_key:
|
689
|
+
rubygems_version: 3.1.6
|
690
|
+
signing_key:
|
669
691
|
specification_version: 4
|
670
692
|
summary: metanorma-standoc realises standards following the Metanorma standoc model
|
671
693
|
test_files: []
|