metanorma-standoc 2.1.3 → 2.1.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (32) hide show
  1. checksums.yaml +4 -4
  2. data/lib/metanorma/standoc/blocks_notes.rb +1 -1
  3. data/lib/metanorma/standoc/cleanup_footnotes.rb +19 -17
  4. data/lib/metanorma/standoc/cleanup_ref.rb +16 -0
  5. data/lib/metanorma/standoc/cleanup_section.rb +6 -0
  6. data/lib/metanorma/standoc/converter.rb +2 -0
  7. data/lib/metanorma/standoc/isodoc.rng +16 -0
  8. data/lib/metanorma/standoc/macros_note.rb +26 -0
  9. data/lib/metanorma/standoc/ref.rb +3 -1
  10. data/lib/metanorma/standoc/ref_sect.rb +3 -1
  11. data/lib/metanorma/standoc/ref_utility.rb +20 -5
  12. data/lib/metanorma/standoc/version.rb +1 -1
  13. data/metanorma-standoc.gemspec +1 -1
  14. data/spec/examples/datamodel/address_class_profile.presentation.xml +14 -0
  15. data/spec/metanorma/blocks_spec.rb +5 -0
  16. data/spec/metanorma/cleanup_sections_spec.rb +55 -4
  17. data/spec/metanorma/macros_spec.rb +32 -6
  18. data/spec/metanorma/refs_dl_spec.rb +18 -7
  19. data/spec/metanorma/refs_spec.rb +278 -332
  20. data/spec/spec_helper.rb +1 -1
  21. data/spec/vcr_cassettes/bsi16341.yml +58 -72
  22. data/spec/vcr_cassettes/dated_iso_ref_joint_iso_iec.yml +98 -98
  23. data/spec/vcr_cassettes/dated_iso_ref_joint_iso_iec1.yml +13 -13
  24. data/spec/vcr_cassettes/hide_refs.yml +62 -62
  25. data/spec/vcr_cassettes/isobib_get_123.yml +11 -11
  26. data/spec/vcr_cassettes/isobib_get_123_1.yml +26 -26
  27. data/spec/vcr_cassettes/isobib_get_123_1_fr.yml +32 -32
  28. data/spec/vcr_cassettes/isobib_get_123_2001.yml +12 -12
  29. data/spec/vcr_cassettes/isobib_get_124.yml +12 -12
  30. data/spec/vcr_cassettes/rfcbib_get_rfc8341.yml +20 -20
  31. data/spec/vcr_cassettes/separates_iev_citations_by_top_level_clause.yml +56 -56
  32. metadata +5 -4
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://raw.githubusercontent.com/ietf-ribose/relaton-data-rfcs/main/data/RFC8341.yaml
5
+ uri: https://raw.githubusercontent.com/relaton/relaton-data-rfcs/main/data/RFC8341.yaml
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -31,7 +31,7 @@ http_interactions:
31
31
  Content-Type:
32
32
  - text/plain; charset=utf-8
33
33
  Etag:
34
- - W/"d06272fbf6b2fbdea1ac21ee1bcd6ba52a388ea4d4fe8543a1ab2a431fc9c7fb"
34
+ - W/"ba8ced7fe0d05774d5e7a25fb925f2a8af59f9380e39a65a59e2bcf1205d3d59"
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
- - B4C2:7441:35D8:65EC:62A702EA
44
+ - C132:0194:2B49:6927:62C1A707
45
45
  Accept-Ranges:
46
46
  - bytes
47
47
  Date:
48
- - Mon, 13 Jun 2022 09:27:06 GMT
48
+ - Sun, 03 Jul 2022 14:26:15 GMT
49
49
  Via:
50
50
  - 1.1 varnish
51
51
  X-Served-By:
52
- - cache-mel11268-MEL
52
+ - cache-mel11264-MEL
53
53
  X-Cache:
54
54
  - HIT
55
55
  X-Cache-Hits:
56
56
  - '1'
