metanorma-standoc 2.1.0 → 2.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/metanorma/standoc/base.rb +3 -1
- data/lib/metanorma/standoc/biblio.rng +134 -39
- data/lib/metanorma/standoc/blocks.rb +8 -6
- data/lib/metanorma/standoc/blocks_notes.rb +3 -0
- data/lib/metanorma/standoc/cleanup.rb +1 -0
- data/lib/metanorma/standoc/cleanup_footnotes.rb +14 -9
- data/lib/metanorma/standoc/cleanup_inline.rb +17 -0
- data/lib/metanorma/standoc/cleanup_reqt.rb +1 -1
- data/lib/metanorma/standoc/cleanup_terms.rb +3 -1
- data/lib/metanorma/standoc/cleanup_text.rb +9 -4
- data/lib/metanorma/standoc/cleanup_xref.rb +2 -1
- data/lib/metanorma/standoc/converter.rb +2 -0
- data/lib/metanorma/standoc/inline.rb +2 -1
- data/lib/metanorma/standoc/isodoc.rng +16 -0
- data/lib/metanorma/standoc/lists.rb +8 -3
- data/lib/metanorma/standoc/macros.rb +31 -4
- data/lib/metanorma/standoc/macros_form.rb +1 -1
- data/lib/metanorma/standoc/macros_note.rb +1 -6
- data/lib/metanorma/standoc/ref_sect.rb +2 -1
- data/lib/metanorma/standoc/reqt.rb +5 -3
- data/lib/metanorma/standoc/section.rb +1 -1
- data/lib/metanorma/standoc/version.rb +1 -1
- data/metanorma-standoc.gemspec +2 -2
- data/spec/metanorma/base_spec.rb +41 -5
- data/spec/metanorma/blocks_spec.rb +53 -1
- data/spec/metanorma/cleanup_sections_spec.rb +5 -5
- data/spec/metanorma/cleanup_spec.rb +6 -6
- data/spec/metanorma/cleanup_terms_spec.rb +1 -1
- data/spec/metanorma/inline_spec.rb +3 -3
- data/spec/metanorma/lists_spec.rb +10 -4
- data/spec/metanorma/macros_spec.rb +21 -12
- data/spec/metanorma/refs_spec.rb +112 -118
- data/spec/metanorma/table_spec.rb +24 -6
- data/spec/spec_helper.rb +1 -1
- data/spec/vcr_cassettes/bsi16341.yml +69 -69
- data/spec/vcr_cassettes/dated_iso_ref_joint_iso_iec.yml +89 -89
- data/spec/vcr_cassettes/dated_iso_ref_joint_iso_iec1.yml +12 -12
- data/spec/vcr_cassettes/hide_refs.yml +55 -55
- data/spec/vcr_cassettes/isobib_get_123.yml +14 -14
- data/spec/vcr_cassettes/isobib_get_123_1.yml +28 -28
- data/spec/vcr_cassettes/isobib_get_123_1_fr.yml +35 -35
- data/spec/vcr_cassettes/isobib_get_123_2001.yml +14 -14
- data/spec/vcr_cassettes/isobib_get_124.yml +12 -12
- data/spec/vcr_cassettes/rfcbib_get_rfc8341.yml +228 -52
- data/spec/vcr_cassettes/separates_iev_citations_by_top_level_clause.yml +56 -58
- data/spec/vcr_cassettes/std-link.yml +17 -17
- metadata +9 -10
- data/docs/quickstart.adoc +0 -375
@@ -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/ietf-ribose/relaton-data-rfcs/main/data/RFC8341.yaml
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -23,7 +23,7 @@ http_interactions:
|
|
23
23
|
Connection:
|
24
24
|
- keep-alive
|
25
25
|
Content-Length:
|
26
|
-
- '
|
26
|
+
- '786'
|
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/"d06272fbf6b2fbdea1ac21ee1bcd6ba52a388ea4d4fe8543a1ab2a431fc9c7fb"
|
35
35
|
Strict-Transport-Security:
|
36
36
|
- max-age=31536000
|
37
37
|
X-Content-Type-Options:
|
@@ -41,52 +41,140 @@ http_interactions:
|
|
41
41
|
X-Xss-Protection:
|
42
42
|
- 1; mode=block
|
43
43
|
X-Github-Request-Id:
|
44
|
-
-
|
44
|
+
- B4C2:7441:35D8:65EC:62A702EA
|
45
45
|
Accept-Ranges:
|
46
46
|
- bytes
|
47
47
|
Date:
|
48
|
-
-
|
48
|
+
- Mon, 13 Jun 2022 09:27:06 GMT
|
49
49
|
Via:
|
50
50
|
- 1.1 varnish
|
51
51
|
X-Served-By:
|
52
|
-
- cache-
|
52
|
+
- cache-mel11268-MEL
|
53
53
|
X-Cache:
|
54
|
-
-
|
54
|
+
- HIT
|
55
55
|
X-Cache-Hits:
|
56
|
-
- '
|
56
|
+
- '1'
|
57
57
|
X-Timer:
|
58
|
-
-
|
58
|
+
- S1655112426.375181,VS0,VE327
|
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
|
+
- 3cd9f423ce09126a57456fdf28fc9e94f022cc8c
|
65
65
|
Expires:
|
66
|
-
-
|
66
|
+
- Mon, 13 Jun 2022 09:32:06 GMT
|
67
67
|
Source-Age:
|
68
68
|
- '0'
|
69
69
|
body:
|
70
70
|
encoding: ASCII-8BIT
|
71
71
|
string: |
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
72
|
+
---
|
73
|
+
id: RFC8341
|
74
|
+
title:
|
75
|
+
- type: main
|
76
|
+
content: Network Configuration Access Control Model
|
77
|
+
format: text/plain
|
78
|
+
link:
|
79
|
+
- content: https://www.rfc-editor.org/info/rfc8341
|
80
|
+
type: src
|
81
|
+
type: standard
|
82
|
+
docid:
|
83
|
+
- id: RFC 8341
|
84
|
+
type: IETF
|
85
|
+
primary: true
|
86
|
+
- id: RFC8341
|
87
|
+
type: IETF
|
88
|
+
scope: anchor
|
89
|
+
- id: 10.17487/RFC8341
|
90
|
+
type: DOI
|
91
|
+
docnumber: RFC8341
|
92
|
+
date:
|
93
|
+
- type: published
|
94
|
+
value: 2018-03
|
95
|
+
contributor:
|
96
|
+
- person:
|
97
|
+
name:
|
98
|
+
initial:
|
99
|
+
- content: A
|
100
|
+
language:
|
101
|
+
- en
|
102
|
+
script:
|
103
|
+
- Latn
|
104
|
+
surname:
|
105
|
+
content: Bierman
|
106
|
+
language:
|
107
|
+
- en
|
108
|
+
script:
|
109
|
+
- Latn
|
110
|
+
completename:
|
111
|
+
content: A. Bierman
|
112
|
+
language:
|
113
|
+
- en
|
114
|
+
script:
|
115
|
+
- Latn
|
116
|
+
role:
|
117
|
+
- author
|
118
|
+
- person:
|
119
|
+
name:
|
120
|
+
initial:
|
121
|
+
- content: M
|
122
|
+
language:
|
123
|
+
- en
|
124
|
+
script:
|
125
|
+
- Latn
|
126
|
+
surname:
|
127
|
+
content: Bjorklund
|
128
|
+
language:
|
129
|
+
- en
|
130
|
+
script:
|
131
|
+
- Latn
|
132
|
+
completename:
|
133
|
+
content: M. Bjorklund
|
134
|
+
language:
|
135
|
+
- en
|
136
|
+
script:
|
137
|
+
- Latn
|
138
|
+
role:
|
139
|
+
- author
|
140
|
+
revdate: 2018-03
|
141
|
+
language:
|
142
|
+
- en
|
143
|
+
script:
|
144
|
+
- Latn
|
145
|
+
abstract:
|
146
|
+
- content: "<p>The standardization of network configuration interfaces for use with
|
147
|
+
the Network Configuration Protocol (NETCONF) or the RESTCONF protocol requires
|
148
|
+
a structured and secure operating environment that promotes human usability and
|
149
|
+
multi-vendor interoperability. There is a need for standard mechanisms to restrict
|
150
|
+
NETCONF or RESTCONF protocol access for particular users to a preconfigured subset
|
151
|
+
of all available NETCONF or RESTCONF protocol operations and content. This document
|
152
|
+
defines such an access control model.</p><p>This document obsoletes RFC 6536.</p>"
|
153
|
+
language:
|
154
|
+
- en
|
155
|
+
script:
|
156
|
+
- Latn
|
157
|
+
format: text/html
|
158
|
+
series:
|
159
|
+
- title:
|
160
|
+
content: STD
|
161
|
+
format: text/plain
|
162
|
+
number: '91'
|
163
|
+
- title:
|
164
|
+
content: RFC
|
165
|
+
format: text/plain
|
166
|
+
number: '8341'
|
167
|
+
fetched: '2022-06-12'
|
168
|
+
keyword:
|
169
|
+
- NETCONF RESTCONF
|
170
|
+
- YANG
|
171
|
+
- XML
|
172
|
+
editorialgroup:
|
173
|
+
- name: netconf
|
174
|
+
recorded_at: Mon, 13 Jun 2022 09:27:06 GMT
|
87
175
|
- request:
|
88
176
|
method: get
|
89
|
-
uri: https://raw.githubusercontent.com/
|
177
|
+
uri: https://raw.githubusercontent.com/ietf-ribose/relaton-data-rfcs/main/data/RFC8341.yaml
|
90
178
|
body:
|
91
179
|
encoding: US-ASCII
|
92
180
|
string: ''
|
@@ -107,7 +195,7 @@ http_interactions:
|
|
107
195
|
Connection:
|
108
196
|
- keep-alive
|
109
197
|
Content-Length:
|
110
|
-
- '
|
198
|
+
- '786'
|
111
199
|
Cache-Control:
|
112
200
|
- max-age=300
|
113
201
|
Content-Security-Policy:
|
@@ -115,7 +203,7 @@ http_interactions:
|
|
115
203
|
Content-Type:
|
116
204
|
- text/plain; charset=utf-8
|
117
205
|
Etag:
|
118
|
-
- W/"
|
206
|
+
- W/"d06272fbf6b2fbdea1ac21ee1bcd6ba52a388ea4d4fe8543a1ab2a431fc9c7fb"
|
119
207
|
Strict-Transport-Security:
|
120
208
|
- max-age=31536000
|
121
209
|
X-Content-Type-Options:
|
@@ -125,47 +213,135 @@ http_interactions:
|
|
125
213
|
X-Xss-Protection:
|
126
214
|
- 1; mode=block
|
127
215
|
X-Github-Request-Id:
|
128
|
-
-
|
216
|
+
- B4C2:7441:35D8:65EC:62A702EA
|
129
217
|
Accept-Ranges:
|
130
218
|
- bytes
|
131
219
|
Date:
|
132
|
-
-
|
220
|
+
- Mon, 13 Jun 2022 09:27:06 GMT
|
133
221
|
Via:
|
134
222
|
- 1.1 varnish
|
135
223
|
X-Served-By:
|
136
|
-
- cache-
|
224
|
+
- cache-mel11224-MEL
|
137
225
|
X-Cache:
|
138
|
-
-
|
226
|
+
- MISS
|
139
227
|
X-Cache-Hits:
|
140
|
-
- '
|
228
|
+
- '0'
|
141
229
|
X-Timer:
|
142
|
-
-
|
230
|
+
- S1655112426.371907,VS0,VE331
|
143
231
|
Vary:
|
144
232
|
- Authorization,Accept-Encoding,Origin
|
145
233
|
Access-Control-Allow-Origin:
|
146
234
|
- "*"
|
147
235
|
X-Fastly-Request-Id:
|
148
|
-
-
|
236
|
+
- 798a3117670f57bca446fc678c091744e928afa8
|
149
237
|
Expires:
|
150
|
-
-
|
238
|
+
- Mon, 13 Jun 2022 09:32:06 GMT
|
151
239
|
Source-Age:
|
152
240
|
- '0'
|
153
241
|
body:
|
154
242
|
encoding: ASCII-8BIT
|
155
243
|
string: |
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
244
|
+
---
|
245
|
+
id: RFC8341
|
246
|
+
title:
|
247
|
+
- type: main
|
248
|
+
content: Network Configuration Access Control Model
|
249
|
+
format: text/plain
|
250
|
+
link:
|
251
|
+
- content: https://www.rfc-editor.org/info/rfc8341
|
252
|
+
type: src
|
253
|
+
type: standard
|
254
|
+
docid:
|
255
|
+
- id: RFC 8341
|
256
|
+
type: IETF
|
257
|
+
primary: true
|
258
|
+
- id: RFC8341
|
259
|
+
type: IETF
|
260
|
+
scope: anchor
|
261
|
+
- id: 10.17487/RFC8341
|
262
|
+
type: DOI
|
263
|
+
docnumber: RFC8341
|
264
|
+
date:
|
265
|
+
- type: published
|
266
|
+
value: 2018-03
|
267
|
+
contributor:
|
268
|
+
- person:
|
269
|
+
name:
|
270
|
+
initial:
|
271
|
+
- content: A
|
272
|
+
language:
|
273
|
+
- en
|
274
|
+
script:
|
275
|
+
- Latn
|
276
|
+
surname:
|
277
|
+
content: Bierman
|
278
|
+
language:
|
279
|
+
- en
|
280
|
+
script:
|
281
|
+
- Latn
|
282
|
+
completename:
|
283
|
+
content: A. Bierman
|
284
|
+
language:
|
285
|
+
- en
|
286
|
+
script:
|
287
|
+
- Latn
|
288
|
+
role:
|
289
|
+
- author
|
290
|
+
- person:
|
291
|
+
name:
|
292
|
+
initial:
|
293
|
+
- content: M
|
294
|
+
language:
|
295
|
+
- en
|
296
|
+
script:
|
297
|
+
- Latn
|
298
|
+
surname:
|
299
|
+
content: Bjorklund
|
300
|
+
language:
|
301
|
+
- en
|
302
|
+
script:
|
303
|
+
- Latn
|
304
|
+
completename:
|
305
|
+
content: M. Bjorklund
|
306
|
+
language:
|
307
|
+
- en
|
308
|
+
script:
|
309
|
+
- Latn
|
310
|
+
role:
|
311
|
+
- author
|
312
|
+
revdate: 2018-03
|
313
|
+
language:
|
314
|
+
- en
|
315
|
+
script:
|
316
|
+
- Latn
|
317
|
+
abstract:
|
318
|
+
- content: "<p>The standardization of network configuration interfaces for use with
|
319
|
+
the Network Configuration Protocol (NETCONF) or the RESTCONF protocol requires
|
320
|
+
a structured and secure operating environment that promotes human usability and
|
321
|
+
multi-vendor interoperability. There is a need for standard mechanisms to restrict
|
322
|
+
NETCONF or RESTCONF protocol access for particular users to a preconfigured subset
|
323
|
+
of all available NETCONF or RESTCONF protocol operations and content. This document
|
324
|
+
defines such an access control model.</p><p>This document obsoletes RFC 6536.</p>"
|
325
|
+
language:
|
326
|
+
- en
|
327
|
+
script:
|
328
|
+
- Latn
|
329
|
+
format: text/html
|
330
|
+
series:
|
331
|
+
- title:
|
332
|
+
content: STD
|
333
|
+
format: text/plain
|
334
|
+
number: '91'
|
335
|
+
- title:
|
336
|
+
content: RFC
|
337
|
+
format: text/plain
|
338
|
+
number: '8341'
|
339
|
+
fetched: '2022-06-12'
|
340
|
+
keyword:
|
341
|
+
- NETCONF RESTCONF
|
342
|
+
- YANG
|
343
|
+
- XML
|
344
|
+
editorialgroup:
|
345
|
+
- name: netconf
|
346
|
+
recorded_at: Mon, 13 Jun 2022 09:27:06 GMT
|
171
347
|
recorded_with: VCR 6.1.0
|