metanorma-standoc 2.2.4 → 2.2.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (46) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/automerge.yml +31 -0
  3. data/lib/isodoc/html/htmlstyle.css +1 -1
  4. data/lib/metanorma/standoc/base.rb +1 -0
  5. data/lib/metanorma/standoc/basicdoc.rng +0 -27
  6. data/lib/metanorma/standoc/biblio-standoc.rng +164 -0
  7. data/lib/metanorma/standoc/biblio.rng +45 -18
  8. data/lib/metanorma/standoc/blocks.rb +2 -1
  9. data/lib/metanorma/standoc/cleanup.rb +1 -0
  10. data/lib/metanorma/standoc/cleanup_asciibib.rb +110 -0
  11. data/lib/metanorma/standoc/cleanup_biblio.rb +5 -111
  12. data/lib/metanorma/standoc/cleanup_block.rb +7 -6
  13. data/lib/metanorma/standoc/cleanup_boilerplate.rb +6 -6
  14. data/lib/metanorma/standoc/cleanup_inline.rb +2 -2
  15. data/lib/metanorma/standoc/cleanup_text.rb +10 -3
  16. data/lib/metanorma/standoc/inline.rb +3 -1
  17. data/lib/metanorma/standoc/isodoc-compile.rng +7 -0
  18. data/lib/metanorma/standoc/isodoc.rng +32 -195
  19. data/lib/metanorma/standoc/macros_plantuml.rb +23 -10
  20. data/lib/metanorma/standoc/validate.rb +8 -8
  21. data/lib/metanorma/standoc/version.rb +1 -1
  22. data/metanorma-standoc.gemspec +0 -1
  23. data/spec/metanorma/biblio_spec.rb +152 -144
  24. data/spec/metanorma/blocks_spec.rb +2 -2
  25. data/spec/metanorma/cleanup_sections_spec.rb +1 -2
  26. data/spec/metanorma/cleanup_spec.rb +11 -0
  27. data/spec/metanorma/inline_spec.rb +70 -8
  28. data/spec/metanorma/isobib_cache_spec.rb +2 -2
  29. data/spec/metanorma/macros_plantuml_spec.rb +4 -4
  30. data/spec/metanorma/macros_spec.rb +2 -2
  31. data/spec/metanorma/refs_spec.rb +25 -25
  32. data/spec/support/shared_examples/structured_data_2_text_preprocessor.rb +3 -3
  33. data/spec/vcr_cassettes/bsi16341.yml +70 -72
  34. data/spec/vcr_cassettes/dated_iso_ref_joint_iso_iec.yml +82 -82
  35. data/spec/vcr_cassettes/dated_iso_ref_joint_iso_iec1.yml +12 -12
  36. data/spec/vcr_cassettes/hide_refs.yml +58 -58
  37. data/spec/vcr_cassettes/isobib_get_123.yml +13 -13
  38. data/spec/vcr_cassettes/isobib_get_123_1.yml +22 -22
  39. data/spec/vcr_cassettes/isobib_get_123_1_fr.yml +33 -33
  40. data/spec/vcr_cassettes/isobib_get_123_2.yml +25 -25
  41. data/spec/vcr_cassettes/isobib_get_123_2001.yml +12 -12
  42. data/spec/vcr_cassettes/isobib_get_124.yml +12 -12
  43. data/spec/vcr_cassettes/rfcbib_get_rfc8341.yml +37 -21
  44. data/spec/vcr_cassettes/separates_iev_citations_by_top_level_clause.yml +45 -45
  45. data/spec/vcr_cassettes/std-link.yml +12 -12
  46. metadata +6 -16
@@ -23,7 +23,7 @@ http_interactions:
23
23
  Connection:
24
24
  - keep-alive
25
25
  Content-Length:
26
- - '796'
26
+ - '802'
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/"83eefad2f7aea32526c507930899bc4979c8ef71a83bc144878cc72c285654e3"
34
+ - W/"8aca43afba1b5d6651d55189852eee9b1ba4a6c6150a1dbe6f7efbd43919a662"
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
- - CD68:18AA:498D:7413:63316F62
44
+ - BFAC:0566:2FB00:75316:635669DB
45
45
  Accept-Ranges:
46
46
  - bytes
47
47
  Date:
48
- - Mon, 26 Sep 2022 09:22:42 GMT
48
+ - Mon, 24 Oct 2022 10:32:59 GMT
49
49
  Via:
50
50
  - 1.1 varnish
51
51
  X-Served-By:
52
- - cache-mel11258-MEL
52
+ - cache-mel11266-MEL
53
53
  X-Cache:
54
- - HIT
54
+ - MISS
55
55
  X-Cache-Hits:
56
56
  - '1'
57
57
  X-Timer:
58
- - S1664184162.276886,VS0,VE549
58
+ - S1666607580.566504,VS0,VE215
59
59
  Vary:
60
60
  - Authorization,Accept-Encoding,Origin
