metanorma-standoc 2.2.6 → 2.2.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (147) hide show
  1. checksums.yaml +4 -4
  2. data/lib/isodoc/html/htmlstyle.css +6 -0
  3. data/lib/metanorma/standoc/base.rb +3 -5
  4. data/lib/metanorma/standoc/biblio.rng +5 -0
  5. data/lib/metanorma/standoc/cleanup.rb +17 -17
  6. data/lib/metanorma/standoc/cleanup_amend.rb +2 -2
  7. data/lib/metanorma/standoc/cleanup_biblio.rb +5 -4
  8. data/lib/metanorma/standoc/cleanup_maths.rb +12 -4
  9. data/lib/metanorma/standoc/cleanup_section.rb +19 -9
  10. data/lib/metanorma/standoc/cleanup_symbols.rb +14 -7
  11. data/lib/metanorma/standoc/cleanup_text.rb +10 -4
  12. data/lib/metanorma/standoc/cleanup_toc.rb +1 -2
  13. data/lib/metanorma/standoc/cleanup_xref.rb +58 -16
  14. data/lib/metanorma/standoc/inline.rb +27 -12
  15. data/lib/metanorma/standoc/isodoc.rng +47 -13
  16. data/lib/metanorma/standoc/ref_utility.rb +1 -0
  17. data/lib/metanorma/standoc/render.rb +12 -3
  18. data/lib/metanorma/standoc/section.rb +10 -3
  19. data/lib/metanorma/standoc/utils.rb +6 -1
  20. data/lib/metanorma/standoc/validate.rb +1 -1
  21. data/lib/metanorma/standoc/version.rb +1 -1
  22. data/metanorma-standoc.gemspec +5 -2
  23. metadata +4 -128
  24. data/.github/workflows/automerge.yml +0 -31
  25. data/.github/workflows/rake.yml +0 -15
  26. data/.github/workflows/release.yml +0 -24
  27. data/Rakefile +0 -8
  28. data/bin/rspec +0 -18
  29. data/spec/assets/a1.adoc +0 -8
  30. data/spec/assets/a2.adoc +0 -10
  31. data/spec/assets/a3.adoc +0 -9
  32. data/spec/assets/a3a.adoc +0 -7
  33. data/spec/assets/a4.adoc +0 -4
  34. data/spec/assets/boilerplate.xml +0 -4
  35. data/spec/assets/codes.yml +0 -695
  36. data/spec/assets/correct.png +0 -0
  37. data/spec/assets/corrupt.png +0 -0
  38. data/spec/assets/header.html +0 -7
  39. data/spec/assets/html-override.css +0 -1
  40. data/spec/assets/html.scss +0 -13
  41. data/spec/assets/htmlcover.html +0 -4
  42. data/spec/assets/htmlintro.html +0 -5
  43. data/spec/assets/i18n.yaml +0 -17
  44. data/spec/assets/iso.adoc +0 -10
  45. data/spec/assets/iso.headless.html +0 -33
  46. data/spec/assets/iso.xml +0 -8
  47. data/spec/assets/iso123.rxl +0 -107
  48. data/spec/assets/rice_image1.png +0 -0
  49. data/spec/assets/scripts.html +0 -3
  50. data/spec/assets/std.css +0 -2
  51. data/spec/assets/word-override.css +0 -1
  52. data/spec/assets/word.scss +0 -13
  53. data/spec/assets/wordcover.html +0 -3
  54. data/spec/assets/wordintro.html +0 -4
  55. data/spec/assets/xref_error.adoc +0 -8
  56. data/spec/examples/103_01_02.html +0 -247
  57. data/spec/examples/codes_table.html +0 -3174
  58. data/spec/examples/datamodel/address_class_profile.adoc +0 -5
  59. data/spec/examples/datamodel/address_class_profile.presentation.xml +0 -14
  60. data/spec/examples/datamodel/address_component_profile.adoc +0 -5
  61. data/spec/examples/datamodel/blank_definition_profile.adoc +0 -5
  62. data/spec/examples/datamodel/common_models_diagram.adoc +0 -5
  63. data/spec/examples/datamodel/models/models/AddressClassProfile.yml +0 -90
  64. data/spec/examples/datamodel/models/models/AddressComponentProfile.yml +0 -63
  65. data/spec/examples/datamodel/models/models/AddressComponentSpecification.yml +0 -15
  66. data/spec/examples/datamodel/models/models/AddressProfile.yml +0 -36
  67. data/spec/examples/datamodel/models/models/AttributeProfile.yml +0 -32
  68. data/spec/examples/datamodel/models/models/InterchangeAddressClassProfile.yml +0 -79
  69. data/spec/examples/datamodel/models/models/Localization copy.yml +0 -23
  70. data/spec/examples/datamodel/models/models/Localization.yml +0 -23
  71. data/spec/examples/datamodel/models/models/ProfileCompliantAddress.yml +0 -36
  72. data/spec/examples/datamodel/models/models/ProfileCompliantAddressComponent.yml +0 -15
  73. data/spec/examples/datamodel/models/models/Signature.yml +0 -20
  74. data/spec/examples/datamodel/models/models/SignatureBlankDefinition.yml +0 -20
  75. data/spec/examples/datamodel/models/models/TextDirectionCode copy.yml +0 -16
  76. data/spec/examples/datamodel/models/models/TextDirectionCode.yml +0 -16
  77. data/spec/examples/datamodel/models/models/Validity.yml +0 -14
  78. data/spec/examples/datamodel/models/models/iso19160-1/Address.yml +0 -22
  79. data/spec/examples/datamodel/models/models/iso19160-1/AddressComponent.yml +0 -2
  80. data/spec/examples/datamodel/models/style.uml.inc +0 -37
  81. data/spec/examples/datamodel/models/views/CommonModels.yml +0 -9
  82. data/spec/examples/datamodel/models/views/TopDown.yml +0 -62
  83. data/spec/examples/datamodel/top_down_diagram.adoc +0 -5
  84. data/spec/examples/english.yaml +0 -69
  85. data/spec/examples/iso_123_.xml +0 -46
  86. data/spec/examples/iso_123_all_parts.xml +0 -46
  87. data/spec/examples/iso_123_no_year_note.xml +0 -47
  88. data/spec/examples/iso_124_.xml +0 -42
  89. data/spec/examples/iso_216_.xml +0 -48
  90. data/spec/examples/iso_iec_12382_.xml +0 -49
  91. data/spec/examples/rice.adoc +0 -715
  92. data/spec/examples/rice.preview.html +0 -1877
  93. data/spec/examples/rice.sh +0 -4
  94. data/spec/examples/rice_images/rice_image1.png +0 -0
  95. data/spec/examples/rice_images/rice_image2.png +0 -0
  96. data/spec/examples/rice_images/rice_image3_1.png +0 -0
  97. data/spec/examples/rice_images/rice_image3_2.png +0 -0
  98. data/spec/examples/rice_images/rice_image3_3.png +0 -0
  99. data/spec/fixtures/action_schemaexpg1.svg +0 -122
  100. data/spec/fixtures/datamodel_description_sections_tree.xml +0 -327
  101. data/spec/fixtures/diagram_definitions.lutaml +0 -22
  102. data/spec/fixtures/macros_datamodel/address_class_profile.xml +0 -149
  103. data/spec/fixtures/macros_datamodel/address_component_profile.xml +0 -71
  104. data/spec/fixtures/macros_datamodel/blank_definition_profile.xml +0 -51
  105. data/spec/fixtures/macros_datamodel/common_models_diagram.xml +0 -7
  106. data/spec/fixtures/macros_datamodel/top_down_diagram.xml +0 -7
  107. data/spec/fixtures/test.exp +0 -121
  108. data/spec/fixtures/test.xmi +0 -9250
  109. data/spec/metanorma/base_spec.rb +0 -1125
  110. data/spec/metanorma/biblio_spec.rb +0 -1012
  111. data/spec/metanorma/blank_spec.rb +0 -37
  112. data/spec/metanorma/blocks_spec.rb +0 -1784
  113. data/spec/metanorma/cleanup_blocks_spec.rb +0 -1099
  114. data/spec/metanorma/cleanup_sections_spec.rb +0 -1849
  115. data/spec/metanorma/cleanup_spec.rb +0 -1931
  116. data/spec/metanorma/cleanup_terms_spec.rb +0 -1543
  117. data/spec/metanorma/datamodel/attributes_table_preprocessor_spec.rb +0 -111
  118. data/spec/metanorma/datamodel/diagram_preprocessor_spec.rb +0 -72
  119. data/spec/metanorma/inline_spec.rb +0 -785
  120. data/spec/metanorma/isobib_cache_spec.rb +0 -742
  121. data/spec/metanorma/lists_spec.rb +0 -232
  122. data/spec/metanorma/macros_concept_spec.rb +0 -1052
  123. data/spec/metanorma/macros_json2text_spec.rb +0 -10
  124. data/spec/metanorma/macros_plantuml_spec.rb +0 -402
  125. data/spec/metanorma/macros_spec.rb +0 -1183
  126. data/spec/metanorma/macros_yaml2text_spec.rb +0 -10
  127. data/spec/metanorma/processor_spec.rb +0 -96
  128. data/spec/metanorma/refs_spec.rb +0 -2807
  129. data/spec/metanorma/reqt_spec.rb +0 -130
  130. data/spec/metanorma/section_spec.rb +0 -1325
  131. data/spec/metanorma/table_spec.rb +0 -474
  132. data/spec/metanorma/validate_spec.rb +0 -886
  133. data/spec/spec_helper.rb +0 -290
  134. data/spec/support/shared_examples/structured_data_2_text_preprocessor.rb +0 -781
  135. data/spec/vcr_cassettes/bsi16341.yml +0 -486
  136. data/spec/vcr_cassettes/dated_iso_ref_joint_iso_iec.yml +0 -611
  137. data/spec/vcr_cassettes/dated_iso_ref_joint_iso_iec1.yml +0 -149
  138. data/spec/vcr_cassettes/hide_refs.yml +0 -587
  139. data/spec/vcr_cassettes/isobib_get_123.yml +0 -149
  140. data/spec/vcr_cassettes/isobib_get_123_1.yml +0 -295
  141. data/spec/vcr_cassettes/isobib_get_123_1_fr.yml +0 -385
  142. data/spec/vcr_cassettes/isobib_get_123_2.yml +0 -295
  143. data/spec/vcr_cassettes/isobib_get_123_2001.yml +0 -149
  144. data/spec/vcr_cassettes/isobib_get_124.yml +0 -149
  145. data/spec/vcr_cassettes/rfcbib_get_rfc8341.yml +0 -367
  146. data/spec/vcr_cassettes/separates_iev_citations_by_top_level_clause.yml +0 -560
  147. data/spec/vcr_cassettes/std-link.yml +0 -149
