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.
Files changed (43) hide show
  1. checksums.yaml +4 -4
  2. data/lib/metanorma/standoc/base.rb +2 -1
  3. data/lib/metanorma/standoc/biblio.rng +32 -1
  4. data/lib/metanorma/standoc/blocks.rb +2 -1
  5. data/lib/metanorma/standoc/cleanup_biblio.rb +111 -23
  6. data/lib/metanorma/standoc/cleanup_boilerplate.rb +2 -2
  7. data/lib/metanorma/standoc/front.rb +1 -0
  8. data/lib/metanorma/standoc/isodoc.rng +9 -0
  9. data/lib/metanorma/standoc/macros_plantuml.rb +23 -10
  10. data/lib/metanorma/standoc/render.rb +1 -0
  11. data/lib/metanorma/standoc/term_lookup_cleanup.rb +32 -13
  12. data/lib/metanorma/standoc/utils.rb +3 -3
  13. data/lib/metanorma/standoc/validate.rb +12 -3
  14. data/lib/metanorma/standoc/version.rb +1 -1
  15. data/metanorma-standoc.gemspec +2 -2
  16. data/spec/metanorma/base_spec.rb +10 -1
  17. data/spec/metanorma/biblio_spec.rb +47 -17
  18. data/spec/metanorma/blocks_spec.rb +2 -2
  19. data/spec/metanorma/cleanup_sections_spec.rb +2 -1
  20. data/spec/metanorma/inline_spec.rb +10 -9
  21. data/spec/metanorma/isobib_cache_spec.rb +2 -2
  22. data/spec/metanorma/macros_concept_spec.rb +1 -1
  23. data/spec/metanorma/macros_spec.rb +2 -2
  24. data/spec/metanorma/refs_spec.rb +25 -25
  25. data/spec/metanorma/validate_spec.rb +33 -0
  26. data/spec/vcr_cassettes/bsi16341.yml +38 -38
  27. data/spec/vcr_cassettes/dated_iso_ref_joint_iso_iec.yml +64 -64
  28. data/spec/vcr_cassettes/dated_iso_ref_joint_iso_iec1.yml +13 -13
  29. data/spec/vcr_cassettes/hide_refs.yml +53 -53
  30. data/spec/vcr_cassettes/isobib_get_123.yml +11 -11
  31. data/spec/vcr_cassettes/isobib_get_123_1.yml +22 -22
  32. data/spec/vcr_cassettes/isobib_get_123_1_fr.yml +54 -54
  33. data/spec/vcr_cassettes/isobib_get_123_2.yml +24 -24
  34. data/spec/vcr_cassettes/isobib_get_123_2001.yml +12 -12
  35. data/spec/vcr_cassettes/isobib_get_124.yml +11 -11
  36. data/spec/vcr_cassettes/rfcbib_get_rfc8341.yml +22 -24
  37. data/spec/vcr_cassettes/separates_iev_citations_by_top_level_clause.yml +55 -55
  38. data/spec/vcr_cassettes/std-link.yml +13 -13
  39. metadata +6 -10
  40. data/spec/requirements/default/blocks_spec.rb +0 -250
  41. data/spec/requirements/default/cleanup_spec.rb +0 -173
  42. data/spec/requirements/modspec/cleanup_spec.rb +0 -333
  43. 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
- - '814'
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/"7c4d063cbcc5a6e9c70c1afee35744139dd434c825ea3ce523adb0ca7f5cab3a"
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
- - 7282:5CBA:096B:C9A0:6318838D
44
+ - CD68:18AA:498D:7413:63316F62
45
45
  Accept-Ranges:
46
46
  - bytes
47
47
  Date:
48
- - Wed, 07 Sep 2022 11:42:06 GMT
48
+ - Mon, 26 Sep 2022 09:22:42 GMT
49
49
  Via:
50
50
  - 1.1 varnish
51
51
  X-Served-By:
52
- - cache-mel11277-MEL
52
+ - cache-mel11258-MEL
53
53
  X-Cache:
54
- - MISS
54
+ - HIT
55
55
  X-Cache-Hits:
56
- - '0'
56
+ - '1'
57
57
  X-Timer:
58
- - S1662550926.914532,VS0,VE310
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
- - 7d7bd2bc9c3ac9d77283b4ece1e3df47b19e79ba
64
+ - 1842d235d4744b728e80eca16402fe540d9f5040
65
65
  Expires:
66
- - Wed, 07 Sep 2022 11:47:06 GMT
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: Wed, 07 Sep 2022 11:42:06 GMT
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
- - '814'
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/"7c4d063cbcc5a6e9c70c1afee35744139dd434c825ea3ce523adb0ca7f5cab3a"
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
- - 7282:5CBA:096B:C9A0:6318838D
218
+ - CD68:18AA:498D:7413:63316F62
220
219
  Accept-Ranges:
221
220
  - bytes
222
221
  Date:
223
- - Wed, 07 Sep 2022 11:42:06 GMT
222
+ - Mon, 26 Sep 2022 09:22:42 GMT
224
223
  Via:
225
224
  - 1.1 varnish
226
225
  X-Served-By:
227
- - cache-mel11226-MEL
226
+ - cache-mel11260-MEL
228
227
  X-Cache:
229
- - HIT
228
+ - MISS
230
229
  X-Cache-Hits:
231
- - '1'
230
+ - '0'
232
231
  X-Timer:
233
- - S1662550926.920970,VS0,VE303
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
- - 31612b526bb8fb7554000be856bb6403babfb499
238
+ - 6a1f0578a02bac7c2868244fe36d22919cf3b9f3
240
239
  Expires:
241
- - Wed, 07 Sep 2022 11:47:06 GMT
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: Wed, 07 Sep 2022 11:42:06 GMT
350
+ recorded_at: Mon, 26 Sep 2022 09:22:42 GMT
353
351
  recorded_with: VCR 6.1.0