relaton-itu 1.8.2 → 1.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/rake.yml +1 -11
- data/grammars/basicdoc.rng +165 -20
- data/grammars/biblio.rng +5 -6
- data/grammars/isodoc.rng +532 -16
- data/grammars/itu.rng +66 -30
- data/grammars/reqt.rng +31 -2
- data/lib/relaton_itu/version.rb +1 -1
- data/relaton-itu.gemspec +1 -3
- metadata +4 -4
data/grammars/itu.rng
CHANGED
@@ -87,6 +87,9 @@
|
|
87
87
|
<optional>
|
88
88
|
<ref name="doctype"/>
|
89
89
|
</optional>
|
90
|
+
<optional>
|
91
|
+
<ref name="docsubtype"/>
|
92
|
+
</optional>
|
90
93
|
<ref name="editorialgroup"/>
|
91
94
|
<zeroOrMore>
|
92
95
|
<ref name="ics"/>
|
@@ -130,6 +133,63 @@
|
|
130
133
|
</oneOrMore>
|
131
134
|
</element>
|
132
135
|
</define>
|
136
|
+
<define name="Clause-Section">
|
137
|
+
<optional>
|
138
|
+
<attribute name="id">
|
139
|
+
<data type="ID"/>
|
140
|
+
</attribute>
|
141
|
+
</optional>
|
142
|
+
<optional>
|
143
|
+
<attribute name="language"/>
|
144
|
+
</optional>
|
145
|
+
<optional>
|
146
|
+
<attribute name="script"/>
|
147
|
+
</optional>
|
148
|
+
<optional>
|
149
|
+
<attribute name="inline-header">
|
150
|
+
<data type="boolean"/>
|
151
|
+
</attribute>
|
152
|
+
</optional>
|
153
|
+
<optional>
|
154
|
+
<attribute name="obligation">
|
155
|
+
<choice>
|
156
|
+
<value>normative</value>
|
157
|
+
<value>informative</value>
|
158
|
+
</choice>
|
159
|
+
</attribute>
|
160
|
+
</optional>
|
161
|
+
<optional>
|
162
|
+
<attribute name="type"/>
|
163
|
+
</optional>
|
164
|
+
<optional>
|
165
|
+
<attribute name="unnumbered">
|
166
|
+
<data type="boolean"/>
|
167
|
+
</attribute>
|
168
|
+
</optional>
|
169
|
+
<optional>
|
170
|
+
<ref name="section-title"/>
|
171
|
+
</optional>
|
172
|
+
<group>
|
173
|
+
<choice>
|
174
|
+
<group>
|
175
|
+
<zeroOrMore>
|
176
|
+
<ref name="BasicBlock"/>
|
177
|
+
</zeroOrMore>
|
178
|
+
<zeroOrMore>
|
179
|
+
<ref name="note"/>
|
180
|
+
</zeroOrMore>
|
181
|
+
</group>
|
182
|
+
<ref name="amend"/>
|
183
|
+
</choice>
|
184
|
+
<zeroOrMore>
|
185
|
+
<choice>
|
186
|
+
<ref name="clause-subsection"/>
|
187
|
+
<ref name="terms"/>
|
188
|
+
<ref name="definitions"/>
|
189
|
+
</choice>
|
190
|
+
</zeroOrMore>
|
191
|
+
</group>
|
192
|
+
</define>
|
133
193
|
</include>
|
134
194
|
<define name="meeting">
|
135
195
|
<element name="meeting">
|
@@ -177,36 +237,6 @@
|
|
177
237
|
<text/>
|
178
238
|
</element>
|
179
239
|
</define>
|
180
|
-
<define name="TextElement" combine="choice">
|
181
|
-
<choice>
|
182
|
-
<ref name="add"/>
|
183
|
-
<ref name="del"/>
|
184
|
-
</choice>
|
185
|
-
</define>
|
186
|
-
<define name="add">
|
187
|
-
<element name="add">
|
188
|
-
<choice>
|
189
|
-
<ref name="PureTextElement"/>
|
190
|
-
<ref name="eref"/>
|
191
|
-
<ref name="stem"/>
|
192
|
-
<ref name="keyword"/>
|
193
|
-
<ref name="xref"/>
|
194
|
-
<ref name="hyperlink"/>
|
195
|
-
</choice>
|
196
|
-
</element>
|
197
|
-
</define>
|
198
|
-
<define name="del">
|
199
|
-
<element name="del">
|
200
|
-
<choice>
|
201
|
-
<ref name="PureTextElement"/>
|
202
|
-
<ref name="eref"/>
|
203
|
-
<ref name="stem"/>
|
204
|
-
<ref name="keyword"/>
|
205
|
-
<ref name="xref"/>
|
206
|
-
<ref name="hyperlink"/>
|
207
|
-
</choice>
|
208
|
-
</element>
|
209
|
-
</define>
|
210
240
|
<define name="ipnoticereceived">
|
211
241
|
<element name="ip-notice-received">
|
212
242
|
<data type="boolean"/>
|
@@ -329,6 +359,9 @@
|
|
329
359
|
<zeroOrMore>
|
330
360
|
<ref name="termdocsource"/>
|
331
361
|
</zeroOrMore>
|
362
|
+
<optional>
|
363
|
+
<ref name="misccontainer"/>
|
364
|
+
</optional>
|
332
365
|
<optional>
|
333
366
|
<ref name="boilerplate"/>
|
334
367
|
</optional>
|
@@ -340,6 +373,9 @@
|
|
340
373
|
<ref name="annex"/>
|
341
374
|
</zeroOrMore>
|
342
375
|
<ref name="bibliography"/>
|
376
|
+
<zeroOrMore>
|
377
|
+
<ref name="indexsect"/>
|
378
|
+
</zeroOrMore>
|
343
379
|
</element>
|
344
380
|
</define>
|
345
381
|
</grammar>
|
data/grammars/reqt.rng
CHANGED
@@ -30,15 +30,34 @@
|
|
30
30
|
<data type="boolean"/>
|
31
31
|
</attribute>
|
32
32
|
</optional>
|
33
|
+
<optional>
|
34
|
+
<attribute name="number"/>
|
35
|
+
</optional>
|
33
36
|
<optional>
|
34
37
|
<attribute name="subsequence"/>
|
35
38
|
</optional>
|
39
|
+
<optional>
|
40
|
+
<attribute name="keep-with-next">
|
41
|
+
<data type="boolean"/>
|
42
|
+
</attribute>
|
43
|
+
</optional>
|
44
|
+
<optional>
|
45
|
+
<attribute name="keep-lines-together">
|
46
|
+
<data type="boolean"/>
|
47
|
+
</attribute>
|
48
|
+
</optional>
|
36
49
|
<attribute name="id">
|
37
50
|
<data type="ID"/>
|
38
51
|
</attribute>
|
39
52
|
<optional>
|
40
53
|
<attribute name="filename"/>
|
41
54
|
</optional>
|
55
|
+
<optional>
|
56
|
+
<attribute name="model"/>
|
57
|
+
</optional>
|
58
|
+
<optional>
|
59
|
+
<attribute name="type"/>
|
60
|
+
</optional>
|
42
61
|
<optional>
|
43
62
|
<ref name="reqtitle"/>
|
44
63
|
</optional>
|
@@ -48,9 +67,9 @@
|
|
48
67
|
<optional>
|
49
68
|
<ref name="subject"/>
|
50
69
|
</optional>
|
51
|
-
<
|
70
|
+
<zeroOrMore>
|
52
71
|
<ref name="reqinherit"/>
|
53
|
-
</
|
72
|
+
</zeroOrMore>
|
54
73
|
<zeroOrMore>
|
55
74
|
<ref name="classification"/>
|
56
75
|
</zeroOrMore>
|
@@ -135,6 +154,16 @@
|
|
135
154
|
<data type="boolean"/>
|
136
155
|
</attribute>
|
137
156
|
</optional>
|
157
|
+
<optional>
|
158
|
+
<attribute name="keep-with-next">
|
159
|
+
<data type="boolean"/>
|
160
|
+
</attribute>
|
161
|
+
</optional>
|
162
|
+
<optional>
|
163
|
+
<attribute name="keep-lines-together">
|
164
|
+
<data type="boolean"/>
|
165
|
+
</attribute>
|
166
|
+
</optional>
|
138
167
|
<oneOrMore>
|
139
168
|
<ref name="BasicBlock"/>
|
140
169
|
</oneOrMore>
|
data/lib/relaton_itu/version.rb
CHANGED
data/relaton-itu.gemspec
CHANGED
@@ -26,17 +26,15 @@ Gem::Specification.new do |spec|
|
|
26
26
|
spec.require_paths = ["lib"]
|
27
27
|
spec.required_ruby_version = Gem::Requirement.new(">= 2.5.0")
|
28
28
|
|
29
|
-
# spec.add_development_dependency "debase"
|
30
29
|
spec.add_development_dependency "equivalent-xml", "~> 0.6"
|
31
30
|
spec.add_development_dependency "pry-byebug"
|
32
31
|
spec.add_development_dependency "rake", "~> 13.0"
|
33
32
|
spec.add_development_dependency "rspec", "~> 3.0"
|
34
|
-
# spec.add_development_dependency "ruby-debug-ide"
|
35
33
|
spec.add_development_dependency "ruby-jing"
|
36
34
|
spec.add_development_dependency "simplecov"
|
37
35
|
spec.add_development_dependency "vcr", "~> 5.0.0"
|
38
36
|
spec.add_development_dependency "webmock"
|
39
37
|
|
40
38
|
spec.add_dependency "mechanize", "~> 2.8.0"
|
41
|
-
spec.add_dependency "relaton-bib", "~> 1.
|
39
|
+
spec.add_dependency "relaton-bib", "~> 1.9.0"
|
42
40
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: relaton-itu
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-08-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: equivalent-xml
|
@@ -142,14 +142,14 @@ dependencies:
|
|
142
142
|
requirements:
|
143
143
|
- - "~>"
|
144
144
|
- !ruby/object:Gem::Version
|
145
|
-
version: 1.
|
145
|
+
version: 1.9.0
|
146
146
|
type: :runtime
|
147
147
|
prerelease: false
|
148
148
|
version_requirements: !ruby/object:Gem::Requirement
|
149
149
|
requirements:
|
150
150
|
- - "~>"
|
151
151
|
- !ruby/object:Gem::Version
|
152
|
-
version: 1.
|
152
|
+
version: 1.9.0
|
153
153
|
description: 'RelatonItu: retrieve ITU Standards for bibliographic use using the BibliographicItem
|
154
154
|
model'
|
155
155
|
email:
|