57
57
  X-Timer:
58
- - S1655112426.375181,VS0,VE327
58
+ - S1656858375.016084,VS0,VE316
59
59
  Vary:
60
60
  - Authorization,Accept-Encoding,Origin
61
61
  Access-Control-Allow-Origin:
62
62
  - "*"
63
63
  X-Fastly-Request-Id:
64
- - 3cd9f423ce09126a57456fdf28fc9e94f022cc8c
64
+ - c16de1901e00155069c295774d9f262274ac12a0
65
65
  Expires:
66
- - Mon, 13 Jun 2022 09:32:06 GMT
66
+ - Sun, 03 Jul 2022 14:31:15 GMT
67
67
  Source-Age:
68
68
  - '0'
69
69
  body:
@@ -164,17 +164,17 @@ http_interactions:
164
164
  content: RFC
165
165
  format: text/plain
166
166
  number: '8341'
167
- fetched: '2022-06-12'
167
+ fetched: '2022-07-02'
168
168
  keyword:
169
169
  - NETCONF RESTCONF
170
170
  - YANG
171
171
  - XML
172
172
  editorialgroup:
173
173
  - name: netconf
174
- recorded_at: Mon, 13 Jun 2022 09:27:06 GMT
174
+ recorded_at: Sun, 03 Jul 2022 14:26:15 GMT
175
175
  - request:
176
176
  method: get
177
- uri: https://raw.githubusercontent.com/ietf-ribose/relaton-data-rfcs/main/data/RFC8341.yaml
177
+ uri: https://raw.githubusercontent.com/relaton/relaton-data-rfcs/main/data/RFC8341.yaml
178
178
  body:
179
179
  encoding: US-ASCII
180
180
  string: ''
@@ -203,7 +203,7 @@ http_interactions:
203
203
  Content-Type:
204
204
  - text/plain; charset=utf-8
205
205
  Etag:
206
- - W/"d06272fbf6b2fbdea1ac21ee1bcd6ba52a388ea4d4fe8543a1ab2a431fc9c7fb"
206
+ - W/"ba8ced7fe0d05774d5e7a25fb925f2a8af59f9380e39a65a59e2bcf1205d3d59"
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
- - B4C2:7441:35D8:65EC:62A702EA
216
+ - C132:0194:2B49:6927:62C1A707
217
217
  Accept-Ranges:
218
218
  - bytes
219
219
  Date:
220
- - Mon, 13 Jun 2022 09:27:06 GMT
220
+ - Sun, 03 Jul 2022 14:26:15 GMT
221
221
  Via:
222
222
  - 1.1 varnish
223
223
  X-Served-By:
224
- - cache-mel11224-MEL
224
+ - cache-mel11262-MEL
225
225
  X-Cache:
226
226
  - MISS
227
227
  X-Cache-Hits:
228
228
  - '0'
229
229
  X-Timer:
230
- - S1655112426.371907,VS0,VE331
230
+ - S1656858375.016194,VS0,VE316
231
231
  Vary:
232
232
  - Authorization,Accept-Encoding,Origin
233
233
  Access-Control-Allow-Origin:
234
234
  - "*"
235
235
  X-Fastly-Request-Id:
236
- - 798a3117670f57bca446fc678c091744e928afa8
236
+ - 054cc30ffe4f2b55f069520abf07fcceda2e5aab
237
237
  Expires:
238
- - Mon, 13 Jun 2022 09:32:06 GMT
238
+ - Sun, 03 Jul 2022 14:31:15 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-06-12'
339
+ fetched: '2022-07-02'
340
340
  keyword:
341
341
  - NETCONF RESTCONF
342
342
  - YANG
343
343
  - XML
344
344
  editorialgroup:
345
345
  - name: netconf
346
- recorded_at: Mon, 13 Jun 2022 09:27:06 GMT
346
+ recorded_at: Sun, 03 Jul 2022 14:26:15 GMT
347
347
  recorded_with: VCR 6.1.0