61
61
  Access-Control-Allow-Origin:
62
62
  - "*"
63
63
  X-Fastly-Request-Id:
64
- - 1842d235d4744b728e80eca16402fe540d9f5040
64
+ - 28263a6b9fd8e8f12787b35586402e801f685270
65
65
  Expires:
66
- - Mon, 26 Sep 2022 09:27:42 GMT
66
+ - Mon, 24 Oct 2022 10:37:59 GMT
67
67
  Source-Age:
68
68
  - '0'
69
69
  body:
@@ -101,6 +101,10 @@ http_interactions:
101
101
  initial: A
102
102
  formatted_initials:
103
103
  content: A.
104
+ language:
105
+ - en
106
+ script:
107
+ - Latn
104
108
  surname:
105
109
  content: Bierman
106
110
  language:
@@ -126,6 +130,10 @@ http_interactions:
126
130
  initial: M
127
131
  formatted_initials:
128
132
  content: M.
133
+ language:
134
+ - en
135
+ script:
136
+ - Latn
129
137
  surname:
130
138
  content: Bjorklund
131
139
  language:
@@ -173,7 +181,7 @@ http_interactions:
173
181
  - content: XML
174
182
  editorialgroup:
175
183
  - name: netconf
176
- recorded_at: Mon, 26 Sep 2022 09:22:42 GMT
184
+ recorded_at: Mon, 24 Oct 2022 10:32:59 GMT
177
185
  - request:
178
186
  method: get
179
187
  uri: https://raw.githubusercontent.com/relaton/relaton-data-rfcs/main/data/RFC8341.yaml
@@ -197,7 +205,7 @@ http_interactions:
197
205
  Connection:
198
206
  - keep-alive
199
207
  Content-Length:
200
- - '796'
208
+ - '802'
201
209
  Cache-Control:
202
210
  - max-age=300
203
211
  Content-Security-Policy:
@@ -205,7 +213,7 @@ http_interactions:
205
213
  Content-Type:
206
214
  - text/plain; charset=utf-8
207
215
  Etag:
208
- - W/"83eefad2f7aea32526c507930899bc4979c8ef71a83bc144878cc72c285654e3"
216
+ - W/"8aca43afba1b5d6651d55189852eee9b1ba4a6c6150a1dbe6f7efbd43919a662"
209
217
  Strict-Transport-Security:
210
218
  - max-age=31536000
211
219
  X-Content-Type-Options:
@@ -215,29 +223,29 @@ http_interactions:
215
223
  X-Xss-Protection:
216
224
  - 1; mode=block
217
225
  X-Github-Request-Id:
218
- - CD68:18AA:498D:7413:63316F62
226
+ - BFAC:0566:2FB00:75316:635669DB
219
227
  Accept-Ranges:
220
228
  - bytes
221
229
  Date:
222
- - Mon, 26 Sep 2022 09:22:42 GMT
230
+ - Mon, 24 Oct 2022 10:32:59 GMT
223
231
  Via:
224
232
  - 1.1 varnish
225
233
  X-Served-By:
226
- - cache-mel11260-MEL
234
+ - cache-mel11248-MEL
227
235
  X-Cache:
228
- - MISS
236
+ - HIT
229
237
  X-Cache-Hits:
230
- - '0'
238
+ - '1'
231
239
  X-Timer:
232
- - S1664184162.277262,VS0,VE549
240
+ - S1666607580.567014,VS0,VE215
233
241
  Vary:
234
242
  - Authorization,Accept-Encoding,Origin
235
243
  Access-Control-Allow-Origin:
236
244
  - "*"
237
245
  X-Fastly-Request-Id:
238
- - 6a1f0578a02bac7c2868244fe36d22919cf3b9f3
246
+ - 90c846a407be798331027ae9ab55baccb0262c68
239
247
  Expires:
240
- - Mon, 26 Sep 2022 09:27:42 GMT
248
+ - Mon, 24 Oct 2022 10:37:59 GMT
241
249
  Source-Age:
242
250
  - '0'
243
251
  body:
@@ -275,6 +283,10 @@ http_interactions:
275
283
  initial: A
276
284
  formatted_initials:
277
285
  content: A.
286
+ language:
287
+ - en
288
+ script:
289
+ - Latn
278
290
  surname:
279
291
  content: Bierman
280
292
  language:
@@ -300,6 +312,10 @@ http_interactions:
300
312
  initial: M
301
313
  formatted_initials:
302
314
  content: M.
315
+ language:
316
+ - en
317
+ script:
318
+ - Latn
303
319
  surname:
304
320
  content: Bjorklund
305
321
  language:
@@ -347,5 +363,5 @@ http_interactions:
347
363
  - content: XML
348
364
  editorialgroup:
349
365
  - name: netconf
350
- recorded_at: Mon, 26 Sep 2022 09:22:42 GMT
366
+ recorded_at: Mon, 24 Oct 2022 10:32:59 GMT
351
367
  recorded_with: VCR 6.1.0