metanorma-standoc 2.1.5 → 2.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. checksums.yaml +4 -4
  2. data/lib/metanorma/standoc/base.rb +1 -0
  3. data/lib/metanorma/standoc/blocks.rb +1 -2
  4. data/lib/metanorma/standoc/cleanup.rb +1 -1
  5. data/lib/metanorma/standoc/cleanup_biblio.rb +204 -0
  6. data/lib/metanorma/standoc/cleanup_block.rb +6 -4
  7. data/lib/metanorma/standoc/cleanup_maths.rb +2 -15
  8. data/lib/metanorma/standoc/cleanup_ref.rb +22 -13
  9. data/lib/metanorma/standoc/cleanup_reqt.rb +37 -4
  10. data/lib/metanorma/standoc/cleanup_symbols.rb +1 -1
  11. data/lib/metanorma/standoc/cleanup_text.rb +10 -8
  12. data/lib/metanorma/standoc/cleanup_xref.rb +1 -2
  13. data/lib/metanorma/standoc/converter.rb +2 -0
  14. data/lib/metanorma/standoc/front.rb +1 -1
  15. data/lib/metanorma/standoc/inline.rb +8 -4
  16. data/lib/metanorma/standoc/isodoc.rng +6 -1
  17. data/lib/metanorma/standoc/macros.rb +1 -180
  18. data/lib/metanorma/standoc/macros_inline.rb +194 -0
  19. data/lib/metanorma/standoc/ref_sect.rb +2 -2
  20. data/lib/metanorma/standoc/ref_utility.rb +1 -1
  21. data/lib/metanorma/standoc/reqt.rb +5 -5
  22. data/lib/metanorma/standoc/reqt.rng +1 -1
  23. data/lib/metanorma/standoc/version.rb +1 -1
  24. data/metanorma-standoc.gemspec +2 -3
  25. data/spec/metanorma/{refs_dl_spec.rb → biblio_spec.rb} +84 -1
  26. data/spec/metanorma/blocks_spec.rb +18 -8
  27. data/spec/metanorma/cleanup_blocks_spec.rb +24 -27
  28. data/spec/metanorma/inline_spec.rb +4 -0
  29. data/spec/metanorma/macros_spec.rb +2 -0
  30. data/spec/vcr_cassettes/bsi16341.yml +55 -55
  31. data/spec/vcr_cassettes/dated_iso_ref_joint_iso_iec.yml +45 -45
  32. data/spec/vcr_cassettes/dated_iso_ref_joint_iso_iec1.yml +12 -12
  33. data/spec/vcr_cassettes/hide_refs.yml +59 -59
  34. data/spec/vcr_cassettes/isobib_get_123.yml +12 -12
  35. data/spec/vcr_cassettes/isobib_get_123_1.yml +25 -25
  36. data/spec/vcr_cassettes/isobib_get_123_1_fr.yml +32 -32
  37. data/spec/vcr_cassettes/isobib_get_123_2.yml +22 -22
  38. data/spec/vcr_cassettes/isobib_get_123_2001.yml +13 -13
  39. data/spec/vcr_cassettes/isobib_get_124.yml +12 -12
  40. data/spec/vcr_cassettes/rfcbib_get_rfc8341.yml +24 -24
  41. data/spec/vcr_cassettes/separates_iev_citations_by_top_level_clause.yml +45 -45
  42. data/spec/vcr_cassettes/std-link.yml +11 -11
  43. metadata +7 -6
  44. data/lib/metanorma/standoc/cleanup_ref_dl.rb +0 -113
@@ -23,7 +23,7 @@ http_interactions:
23
23
  Connection:
24
24
  - keep-alive
25
25
  Content-Length:
26
- - '786'
26
+ - '787'
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/"ba8ced7fe0d05774d5e7a25fb925f2a8af59f9380e39a65a59e2bcf1205d3d59"
34
+ - W/"1a06323f16680b977113cc9e03dfec8cff100d25616cf31f665dc13c5f898cc7"
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
- - C132:0194:2B49:6927:62C1A707
44
+ - 6290:7721:B49DE:11BEE1:62E2A2DC
45
45
  Accept-Ranges:
46
46
  - bytes
47
47
  Date:
48
- - Sun, 03 Jul 2022 14:26:15 GMT
48
+ - Thu, 28 Jul 2022 14:53:16 GMT
49
49
  Via:
50
50
  - 1.1 varnish
51
51
  X-Served-By:
52
- - cache-mel11264-MEL
52
+ - cache-mel11267-MEL
53
53
  X-Cache:
54
- - HIT
54
+ - MISS
55
55
  X-Cache-Hits:
56
- - '1'
56
+ - '0'
57
57
  X-Timer:
58
- - S1656858375.016084,VS0,VE316
58
+ - S1659019996.247672,VS0,VE280
59
59
  Vary:
60
60
  - Authorization,Accept-Encoding,Origin
61
61
  Access-Control-Allow-Origin:
62
62
  - "*"
63
63
  X-Fastly-Request-Id:
64
- - c16de1901e00155069c295774d9f262274ac12a0
64
+ - d237d3168ee881d1f5f40099b55441c2c255ba5a
65
65
  Expires:
66
- - Sun, 03 Jul 2022 14:31:15 GMT
66
+ - Thu, 28 Jul 2022 14:58:16 GMT
67
67
  Source-Age:
68
68
  - '0'
69
69
  body:
@@ -164,14 +164,14 @@ http_interactions:
164
164
  content: RFC
165
165
  format: text/plain
166
166
  number: '8341'
167
- fetched: '2022-07-02'
167
+ fetched: '2022-07-27'
168
168
  keyword:
169
169
  - NETCONF RESTCONF
170
170
  - YANG
171
171
  - XML
172
172
  editorialgroup:
173
173
  - name: netconf
174
- recorded_at: Sun, 03 Jul 2022 14:26:15 GMT
174
+ recorded_at: Thu, 28 Jul 2022 14:53:16 GMT
175
175
  - request:
176
176
  method: get
177
177
  uri: https://raw.githubusercontent.com/relaton/relaton-data-rfcs/main/data/RFC8341.yaml
@@ -195,7 +195,7 @@ http_interactions:
195
195
  Connection:
196
196
  - keep-alive
197
197
  Content-Length:
198
- - '786'
198
+ - '787'
199
199
  Cache-Control:
200
200
  - max-age=300
201
201
  Content-Security-Policy:
@@ -203,7 +203,7 @@ http_interactions:
203
203
  Content-Type:
204
204
  - text/plain; charset=utf-8
205
205
  Etag:
206
- - W/"ba8ced7fe0d05774d5e7a25fb925f2a8af59f9380e39a65a59e2bcf1205d3d59"
206
+ - W/"1a06323f16680b977113cc9e03dfec8cff100d25616cf31f665dc13c5f898cc7"
207
207
  Strict-Transport-Security:
208
208
  - max-age=31536000
209
209
  X-Content-Type-Options:
@@ -213,29 +213,29 @@ http_interactions:
213
213
  X-Xss-Protection:
214
214
  - 1; mode=block
215
215
  X-Github-Request-Id:
216
- - C132:0194:2B49:6927:62C1A707
216
+ - 6290:7721:B49DE:11BEE1:62E2A2DC
217
217
  Accept-Ranges:
218
218
  - bytes
219
219
  Date:
220
- - Sun, 03 Jul 2022 14:26:15 GMT
220
+ - Thu, 28 Jul 2022 14:53:16 GMT
221
221
  Via:
222
222
  - 1.1 varnish
223
223
  X-Served-By:
224
- - cache-mel11262-MEL
224
+ - cache-mel11247-MEL
225
225
  X-Cache:
226
- - MISS
226
+ - HIT
227
227
  X-Cache-Hits:
228
- - '0'
228
+ - '1'
229
229
  X-Timer:
230
- - S1656858375.016194,VS0,VE316
230
+ - S1659019996.249969,VS0,VE278
231
231
  Vary:
232
232
  - Authorization,Accept-Encoding,Origin
233
233
  Access-Control-Allow-Origin:
234
234
  - "*"
235
235
  X-Fastly-Request-Id:
236
- - 054cc30ffe4f2b55f069520abf07fcceda2e5aab
236
+ - 4b00c7cf50c0f711cbebfd157445fb104e862674
237
237
  Expires:
238
- - Sun, 03 Jul 2022 14:31:15 GMT
238
+ - Thu, 28 Jul 2022 14:58:16 GMT
239
239
  Source-Age:
240
240
  - '0'
241
241
  body:
@@ -336,12 +336,12 @@ http_interactions:
336
336
  content: RFC
337
337
  format: text/plain
338
338
  number: '8341'
339
- fetched: '2022-07-02'
339
+ fetched: '2022-07-27'
340
340
  keyword:
341
341
  - NETCONF RESTCONF
342
342
  - YANG
343
343
  - XML
344
344
  editorialgroup:
345
345
  - name: netconf
346
- recorded_at: Sun, 03 Jul 2022 14:26:15 GMT
346
+ recorded_at: Thu, 28 Jul 2022 14:53:16 GMT
347
347
  recorded_with: VCR 6.1.0