metanorma-ietf 3.0.11 → 3.0.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/isodoc/ietf/validation.rb +45 -36
- data/lib/metanorma/ietf/basicdoc.rng +0 -27
- data/lib/metanorma/ietf/biblio-standoc.rng +164 -0
- data/lib/metanorma/ietf/biblio.rng +50 -18
- data/lib/metanorma/ietf/cleanup.rb +2 -2
- data/lib/metanorma/ietf/ietf.rng +1 -309
- data/lib/metanorma/ietf/isodoc.rng +72 -201
- data/lib/metanorma/ietf/relaton-ietf.rng +318 -0
- data/lib/metanorma/ietf/version.rb +1 -1
- data/metanorma-ietf.gemspec +3 -2
- metadata +6 -7
- data/.github/workflows/rake.yml +0 -16
- data/.github/workflows/release.yml +0 -24
- data/Rakefile +0 -6
@@ -0,0 +1,318 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<grammar xmlns="http://relaxng.org/ns/structure/1.0">
|
3
|
+
<include href="biblio-standoc.rng">
|
4
|
+
<define name="DocumentType">
|
5
|
+
<choice>
|
6
|
+
<value>rfc</value>
|
7
|
+
<value>internet-draft</value>
|
8
|
+
</choice>
|
9
|
+
</define>
|
10
|
+
<define name="BibDataExtensionType">
|
11
|
+
<optional>
|
12
|
+
<attribute name="schema-version"/>
|
13
|
+
</optional>
|
14
|
+
<optional>
|
15
|
+
<ref name="doctype"/>
|
16
|
+
</optional>
|
17
|
+
<optional>
|
18
|
+
<ref name="docsubtype"/>
|
19
|
+
</optional>
|
20
|
+
<zeroOrMore>
|
21
|
+
<ref name="editorialgroup"/>
|
22
|
+
</zeroOrMore>
|
23
|
+
<zeroOrMore>
|
24
|
+
<ref name="ics"/>
|
25
|
+
</zeroOrMore>
|
26
|
+
<zeroOrMore>
|
27
|
+
<ref name="area"/>
|
28
|
+
</zeroOrMore>
|
29
|
+
<optional>
|
30
|
+
<ref name="ipr"/>
|
31
|
+
</optional>
|
32
|
+
<optional>
|
33
|
+
<ref name="consensus"/>
|
34
|
+
</optional>
|
35
|
+
<optional>
|
36
|
+
<ref name="index-include"/>
|
37
|
+
</optional>
|
38
|
+
<optional>
|
39
|
+
<ref name="ipr-extract"/>
|
40
|
+
</optional>
|
41
|
+
<optional>
|
42
|
+
<ref name="sort-refs"/>
|
43
|
+
</optional>
|
44
|
+
<optional>
|
45
|
+
<ref name="sym-refs"/>
|
46
|
+
</optional>
|
47
|
+
<optional>
|
48
|
+
<ref name="toc-include"/>
|
49
|
+
</optional>
|
50
|
+
<optional>
|
51
|
+
<ref name="toc-depth"/>
|
52
|
+
</optional>
|
53
|
+
<optional>
|
54
|
+
<ref name="show-on-front-page"/>
|
55
|
+
</optional>
|
56
|
+
<optional>
|
57
|
+
<ref name="processing-instructions"/>
|
58
|
+
</optional>
|
59
|
+
</define>
|
60
|
+
<define name="editorialgroup">
|
61
|
+
<element name="editorialgroup">
|
62
|
+
<zeroOrMore>
|
63
|
+
<ref name="committee"/>
|
64
|
+
</zeroOrMore>
|
65
|
+
</element>
|
66
|
+
</define>
|
67
|
+
</include>
|
68
|
+
<define name="committee">
|
69
|
+
<element name="committee">
|
70
|
+
<ref name="IsoWorkgroup"/>
|
71
|
+
</element>
|
72
|
+
</define>
|
73
|
+
<define name="area">
|
74
|
+
<element name="area">
|
75
|
+
<choice>
|
76
|
+
<value>art</value>
|
77
|
+
<value>gen</value>
|
78
|
+
<value>int</value>
|
79
|
+
<value>ops</value>
|
80
|
+
<value>rtg</value>
|
81
|
+
<value>sec</value>
|
82
|
+
<value>tsv</value>
|
83
|
+
<value>Applications and Real-Time</value>
|
84
|
+
<value>General</value>
|
85
|
+
<value>Internet</value>
|
86
|
+
<value>Operations and Management</value>
|
87
|
+
<value>Routing</value>
|
88
|
+
<value>Security</value>
|
89
|
+
<value>Transport</value>
|
90
|
+
</choice>
|
91
|
+
</element>
|
92
|
+
</define>
|
93
|
+
<define name="ipr">
|
94
|
+
<element name="ipr">
|
95
|
+
<text/>
|
96
|
+
</element>
|
97
|
+
</define>
|
98
|
+
<define name="consensus">
|
99
|
+
<element name="consensus">
|
100
|
+
<text/>
|
101
|
+
</element>
|
102
|
+
</define>
|
103
|
+
<define name="index-include">
|
104
|
+
<element name="indexInclude">
|
105
|
+
<text/>
|
106
|
+
</element>
|
107
|
+
</define>
|
108
|
+
<define name="ipr-extract">
|
109
|
+
<element name="iprExtract">
|
110
|
+
<text/>
|
111
|
+
</element>
|
112
|
+
</define>
|
113
|
+
<define name="sort-refs">
|
114
|
+
<element name="sortRefs">
|
115
|
+
<text/>
|
116
|
+
</element>
|
117
|
+
</define>
|
118
|
+
<define name="sym-refs">
|
119
|
+
<element name="symRefs">
|
120
|
+
<text/>
|
121
|
+
</element>
|
122
|
+
</define>
|
123
|
+
<define name="toc-include">
|
124
|
+
<element name="tocInclude">
|
125
|
+
<text/>
|
126
|
+
</element>
|
127
|
+
</define>
|
128
|
+
<define name="toc-depth">
|
129
|
+
<element name="tocDepth">
|
130
|
+
<text/>
|
131
|
+
</element>
|
132
|
+
</define>
|
133
|
+
<define name="show-on-front-page">
|
134
|
+
<element name="showOnFrontPage">
|
135
|
+
<text/>
|
136
|
+
</element>
|
137
|
+
</define>
|
138
|
+
<!-- not relevant to relaton -->
|
139
|
+
<define name="processing-instructions">
|
140
|
+
<element name="pi">
|
141
|
+
<optional>
|
142
|
+
<element name="artworkdelimiter">
|
143
|
+
<text/>
|
144
|
+
</element>
|
145
|
+
</optional>
|
146
|
+
<optional>
|
147
|
+
<element name="artworklines">
|
148
|
+
<text/>
|
149
|
+
</element>
|
150
|
+
</optional>
|
151
|
+
<optional>
|
152
|
+
<element name="authorship">
|
153
|
+
<text/>
|
154
|
+
</element>
|
155
|
+
</optional>
|
156
|
+
<optional>
|
157
|
+
<element name="autobreaks">
|
158
|
+
<text/>
|
159
|
+
</element>
|
160
|
+
</optional>
|
161
|
+
<optional>
|
162
|
+
<element name="background">
|
163
|
+
<text/>
|
164
|
+
</element>
|
165
|
+
</optional>
|
166
|
+
<optional>
|
167
|
+
<element name="colonspace">
|
168
|
+
<text/>
|
169
|
+
</element>
|
170
|
+
</optional>
|
171
|
+
<optional>
|
172
|
+
<element name="comments">
|
173
|
+
<text/>
|
174
|
+
</element>
|
175
|
+
</optional>
|
176
|
+
<optional>
|
177
|
+
<element name="docmapping">
|
178
|
+
<text/>
|
179
|
+
</element>
|
180
|
+
</optional>
|
181
|
+
<optional>
|
182
|
+
<element name="editing">
|
183
|
+
<text/>
|
184
|
+
</element>
|
185
|
+
</optional>
|
186
|
+
<optional>
|
187
|
+
<element name="emoticonic">
|
188
|
+
<text/>
|
189
|
+
</element>
|
190
|
+
</optional>
|
191
|
+
<optional>
|
192
|
+
<element name="footer">
|
193
|
+
<text/>
|
194
|
+
</element>
|
195
|
+
</optional>
|
196
|
+
<optional>
|
197
|
+
<element name="header">
|
198
|
+
<text/>
|
199
|
+
</element>
|
200
|
+
</optional>
|
201
|
+
<optional>
|
202
|
+
<element name="inline">
|
203
|
+
<text/>
|
204
|
+
</element>
|
205
|
+
</optional>
|
206
|
+
<optional>
|
207
|
+
<element name="iprnotified">
|
208
|
+
<text/>
|
209
|
+
</element>
|
210
|
+
</optional>
|
211
|
+
<optional>
|
212
|
+
<element name="linkmailto">
|
213
|
+
<text/>
|
214
|
+
</element>
|
215
|
+
</optional>
|
216
|
+
<optional>
|
217
|
+
<element name="linefile">
|
218
|
+
<text/>
|
219
|
+
</element>
|
220
|
+
</optional>
|
221
|
+
<optional>
|
222
|
+
<element name="notedraftinprogress">
|
223
|
+
<text/>
|
224
|
+
</element>
|
225
|
+
</optional>
|
226
|
+
<optional>
|
227
|
+
<element name="private">
|
228
|
+
<text/>
|
229
|
+
</element>
|
230
|
+
</optional>
|
231
|
+
<optional>
|
232
|
+
<element name="refparent">
|
233
|
+
<text/>
|
234
|
+
</element>
|
235
|
+
</optional>
|
236
|
+
<optional>
|
237
|
+
<element name="rfcedstyle">
|
238
|
+
<text/>
|
239
|
+
</element>
|
240
|
+
</optional>
|
241
|
+
<optional>
|
242
|
+
<element name="slides">
|
243
|
+
<text/>
|
244
|
+
</element>
|
245
|
+
</optional>
|
246
|
+
<optional>
|
247
|
+
<element name="text-list-symbols">
|
248
|
+
<text/>
|
249
|
+
</element>
|
250
|
+
</optional>
|
251
|
+
<optional>
|
252
|
+
<element name="tocappendix">
|
253
|
+
<text/>
|
254
|
+
</element>
|
255
|
+
</optional>
|
256
|
+
<optional>
|
257
|
+
<element name="tocindent">
|
258
|
+
<text/>
|
259
|
+
</element>
|
260
|
+
</optional>
|
261
|
+
<optional>
|
262
|
+
<element name="tocnarrow">
|
263
|
+
<text/>
|
264
|
+
</element>
|
265
|
+
</optional>
|
266
|
+
<optional>
|
267
|
+
<element name="tocompact">
|
268
|
+
<text/>
|
269
|
+
</element>
|
270
|
+
</optional>
|
271
|
+
<optional>
|
272
|
+
<element name="topblock">
|
273
|
+
<text/>
|
274
|
+
</element>
|
275
|
+
</optional>
|
276
|
+
<optional>
|
277
|
+
<element name="useobject">
|
278
|
+
<text/>
|
279
|
+
</element>
|
280
|
+
</optional>
|
281
|
+
<optional>
|
282
|
+
<element name="strict">
|
283
|
+
<text/>
|
284
|
+
</element>
|
285
|
+
</optional>
|
286
|
+
<optional>
|
287
|
+
<element name="compact">
|
288
|
+
<text/>
|
289
|
+
</element>
|
290
|
+
</optional>
|
291
|
+
<optional>
|
292
|
+
<element name="subcompact">
|
293
|
+
<text/>
|
294
|
+
</element>
|
295
|
+
</optional>
|
296
|
+
<optional>
|
297
|
+
<element name="tocinclude">
|
298
|
+
<text/>
|
299
|
+
</element>
|
300
|
+
</optional>
|
301
|
+
<optional>
|
302
|
+
<element name="tocdepth">
|
303
|
+
<text/>
|
304
|
+
</element>
|
305
|
+
</optional>
|
306
|
+
<optional>
|
307
|
+
<element name="symrefs">
|
308
|
+
<text/>
|
309
|
+
</element>
|
310
|
+
</optional>
|
311
|
+
<optional>
|
312
|
+
<element name="sortrefs">
|
313
|
+
<text/>
|
314
|
+
</element>
|
315
|
+
</optional>
|
316
|
+
</element>
|
317
|
+
</define>
|
318
|
+
</grammar>
|
data/metanorma-ietf.gemspec
CHANGED
@@ -28,12 +28,13 @@ Gem::Specification.new do |spec|
|
|
28
28
|
spec.license = "BSD-2-Clause"
|
29
29
|
|
30
30
|
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
31
|
-
f.match(%r{^(
|
31
|
+
f.match(%r{^(test|spec|features|bin|.github)/}) \
|
32
|
+
|| f.match(%r{Rakefile|bin/rspec})
|
32
33
|
end
|
33
34
|
spec.bindir = "exe"
|
34
35
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
35
36
|
spec.require_paths = ["lib"]
|
36
|
-
spec.required_ruby_version = Gem::Requirement.new(">= 2.
|
37
|
+
spec.required_ruby_version = Gem::Requirement.new(">= 2.7.0")
|
37
38
|
|
38
39
|
spec.add_dependency "mathml2asciimath"
|
39
40
|
spec.add_dependency "metanorma-ietf-data"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metanorma-ietf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-11-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mathml2asciimath
|
@@ -223,8 +223,6 @@ executables: []
|
|
223
223
|
extensions: []
|
224
224
|
extra_rdoc_files: []
|
225
225
|
files:
|
226
|
-
- ".github/workflows/rake.yml"
|
227
|
-
- ".github/workflows/release.yml"
|
228
226
|
- ".gitignore"
|
229
227
|
- ".hound.yml"
|
230
228
|
- ".oss-guides.rubocop.yml"
|
@@ -235,7 +233,6 @@ files:
|
|
235
233
|
- Guardfile
|
236
234
|
- LICENSE
|
237
235
|
- README.adoc
|
238
|
-
- Rakefile
|
239
236
|
- lib/isodoc/ietf/SVG-1.2-RFC.rng
|
240
237
|
- lib/isodoc/ietf/blocks.rb
|
241
238
|
- lib/isodoc/ietf/cleanup.rb
|
@@ -259,6 +256,7 @@ files:
|
|
259
256
|
- lib/metanorma-ietf.rb
|
260
257
|
- lib/metanorma/ietf.rb
|
261
258
|
- lib/metanorma/ietf/basicdoc.rng
|
259
|
+
- lib/metanorma/ietf/biblio-standoc.rng
|
262
260
|
- lib/metanorma/ietf/biblio.rng
|
263
261
|
- lib/metanorma/ietf/blocks.rb
|
264
262
|
- lib/metanorma/ietf/cleanup.rb
|
@@ -268,6 +266,7 @@ files:
|
|
268
266
|
- lib/metanorma/ietf/isodoc.rng
|
269
267
|
- lib/metanorma/ietf/macros.rb
|
270
268
|
- lib/metanorma/ietf/processor.rb
|
269
|
+
- lib/metanorma/ietf/relaton-ietf.rng
|
271
270
|
- lib/metanorma/ietf/reqt.rng
|
272
271
|
- lib/metanorma/ietf/validate.rb
|
273
272
|
- lib/metanorma/ietf/version.rb
|
@@ -287,14 +286,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
287
286
|
requirements:
|
288
287
|
- - ">="
|
289
288
|
- !ruby/object:Gem::Version
|
290
|
-
version: 2.
|
289
|
+
version: 2.7.0
|
291
290
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
292
291
|
requirements:
|
293
292
|
- - ">="
|
294
293
|
- !ruby/object:Gem::Version
|
295
294
|
version: '0'
|
296
295
|
requirements: []
|
297
|
-
rubygems_version: 3.
|
296
|
+
rubygems_version: 3.3.7
|
298
297
|
signing_key:
|
299
298
|
specification_version: 4
|
300
299
|
summary: metanorma-ietf lets you write IETF documents, such as Internet-Drafts and
|
data/.github/workflows/rake.yml
DELETED
@@ -1,16 +0,0 @@
|
|
1
|
-
# Auto-generated by Cimas: Do not edit it manually!
|
2
|
-
# See https://github.com/metanorma/cimas
|
3
|
-
name: rake
|
4
|
-
|
5
|
-
on:
|
6
|
-
push:
|
7
|
-
branches: [ master, main ]
|
8
|
-
tags: [ v* ]
|
9
|
-
pull_request:
|
10
|
-
|
11
|
-
|
12
|
-
jobs:
|
13
|
-
rake:
|
14
|
-
uses: metanorma/ci/.github/workflows/xml2rfc-rake.yml@main
|
15
|
-
secrets:
|
16
|
-
pat_token: ${{ secrets.METANORMA_CI_PAT_TOKEN }}
|
@@ -1,24 +0,0 @@
|
|
1
|
-
# Auto-generated by Cimas: Do not edit it manually!
|
2
|
-
# See https://github.com/metanorma/cimas
|
3
|
-
name: release
|
4
|
-
|
5
|
-
on:
|
6
|
-
workflow_dispatch:
|
7
|
-
inputs:
|
8
|
-
next_version:
|
9
|
-
description: |
|
10
|
-
Next release version. Possible values: x.y.z, major, minor, patch or pre|rc|etc
|
11
|
-
required: true
|
12
|
-
default: 'skip'
|
13
|
-
push:
|
14
|
-
tags: [ v* ]
|
15
|
-
|
16
|
-
jobs:
|
17
|
-
release:
|
18
|
-
uses: metanorma/ci/.github/workflows/rubygems-release.yml@main
|
19
|
-
with:
|
20
|
-
next_version: ${{ github.event.inputs.next_version }}
|
21
|
-
secrets:
|
22
|
-
rubygems-api-key: ${{ secrets.METANORMA_CI_RUBYGEMS_API_KEY }}
|
23
|
-
pat_token: ${{ secrets.METANORMA_CI_PAT_TOKEN }}
|
24
|
-
|