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.
- checksums.yaml +4 -4
- data/lib/metanorma/standoc/base.rb +1 -0
- data/lib/metanorma/standoc/blocks.rb +1 -2
- data/lib/metanorma/standoc/cleanup.rb +1 -1
- data/lib/metanorma/standoc/cleanup_biblio.rb +204 -0
- data/lib/metanorma/standoc/cleanup_block.rb +6 -4
- data/lib/metanorma/standoc/cleanup_maths.rb +2 -15
- data/lib/metanorma/standoc/cleanup_ref.rb +22 -13
- data/lib/metanorma/standoc/cleanup_reqt.rb +37 -4
- data/lib/metanorma/standoc/cleanup_symbols.rb +1 -1
- data/lib/metanorma/standoc/cleanup_text.rb +10 -8
- data/lib/metanorma/standoc/cleanup_xref.rb +1 -2
- data/lib/metanorma/standoc/converter.rb +2 -0
- data/lib/metanorma/standoc/front.rb +1 -1
- data/lib/metanorma/standoc/inline.rb +8 -4
- data/lib/metanorma/standoc/isodoc.rng +6 -1
- data/lib/metanorma/standoc/macros.rb +1 -180
- data/lib/metanorma/standoc/macros_inline.rb +194 -0
- data/lib/metanorma/standoc/ref_sect.rb +2 -2
- data/lib/metanorma/standoc/ref_utility.rb +1 -1
- data/lib/metanorma/standoc/reqt.rb +5 -5
- data/lib/metanorma/standoc/reqt.rng +1 -1
- data/lib/metanorma/standoc/version.rb +1 -1
- data/metanorma-standoc.gemspec +2 -3
- data/spec/metanorma/{refs_dl_spec.rb → biblio_spec.rb} +84 -1
- data/spec/metanorma/blocks_spec.rb +18 -8
- data/spec/metanorma/cleanup_blocks_spec.rb +24 -27
- data/spec/metanorma/inline_spec.rb +4 -0
- data/spec/metanorma/macros_spec.rb +2 -0
- data/spec/vcr_cassettes/bsi16341.yml +55 -55
- data/spec/vcr_cassettes/dated_iso_ref_joint_iso_iec.yml +45 -45
- data/spec/vcr_cassettes/dated_iso_ref_joint_iso_iec1.yml +12 -12
- data/spec/vcr_cassettes/hide_refs.yml +59 -59
- data/spec/vcr_cassettes/isobib_get_123.yml +12 -12
- data/spec/vcr_cassettes/isobib_get_123_1.yml +25 -25
- data/spec/vcr_cassettes/isobib_get_123_1_fr.yml +32 -32
- data/spec/vcr_cassettes/isobib_get_123_2.yml +22 -22
- data/spec/vcr_cassettes/isobib_get_123_2001.yml +13 -13
- data/spec/vcr_cassettes/isobib_get_124.yml +12 -12
- data/spec/vcr_cassettes/rfcbib_get_rfc8341.yml +24 -24
- data/spec/vcr_cassettes/separates_iev_citations_by_top_level_clause.yml +45 -45
- data/spec/vcr_cassettes/std-link.yml +11 -11
- metadata +7 -6
- 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
|
-
- '
|
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/"
|
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
|
-
-
|
44
|
+
- 6290:7721:B49DE:11BEE1:62E2A2DC
|
45
45
|
Accept-Ranges:
|
46
46
|
- bytes
|
47
47
|
Date:
|
48
|
-
-
|
48
|
+
- Thu, 28 Jul 2022 14:53:16 GMT
|
49
49
|
Via:
|
50
50
|
- 1.1 varnish
|
51
51
|
X-Served-By:
|
52
|
-
- cache-
|
52
|
+
- cache-mel11267-MEL
|
53
53
|
X-Cache:
|
54
|
-
-
|
54
|
+
- MISS
|
55
55
|
X-Cache-Hits:
|
56
|
-
- '
|
56
|
+
- '0'
|
57
57
|
X-Timer:
|
58
|
-
-
|
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
|
-
-
|
64
|
+
- d237d3168ee881d1f5f40099b55441c2c255ba5a
|
65
65
|
Expires:
|
66
|
-
-
|
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-
|
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:
|
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
|
-
- '
|
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/"
|
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
|
-
-
|
216
|
+
- 6290:7721:B49DE:11BEE1:62E2A2DC
|
217
217
|
Accept-Ranges:
|
218
218
|
- bytes
|
219
219
|
Date:
|
220
|
-
-
|
220
|
+
- Thu, 28 Jul 2022 14:53:16 GMT
|
221
221
|
Via:
|
222
222
|
- 1.1 varnish
|
223
223
|
X-Served-By:
|
224
|
-
- cache-
|
224
|
+
- cache-mel11247-MEL
|
225
225
|
X-Cache:
|
226
|
-
-
|
226
|
+
- HIT
|
227
227
|
X-Cache-Hits:
|
228
|
-
- '
|
228
|
+
- '1'
|
229
229
|
X-Timer:
|
230
|
-
-
|
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
|
-
-
|
236
|
+
- 4b00c7cf50c0f711cbebfd157445fb104e862674
|
237
237
|
Expires:
|
238
|
-
-
|
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-
|
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:
|
346
|
+
recorded_at: Thu, 28 Jul 2022 14:53:16 GMT
|
347
347
|
recorded_with: VCR 6.1.0
|