metanorma-standoc 2.2.0 → 2.2.1.1
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 +12 -0
- data/lib/metanorma/standoc/blocks.rb +25 -15
- data/lib/metanorma/standoc/cleanup_biblio.rb +14 -8
- data/lib/metanorma/standoc/cleanup_reqt.rb +3 -136
- data/lib/metanorma/standoc/front.rb +6 -1
- data/lib/metanorma/standoc/front_contributor.rb +0 -10
- data/lib/metanorma/standoc/macros_inline.rb +1 -1
- data/lib/metanorma/standoc/reqt.rb +19 -75
- data/lib/metanorma/standoc/section.rb +35 -3
- data/lib/metanorma/standoc/utils.rb +9 -43
- data/lib/metanorma/standoc/validate.rb +1 -69
- data/lib/metanorma/standoc/validate_table.rb +91 -0
- data/lib/metanorma/standoc/version.rb +1 -1
- data/metanorma-standoc.gemspec +2 -2
- data/spec/metanorma/biblio_spec.rb +9 -9
- data/spec/metanorma/blocks_spec.rb +20 -266
- data/spec/metanorma/cleanup_blocks_spec.rb +0 -168
- data/spec/metanorma/macros_concept_spec.rb +1033 -0
- data/spec/metanorma/macros_spec.rb +1 -1031
- data/spec/metanorma/refs_spec.rb +0 -2
- data/spec/metanorma/reqt_spec.rb +130 -0
- data/spec/metanorma/section_spec.rb +5 -0
- data/spec/metanorma/validate_spec.rb +46 -6
- data/spec/vcr_cassettes/bsi16341.yml +80 -52
- data/spec/vcr_cassettes/dated_iso_ref_joint_iso_iec.yml +94 -94
- data/spec/vcr_cassettes/dated_iso_ref_joint_iso_iec1.yml +10 -10
- data/spec/vcr_cassettes/hide_refs.yml +74 -74
- data/spec/vcr_cassettes/isobib_get_123.yml +11 -11
- data/spec/vcr_cassettes/isobib_get_123_1.yml +22 -22
- data/spec/vcr_cassettes/isobib_get_123_1_fr.yml +30 -30
- data/spec/vcr_cassettes/isobib_get_123_2.yml +23 -23
- data/spec/vcr_cassettes/isobib_get_123_2001.yml +9 -9
- data/spec/vcr_cassettes/isobib_get_124.yml +10 -10
- data/spec/vcr_cassettes/rfcbib_get_rfc8341.yml +30 -60
- data/spec/vcr_cassettes/separates_iev_citations_by_top_level_clause.yml +45 -45
- data/spec/vcr_cassettes/std-link.yml +11 -11
- metadata +10 -7
@@ -23,7 +23,7 @@ http_interactions:
|
|
23
23
|
Connection:
|
24
24
|
- keep-alive
|
25
25
|
Content-Length:
|
26
|
-
- '
|
26
|
+
- '754'
|
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/"0a9e1ae56f51f33cedb11573e16d5d4fbffdf58bb2d8fe23a531c82fa636e9f9"
|
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
|
+
- 657C:7C43:167131:24B673:630395DE
|
45
45
|
Accept-Ranges:
|
46
46
|
- bytes
|
47
47
|
Date:
|
48
|
-
-
|
48
|
+
- Mon, 22 Aug 2022 14:42:38 GMT
|
49
49
|
Via:
|
50
50
|
- 1.1 varnish
|
51
51
|
X-Served-By:
|
52
|
-
- cache-
|
52
|
+
- cache-mel11235-MEL
|
53
53
|
X-Cache:
|
54
54
|
- MISS
|
55
55
|
X-Cache-Hits:
|
56
56
|
- '0'
|
57
57
|
X-Timer:
|
58
|
-
-
|
58
|
+
- S1661179359.503221,VS0,VE320
|
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
|
+
- 63860644dfcca91c1f0ccd3daf30b391d9eabbac
|
65
65
|
Expires:
|
66
|
-
-
|
66
|
+
- Mon, 22 Aug 2022 14:47:38 GMT
|
67
67
|
Source-Age:
|
68
68
|
- '0'
|
69
69
|
body:
|
@@ -72,9 +72,9 @@ http_interactions:
|
|
72
72
|
---
|
73
73
|
id: RFC8341
|
74
74
|
title:
|
75
|
-
-
|
76
|
-
content: Network Configuration Access Control Model
|
75
|
+
- content: Network Configuration Access Control Model
|
77
76
|
format: text/plain
|
77
|
+
type: main
|
78
78
|
link:
|
79
79
|
- content: https://www.rfc-editor.org/info/rfc8341
|
80
80
|
type: src
|
@@ -83,9 +83,6 @@ http_interactions:
|
|
83
83
|
- id: RFC 8341
|
84
84
|
type: IETF
|
85
85
|
primary: true
|
86
|
-
- id: RFC8341
|
87
|
-
type: IETF
|
88
|
-
scope: anchor
|
89
86
|
- id: 10.17487/RFC8341
|
90
87
|
type: DOI
|
91
88
|
docnumber: RFC8341
|
@@ -95,12 +92,6 @@ http_interactions:
|
|
95
92
|
contributor:
|
96
93
|
- person:
|
97
94
|
name:
|
98
|
-
initial:
|
99
|
-
- content: A
|
100
|
-
language:
|
101
|
-
- en
|
102
|
-
script:
|
103
|
-
- Latn
|
104
95
|
surname:
|
105
96
|
content: Bierman
|
106
97
|
language:
|
@@ -117,12 +108,6 @@ http_interactions:
|
|
117
108
|
- author
|
118
109
|
- person:
|
119
110
|
name:
|
120
|
-
initial:
|
121
|
-
- content: M
|
122
|
-
language:
|
123
|
-
- en
|
124
|
-
script:
|
125
|
-
- Latn
|
126
111
|
surname:
|
127
112
|
content: Bjorklund
|
128
113
|
language:
|
@@ -164,14 +149,14 @@ http_interactions:
|
|
164
149
|
content: RFC
|
165
150
|
format: text/plain
|
166
151
|
number: '8341'
|
167
|
-
fetched: '2022-
|
152
|
+
fetched: '2022-08-21'
|
168
153
|
keyword:
|
169
|
-
- NETCONF RESTCONF
|
170
|
-
- YANG
|
171
|
-
- XML
|
154
|
+
- content: NETCONF RESTCONF
|
155
|
+
- content: YANG
|
156
|
+
- content: XML
|
172
157
|
editorialgroup:
|
173
158
|
- name: netconf
|
174
|
-
recorded_at:
|
159
|
+
recorded_at: Mon, 22 Aug 2022 14:42:38 GMT
|
175
160
|
- request:
|
176
161
|
method: get
|
177
162
|
uri: https://raw.githubusercontent.com/relaton/relaton-data-rfcs/main/data/RFC8341.yaml
|
@@ -195,7 +180,7 @@ http_interactions:
|
|
195
180
|
Connection:
|
196
181
|
- keep-alive
|
197
182
|
Content-Length:
|
198
|
-
- '
|
183
|
+
- '754'
|
199
184
|
Cache-Control:
|
200
185
|
- max-age=300
|
201
186
|
Content-Security-Policy:
|
@@ -203,7 +188,7 @@ http_interactions:
|
|
203
188
|
Content-Type:
|
204
189
|
- text/plain; charset=utf-8
|
205
190
|
Etag:
|
206
|
-
- W/"
|
191
|
+
- W/"0a9e1ae56f51f33cedb11573e16d5d4fbffdf58bb2d8fe23a531c82fa636e9f9"
|
207
192
|
Strict-Transport-Security:
|
208
193
|
- max-age=31536000
|
209
194
|
X-Content-Type-Options:
|
@@ -213,29 +198,29 @@ http_interactions:
|
|
213
198
|
X-Xss-Protection:
|
214
199
|
- 1; mode=block
|
215
200
|
X-Github-Request-Id:
|
216
|
-
-
|
201
|
+
- 657C:7C43:167131:24B673:630395DE
|
217
202
|
Accept-Ranges:
|
218
203
|
- bytes
|
219
204
|
Date:
|
220
|
-
-
|
205
|
+
- Mon, 22 Aug 2022 14:42:38 GMT
|
221
206
|
Via:
|
222
207
|
- 1.1 varnish
|
223
208
|
X-Served-By:
|
224
|
-
- cache-
|
209
|
+
- cache-mel11280-MEL
|
225
210
|
X-Cache:
|
226
211
|
- HIT
|
227
212
|
X-Cache-Hits:
|
228
213
|
- '1'
|
229
214
|
X-Timer:
|
230
|
-
-
|
215
|
+
- S1661179359.510352,VS0,VE313
|
231
216
|
Vary:
|
232
217
|
- Authorization,Accept-Encoding,Origin
|
233
218
|
Access-Control-Allow-Origin:
|
234
219
|
- "*"
|
235
220
|
X-Fastly-Request-Id:
|
236
|
-
-
|
221
|
+
- 9bc5c96c38cddc62744df479ff48dc4d74cdc8f4
|
237
222
|
Expires:
|
238
|
-
-
|
223
|
+
- Mon, 22 Aug 2022 14:47:38 GMT
|
239
224
|
Source-Age:
|
240
225
|
- '0'
|
241
226
|
body:
|
@@ -244,9 +229,9 @@ http_interactions:
|
|
244
229
|
---
|
245
230
|
id: RFC8341
|
246
231
|
title:
|
247
|
-
-
|
248
|
-
content: Network Configuration Access Control Model
|
232
|
+
- content: Network Configuration Access Control Model
|
249
233
|
format: text/plain
|
234
|
+
type: main
|
250
235
|
link:
|
251
236
|
- content: https://www.rfc-editor.org/info/rfc8341
|
252
237
|
type: src
|
@@ -255,9 +240,6 @@ http_interactions:
|
|
255
240
|
- id: RFC 8341
|
256
241
|
type: IETF
|
257
242
|
primary: true
|
258
|
-
- id: RFC8341
|
259
|
-
type: IETF
|
260
|
-
scope: anchor
|
261
243
|
- id: 10.17487/RFC8341
|
262
244
|
type: DOI
|
263
245
|
docnumber: RFC8341
|
@@ -267,12 +249,6 @@ http_interactions:
|
|
267
249
|
contributor:
|
268
250
|
- person:
|
269
251
|
name:
|
270
|
-
initial:
|
271
|
-
- content: A
|
272
|
-
language:
|
273
|
-
- en
|
274
|
-
script:
|
275
|
-
- Latn
|
276
252
|
surname:
|
277
253
|
content: Bierman
|
278
254
|
language:
|
@@ -289,12 +265,6 @@ http_interactions:
|
|
289
265
|
- author
|
290
266
|
- person:
|
291
267
|
name:
|
292
|
-
initial:
|
293
|
-
- content: M
|
294
|
-
language:
|
295
|
-
- en
|
296
|
-
script:
|
297
|
-
- Latn
|
298
268
|
surname:
|
299
269
|
content: Bjorklund
|
300
270
|
language:
|
@@ -336,12 +306,12 @@ http_interactions:
|
|
336
306
|
content: RFC
|
337
307
|
format: text/plain
|
338
308
|
number: '8341'
|
339
|
-
fetched: '2022-
|
309
|
+
fetched: '2022-08-21'
|
340
310
|
keyword:
|
341
|
-
- NETCONF RESTCONF
|
342
|
-
- YANG
|
343
|
-
- XML
|
311
|
+
- content: NETCONF RESTCONF
|
312
|
+
- content: YANG
|
313
|
+
- content: XML
|
344
314
|
editorialgroup:
|
345
315
|
- name: netconf
|
346
|
-
recorded_at:
|
316
|
+
recorded_at: Mon, 22 Aug 2022 14:42:38 GMT
|
347
317
|
recorded_with: VCR 6.1.0
|