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.
- checksums.yaml +4 -4
- data/lib/metanorma/standoc/blocks_notes.rb +1 -1
- data/lib/metanorma/standoc/cleanup_footnotes.rb +19 -17
- data/lib/metanorma/standoc/cleanup_ref.rb +16 -0
- data/lib/metanorma/standoc/cleanup_section.rb +6 -0
- data/lib/metanorma/standoc/converter.rb +2 -0
- data/lib/metanorma/standoc/isodoc.rng +16 -0
- data/lib/metanorma/standoc/macros_note.rb +26 -0
- data/lib/metanorma/standoc/ref.rb +3 -1
- data/lib/metanorma/standoc/ref_sect.rb +3 -1
- data/lib/metanorma/standoc/ref_utility.rb +20 -5
- data/lib/metanorma/standoc/version.rb +1 -1
- data/metanorma-standoc.gemspec +1 -1
- data/spec/examples/datamodel/address_class_profile.presentation.xml +14 -0
- data/spec/metanorma/blocks_spec.rb +5 -0
- data/spec/metanorma/cleanup_sections_spec.rb +55 -4
- data/spec/metanorma/macros_spec.rb +32 -6
- data/spec/metanorma/refs_dl_spec.rb +18 -7
- data/spec/metanorma/refs_spec.rb +278 -332
- data/spec/spec_helper.rb +1 -1
- data/spec/vcr_cassettes/bsi16341.yml +58 -72
- data/spec/vcr_cassettes/dated_iso_ref_joint_iso_iec.yml +98 -98
- data/spec/vcr_cassettes/dated_iso_ref_joint_iso_iec1.yml +13 -13
- data/spec/vcr_cassettes/hide_refs.yml +62 -62
- data/spec/vcr_cassettes/isobib_get_123.yml +11 -11
- data/spec/vcr_cassettes/isobib_get_123_1.yml +26 -26
- data/spec/vcr_cassettes/isobib_get_123_1_fr.yml +32 -32
- data/spec/vcr_cassettes/isobib_get_123_2001.yml +12 -12
- data/spec/vcr_cassettes/isobib_get_124.yml +12 -12
- data/spec/vcr_cassettes/rfcbib_get_rfc8341.yml +20 -20
- data/spec/vcr_cassettes/separates_iev_citations_by_top_level_clause.yml +56 -56
- metadata +5 -4
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: https://raw.githubusercontent.com/
|
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/"
|
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
|
-
-
|
44
|
+
- C132:0194:2B49:6927:62C1A707
|
45
45
|
Accept-Ranges:
|
46
46
|
- bytes
|
47
47
|
Date:
|
48
|
-
-
|
48
|
+
- Sun, 03 Jul 2022 14:26:15 GMT
|
49
49
|
Via:
|
50
50
|
- 1.1 varnish
|
51
51
|
X-Served-By:
|
52
|
-
- cache-
|
52
|
+
- cache-mel11264-MEL
|
53
53
|
X-Cache:
|
54
54
|
- HIT
|
55
55
|
X-Cache-Hits:
|
56
56
|
- '1'
|
57
57
|
X-Timer:
|
58
|
-
-
|
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
|
-
-
|
64
|
+
- c16de1901e00155069c295774d9f262274ac12a0
|
65
65
|
Expires:
|
66
|
-
-
|
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-
|
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:
|
174
|
+
recorded_at: Sun, 03 Jul 2022 14:26:15 GMT
|
175
175
|
- request:
|
176
176
|
method: get
|
177
|
-
uri: https://raw.githubusercontent.com/
|
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/"
|
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
|
-
-
|
216
|
+
- C132:0194:2B49:6927:62C1A707
|
217
217
|
Accept-Ranges:
|
218
218
|
- bytes
|
219
219
|
Date:
|
220
|
-
-
|
220
|
+
- Sun, 03 Jul 2022 14:26:15 GMT
|
221
221
|
Via:
|
222
222
|
- 1.1 varnish
|
223
223
|
X-Served-By:
|
224
|
-
- cache-
|
224
|
+
- cache-mel11262-MEL
|
225
225
|
X-Cache:
|
226
226
|
- MISS
|
227
227
|
X-Cache-Hits:
|
228
228
|
- '0'
|
229
229
|
X-Timer:
|
230
|
-
-
|
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
|
-
-
|
236
|
+
- 054cc30ffe4f2b55f069520abf07fcceda2e5aab
|
237
237
|
Expires:
|
238
|
-
-
|
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-
|
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:
|
346
|
+
recorded_at: Sun, 03 Jul 2022 14:26:15 GMT
|
347
347
|
recorded_with: VCR 6.1.0
|