@@ -1,367 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: https://raw.githubusercontent.com/relaton/relaton-data-rfcs/main/data/RFC8341.yaml
6
- body:
7
- encoding: US-ASCII
8
- string: ''
9
- headers:
10
- Accept-Encoding:
11
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
- Accept:
13
- - "*/*"
14
- User-Agent:
15
- - Ruby
16
- Host:
17
- - raw.githubusercontent.com
18
- response:
19
- status:
20
- code: 200
21
- message: OK
22
- headers:
23
- Connection:
24
- - keep-alive
25
- Content-Length:
26
- - '802'
27
- Cache-Control:
28
- - max-age=300
29
- Content-Security-Policy:
30
- - default-src 'none'; style-src 'unsafe-inline'; sandbox
31
- Content-Type:
32
- - text/plain; charset=utf-8
33
- Etag:
34
- - W/"8aca43afba1b5d6651d55189852eee9b1ba4a6c6150a1dbe6f7efbd43919a662"
35
- Strict-Transport-Security:
36
- - max-age=31536000
37
- X-Content-Type-Options:
38
- - nosniff
39
- X-Frame-Options:
40
- - deny
41
- X-Xss-Protection:
42
- - 1; mode=block
43
- X-Github-Request-Id:
44
- - BFAC:0566:2FB00:75316:635669DB
45
- Accept-Ranges:
46
- - bytes
47
- Date:
48
- - Mon, 24 Oct 2022 10:32:59 GMT
49
- Via:
50
- - 1.1 varnish
51
- X-Served-By:
52
- - cache-mel11266-MEL
53
- X-Cache:
54
- - MISS
55
- X-Cache-Hits:
56
- - '1'
57
- X-Timer:
58
- - S1666607580.566504,VS0,VE215
59
- Vary:
60
- - Authorization,Accept-Encoding,Origin
61
- Access-Control-Allow-Origin:
62
- - "*"
63
- X-Fastly-Request-Id:
64
- - 28263a6b9fd8e8f12787b35586402e801f685270
65
- Expires:
66
- - Mon, 24 Oct 2022 10:37:59 GMT
67
- Source-Age:
68
- - '0'
69
- body:
70
- encoding: ASCII-8BIT
71
- string: |
72
- ---
73
- id: RFC8341
74
- title:
75
- - content: Network Configuration Access Control Model
76
- format: text/plain
77
- type: main
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: 10.17487/RFC8341
87
- type: DOI
88
- docnumber: RFC8341
89
- date:
90
- - type: published
91
- value: 2018-03
92
- contributor:
93
- - person:
94
- name:
95
- given:
96
- forename:
97
- - language:
98
- - en
99
- script:
100
- - Latn
101
- initial: A
102
- formatted_initials:
103
- content: A.
104
- language:
105
- - en
106
- script:
107
- - Latn
108
- surname:
109
- content: Bierman
110
- language:
111
- - en
112
- script:
113
- - Latn
114
- completename:
115
- content: A. Bierman
116
- language:
117
- - en
118
- script:
119
- - Latn
120
- role:
121
- - author
122
- - person:
123
- name:
124
- given:
125
- forename:
126
- - language:
127
- - en
128
- script:
129
- - Latn
130
- initial: M
131
- formatted_initials:
132
- content: M.
133
- language:
134
- - en
135
- script:
136
- - Latn
137
- surname:
138
- content: Bjorklund
139
- language:
140
- - en
141
- script:
142
- - Latn
143
- completename:
144
- content: M. Bjorklund
145
- language:
146
- - en
147
- script:
148
- - Latn
149
- role:
150
- - author
151
- revdate: 2018-03
152
- language:
153
- - en
154
- script:
155
- - Latn
156
- abstract:
157
- - content: "<p>The standardization of network configuration interfaces for use with
158
- the Network Configuration Protocol (NETCONF) or the RESTCONF protocol requires
159
- a structured and secure operating environment that promotes human usability and
160
- multi-vendor interoperability. There is a need for standard mechanisms to restrict
161
- NETCONF or RESTCONF protocol access for particular users to a preconfigured subset
162
- of all available NETCONF or RESTCONF protocol operations and content. This document
163
- defines such an access control model.</p><p>This document obsoletes RFC 6536.</p>"
164
- language:
165
- - en
166
- script:
167
- - Latn
168
- format: text/html
169
- series:
170
- - title:
171
- content: STD
172
- format: text/plain
173
- number: '91'
174
- - title:
175
- content: RFC
176
- format: text/plain
177
- number: '8341'
178
- keyword:
179
- - content: NETCONF RESTCONF
180
- - content: YANG
181
- - content: XML
182
- editorialgroup:
183
- - name: netconf
184
- recorded_at: Mon, 24 Oct 2022 10:32:59 GMT
185
- - request:
186
- method: get
187
- uri: https://raw.githubusercontent.com/relaton/relaton-data-rfcs/main/data/RFC8341.yaml
188
- body:
189
- encoding: US-ASCII
190
- string: ''
191
- headers:
192
- Accept-Encoding:
193
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
194
- Accept:
195
- - "*/*"
196
- User-Agent:
197
- - Ruby
198
- Host:
199
- - raw.githubusercontent.com
200
- response:
201
- status:
202
- code: 200
203
- message: OK
204
- headers:
205
- Connection:
206
- - keep-alive
207
- Content-Length:
208
- - '802'
209
- Cache-Control:
210
- - max-age=300
211
- Content-Security-Policy:
212
- - default-src 'none'; style-src 'unsafe-inline'; sandbox
213
- Content-Type:
214
- - text/plain; charset=utf-8
215
- Etag:
216
- - W/"8aca43afba1b5d6651d55189852eee9b1ba4a6c6150a1dbe6f7efbd43919a662"
217
- Strict-Transport-Security:
218
- - max-age=31536000
219
- X-Content-Type-Options:
220
- - nosniff
221
- X-Frame-Options:
222
- - deny
223
- X-Xss-Protection:
224
- - 1; mode=block
225
- X-Github-Request-Id:
226
- - BFAC:0566:2FB00:75316:635669DB
227
- Accept-Ranges:
228
- - bytes
229
- Date:
230
- - Mon, 24 Oct 2022 10:32:59 GMT
231
- Via:
232
- - 1.1 varnish
233
- X-Served-By:
234
- - cache-mel11248-MEL
235
- X-Cache:
236
- - HIT
237
- X-Cache-Hits:
238
- - '1'
239
- X-Timer:
240
- - S1666607580.567014,VS0,VE215
241
- Vary:
242
- - Authorization,Accept-Encoding,Origin
243
- Access-Control-Allow-Origin:
244
- - "*"
245
- X-Fastly-Request-Id:
246
- - 90c846a407be798331027ae9ab55baccb0262c68
247
- Expires:
248
- - Mon, 24 Oct 2022 10:37:59 GMT
249
- Source-Age:
250
- - '0'
251
- body:
252
- encoding: ASCII-8BIT
253
- string: |
254
- ---
255
- id: RFC8341
256
- title:
257
- - content: Network Configuration Access Control Model
258
- format: text/plain
259
- type: main
260
- link:
261
- - content: https://www.rfc-editor.org/info/rfc8341
262
- type: src
263
- type: standard
264
- docid:
265
- - id: RFC 8341
266
- type: IETF
267
- primary: true
268
- - id: 10.17487/RFC8341
269
- type: DOI
270
- docnumber: RFC8341
271
- date:
272
- - type: published
273
- value: 2018-03
274
- contributor:
275
- - person:
276
- name:
277
- given:
278
- forename:
279
- - language:
280
- - en
281
- script:
282
- - Latn
283
- initial: A
284
- formatted_initials:
285
- content: A.
286
- language:
287
- - en
288
- script:
289
- - Latn
290
- surname:
291
- content: Bierman
292
- language:
293
- - en
294
- script:
295
- - Latn
296
- completename:
297
- content: A. Bierman
298
- language:
299
- - en
300
- script:
301
- - Latn
302
- role:
303
- - author
304
- - person:
305
- name:
306
- given:
307
- forename:
308
- - language:
309
- - en
310
- script:
311
- - Latn
312
- initial: M
313
- formatted_initials:
314
- content: M.
315
- language:
316
- - en
317
- script:
318
- - Latn
319
- surname:
320
- content: Bjorklund
321
- language:
322
- - en
323
- script:
324
- - Latn
325
- completename:
326
- content: M. Bjorklund
327
- language:
328
- - en
329
- script:
330
- - Latn
331
- role:
332
- - author
333
- revdate: 2018-03
334
- language:
335
- - en
336
- script:
337
- - Latn
338
- abstract:
339
- - content: "<p>The standardization of network configuration interfaces for use with
340
- the Network Configuration Protocol (NETCONF) or the RESTCONF protocol requires
341
- a structured and secure operating environment that promotes human usability and
342
- multi-vendor interoperability. There is a need for standard mechanisms to restrict
343
- NETCONF or RESTCONF protocol access for particular users to a preconfigured subset
344
- of all available NETCONF or RESTCONF protocol operations and content. This document
345
- defines such an access control model.</p><p>This document obsoletes RFC 6536.</p>"
346
- language:
347
- - en
348
- script:
349
- - Latn
350
- format: text/html
351
- series:
352
- - title:
353
- content: STD
354
- format: text/plain
355
- number: '91'
356
- - title:
357
- content: RFC
358
- format: text/plain
359
- number: '8341'
360
- keyword:
361
- - content: NETCONF RESTCONF
362
- - content: YANG
363
- - content: XML
364
- editorialgroup:
365
- - name: netconf
366
- recorded_at: Mon, 24 Oct 2022 10:32:59 GMT
367
- recorded_with: VCR 6.1.0