metanorma-standoc 2.2.3.1 → 2.2.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/metanorma/standoc/base.rb +2 -1
- data/lib/metanorma/standoc/biblio.rng +32 -1
- data/lib/metanorma/standoc/blocks.rb +2 -1
- data/lib/metanorma/standoc/cleanup_biblio.rb +111 -23
- data/lib/metanorma/standoc/cleanup_boilerplate.rb +2 -2
- data/lib/metanorma/standoc/front.rb +1 -0
- data/lib/metanorma/standoc/isodoc.rng +9 -0
- data/lib/metanorma/standoc/macros_plantuml.rb +23 -10
- data/lib/metanorma/standoc/render.rb +1 -0
- data/lib/metanorma/standoc/term_lookup_cleanup.rb +32 -13
- data/lib/metanorma/standoc/utils.rb +3 -3
- data/lib/metanorma/standoc/validate.rb +12 -3
- data/lib/metanorma/standoc/version.rb +1 -1
- data/metanorma-standoc.gemspec +2 -2
- data/spec/metanorma/base_spec.rb +10 -1
- data/spec/metanorma/biblio_spec.rb +47 -17
- data/spec/metanorma/blocks_spec.rb +2 -2
- data/spec/metanorma/cleanup_sections_spec.rb +2 -1
- data/spec/metanorma/inline_spec.rb +10 -9
- data/spec/metanorma/isobib_cache_spec.rb +2 -2
- data/spec/metanorma/macros_concept_spec.rb +1 -1
- data/spec/metanorma/macros_spec.rb +2 -2
- data/spec/metanorma/refs_spec.rb +25 -25
- data/spec/metanorma/validate_spec.rb +33 -0
- data/spec/vcr_cassettes/bsi16341.yml +38 -38
- data/spec/vcr_cassettes/dated_iso_ref_joint_iso_iec.yml +64 -64
- data/spec/vcr_cassettes/dated_iso_ref_joint_iso_iec1.yml +13 -13
- data/spec/vcr_cassettes/hide_refs.yml +53 -53
- data/spec/vcr_cassettes/isobib_get_123.yml +11 -11
- data/spec/vcr_cassettes/isobib_get_123_1.yml +22 -22
- data/spec/vcr_cassettes/isobib_get_123_1_fr.yml +54 -54
- data/spec/vcr_cassettes/isobib_get_123_2.yml +24 -24
- data/spec/vcr_cassettes/isobib_get_123_2001.yml +12 -12
- data/spec/vcr_cassettes/isobib_get_124.yml +11 -11
- data/spec/vcr_cassettes/rfcbib_get_rfc8341.yml +22 -24
- data/spec/vcr_cassettes/separates_iev_citations_by_top_level_clause.yml +55 -55
- data/spec/vcr_cassettes/std-link.yml +13 -13
- metadata +6 -10
- data/spec/requirements/default/blocks_spec.rb +0 -250
- data/spec/requirements/default/cleanup_spec.rb +0 -173
- data/spec/requirements/modspec/cleanup_spec.rb +0 -333
- data/spec/requirements/modspec/validate_spec.rb +0 -330
@@ -23,7 +23,7 @@ http_interactions:
|
|
23
23
|
Connection:
|
24
24
|
- keep-alive
|
25
25
|
Content-Length:
|
26
|
-
- '
|
26
|
+
- '796'
|
27
27
|
Cache-Control:
|
28
28
|
- max-age=300
|
29
29
|
Content-Security-Policy:
|
@@ -31,7 +31,7 @@ http_interactions:
|
|
31
31
|
Content-Type:
|
32
32
|
- text/plain; charset=utf-8
|
33
33
|
Etag:
|
34
|
-
- W/"
|
34
|
+
- W/"83eefad2f7aea32526c507930899bc4979c8ef71a83bc144878cc72c285654e3"
|
35
35
|
Strict-Transport-Security:
|
36
36
|
- max-age=31536000
|
37
37
|
X-Content-Type-Options:
|
@@ -41,29 +41,29 @@ http_interactions:
|
|
41
41
|
X-Xss-Protection:
|
42
42
|
- 1; mode=block
|
43
43
|
X-Github-Request-Id:
|
44
|
-
-
|
44
|
+
- CD68:18AA:498D:7413:63316F62
|
45
45
|
Accept-Ranges:
|
46
46
|
- bytes
|
47
47
|
Date:
|
48
|
-
-
|
48
|
+
- Mon, 26 Sep 2022 09:22:42 GMT
|
49
49
|
Via:
|
50
50
|
- 1.1 varnish
|
51
51
|
X-Served-By:
|
52
|
-
- cache-
|
52
|
+
- cache-mel11258-MEL
|
53
53
|
X-Cache:
|
54
|
-
-
|
54
|
+
- HIT
|
55
55
|
X-Cache-Hits:
|
56
|
-
- '
|
56
|
+
- '1'
|
57
57
|
X-Timer:
|
58
|
-
-
|
58
|
+
- S1664184162.276886,VS0,VE549
|
59
59
|
Vary:
|
60
60
|
- Authorization,Accept-Encoding,Origin
|
61
61
|
Access-Control-Allow-Origin:
|
62
62
|
- "*"
|
63
63
|
X-Fastly-Request-Id:
|
64
|
-
-
|
64
|
+
- 1842d235d4744b728e80eca16402fe540d9f5040
|
65
65
|
Expires:
|
66
|
-
-
|
66
|
+
- Mon, 26 Sep 2022 09:27:42 GMT
|
67
67
|
Source-Age:
|
68
68
|
- '0'
|
69
69
|
body:
|
@@ -167,14 +167,13 @@ http_interactions:
|
|
167
167
|
content: RFC
|
168
168
|
format: text/plain
|
169
169
|
number: '8341'
|
170
|
-
fetched: '2022-09-06'
|
171
170
|
keyword:
|
172
171
|
- content: NETCONF RESTCONF
|
173
172
|
- content: YANG
|
174
173
|
- content: XML
|
175
174
|
editorialgroup:
|
176
175
|
- name: netconf
|
177
|
-
recorded_at:
|
176
|
+
recorded_at: Mon, 26 Sep 2022 09:22:42 GMT
|
178
177
|
- request:
|
179
178
|
method: get
|
180
179
|
uri: https://raw.githubusercontent.com/relaton/relaton-data-rfcs/main/data/RFC8341.yaml
|
@@ -198,7 +197,7 @@ http_interactions:
|
|
198
197
|
Connection:
|
199
198
|
- keep-alive
|
200
199
|
Content-Length:
|
201
|
-
- '
|
200
|
+
- '796'
|
202
201
|
Cache-Control:
|
203
202
|
- max-age=300
|
204
203
|
Content-Security-Policy:
|
@@ -206,7 +205,7 @@ http_interactions:
|
|
206
205
|
Content-Type:
|
207
206
|
- text/plain; charset=utf-8
|
208
207
|
Etag:
|
209
|
-
- W/"
|
208
|
+
- W/"83eefad2f7aea32526c507930899bc4979c8ef71a83bc144878cc72c285654e3"
|
210
209
|
Strict-Transport-Security:
|
211
210
|
- max-age=31536000
|
212
211
|
X-Content-Type-Options:
|
@@ -216,29 +215,29 @@ http_interactions:
|
|
216
215
|
X-Xss-Protection:
|
217
216
|
- 1; mode=block
|
218
217
|
X-Github-Request-Id:
|
219
|
-
-
|
218
|
+
- CD68:18AA:498D:7413:63316F62
|
220
219
|
Accept-Ranges:
|
221
220
|
- bytes
|
222
221
|
Date:
|
223
|
-
-
|
222
|
+
- Mon, 26 Sep 2022 09:22:42 GMT
|
224
223
|
Via:
|
225
224
|
- 1.1 varnish
|
226
225
|
X-Served-By:
|
227
|
-
- cache-
|
226
|
+
- cache-mel11260-MEL
|
228
227
|
X-Cache:
|
229
|
-
-
|
228
|
+
- MISS
|
230
229
|
X-Cache-Hits:
|
231
|
-
- '
|
230
|
+
- '0'
|
232
231
|
X-Timer:
|
233
|
-
-
|
232
|
+
- S1664184162.277262,VS0,VE549
|
234
233
|
Vary:
|
235
234
|
- Authorization,Accept-Encoding,Origin
|
236
235
|
Access-Control-Allow-Origin:
|
237
236
|
- "*"
|
238
237
|
X-Fastly-Request-Id:
|
239
|
-
-
|
238
|
+
- 6a1f0578a02bac7c2868244fe36d22919cf3b9f3
|
240
239
|
Expires:
|
241
|
-
-
|
240
|
+
- Mon, 26 Sep 2022 09:27:42 GMT
|
242
241
|
Source-Age:
|
243
242
|
- '0'
|
244
243
|
body:
|
@@ -342,12 +341,11 @@ http_interactions:
|
|
342
341
|
content: RFC
|
343
342
|
format: text/plain
|
344
343
|
number: '8341'
|
345
|
-
fetched: '2022-09-06'
|
346
344
|
keyword:
|
347
345
|
- content: NETCONF RESTCONF
|
348
346
|
- content: YANG
|
349
347
|
- content: XML
|
350
348
|
editorialgroup:
|
351
349
|
- name: netconf
|
352
|
-
recorded_at:
|
350
|
+
recorded_at: Mon, 26 Sep 2022 09:22:42 GMT
|
353
351
|
recorded_with: VCR 6.1.0
|