metanorma-standoc 2.2.5 → 2.2.7

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