relaton-bib 1.14.7 → 1.14.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/grammars/basicdoc.rng +0 -1
- data/grammars/biblio.rng +12 -2
- data/grammars/versions.json +5 -4
- data/lib/relaton_bib/version.rb +1 -1
- data/lib/relaton_bib/xml_parser.rb +3 -1
- data/relaton-bib.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ff4c62e3683ecca566b1d7c049ec5c3baf69f75fe3813acda5f747a8d385bafa
|
4
|
+
data.tar.gz: cf3201b765d07ebb8db5a07637aeb86dca0e0bb60fad3bf1d0673dab103fb58e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: addfb32431cc77d4cb144661cc9e2967ab7733ca47e2f039f939915988f855d02629e320d5fd913aacca5381155cc6e60d6ddef5327383623dc9cc424141346c
|
7
|
+
data.tar.gz: afce6d86c91eb274d2e43c4ffd2c9c15e06340d613daf3fbe364c67299968c143ec482878af20836855d47fb691a65b79f7f2c1470f060a4749d47834afbe5a8
|
data/grammars/basicdoc.rng
CHANGED
data/grammars/biblio.rng
CHANGED
@@ -216,6 +216,9 @@
|
|
216
216
|
<optional>
|
217
217
|
<ref name="fullname"/>
|
218
218
|
</optional>
|
219
|
+
<zeroOrMore>
|
220
|
+
<ref name="credential"/>
|
221
|
+
</zeroOrMore>
|
219
222
|
<zeroOrMore>
|
220
223
|
<ref name="affiliation"/>
|
221
224
|
</zeroOrMore>
|
@@ -232,6 +235,11 @@
|
|
232
235
|
<ref name="FullNameType"/>
|
233
236
|
</element>
|
234
237
|
</define>
|
238
|
+
<define name="credential">
|
239
|
+
<element name="credential">
|
240
|
+
<text/>
|
241
|
+
</element>
|
242
|
+
</define>
|
235
243
|
<define name="FullNameType">
|
236
244
|
<choice>
|
237
245
|
<group>
|
@@ -305,7 +313,9 @@
|
|
305
313
|
<zeroOrMore>
|
306
314
|
<ref name="affiliationdescription"/>
|
307
315
|
</zeroOrMore>
|
308
|
-
<
|
316
|
+
<optional>
|
317
|
+
<ref name="organization"/>
|
318
|
+
</optional>
|
309
319
|
</element>
|
310
320
|
</define>
|
311
321
|
<define name="affiliationname">
|
@@ -1316,7 +1326,7 @@
|
|
1316
1326
|
<value>commentaryOf</value>
|
1317
1327
|
<value>hasCommentary</value>
|
1318
1328
|
<value>related</value>
|
1319
|
-
<value>
|
1329
|
+
<value>hasComplement</value>
|
1320
1330
|
<value>complementOf</value>
|
1321
1331
|
<value>obsoletes</value>
|
1322
1332
|
<value>obsoletedBy</value>
|
data/grammars/versions.json
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
{
|
2
|
-
"relaton-models": "v1.2.
|
3
|
-
"basicdoc-models": "v1.0.
|
2
|
+
"relaton-models": "v1.2.3",
|
3
|
+
"basicdoc-models": "v1.0.2",
|
4
4
|
"metanorma-requirements-models": "v1.0.0",
|
5
5
|
"relaton-model-ieee": "v1.0.0",
|
6
6
|
"relaton-model-iso": "v1.0.0",
|
7
7
|
"relaton-model-iec": "v1.0.0",
|
8
|
-
"relaton-model-bsi": "v1.0.
|
8
|
+
"relaton-model-bsi": "v1.0.2",
|
9
9
|
"relaton-model-gb": "v1.0.0",
|
10
10
|
"relaton-model-mpfa": "v1.0.0",
|
11
11
|
"relaton-model-bipm": "v1.0.0",
|
@@ -27,5 +27,6 @@
|
|
27
27
|
"relaton-model-iana": "v1.0.0",
|
28
28
|
"relaton-model-omg": "v1.0.0",
|
29
29
|
"relaton-model-oasis": "v1.0.0",
|
30
|
-
"
|
30
|
+
"relaton-model-jis": "v0.0.1",
|
31
|
+
"date": "2023-03-28T19:11:37Z"
|
31
32
|
}
|
data/lib/relaton_bib/version.rb
CHANGED
@@ -363,9 +363,11 @@ module RelatonBib
|
|
363
363
|
#
|
364
364
|
# @param [Nokogiri::XML::Element] org XML element
|
365
365
|
#
|
366
|
-
# @return [RelatonBib::Organization] organization
|
366
|
+
# @return [RelatonBib::Organization, nil] organization
|
367
367
|
#
|
368
368
|
def get_org(org) # rubocop:disable Metrics/AbcSize, Metrics/MethodLength
|
369
|
+
return unless org
|
370
|
+
|
369
371
|
names = org.xpath("name").map do |n|
|
370
372
|
{ content: n.text, language: n[:language], script: n[:script] }
|
371
373
|
end
|
data/relaton-bib.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: relaton-bib
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.14.
|
4
|
+
version: 1.14.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-03-
|
11
|
+
date: 2023-03-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: byebug
|
@@ -198,14 +198,14 @@ dependencies:
|
|
198
198
|
requirements:
|
199
199
|
- - "~>"
|
200
200
|
- !ruby/object:Gem::Version
|
201
|
-
version: 1.
|
201
|
+
version: 1.14.0
|
202
202
|
type: :runtime
|
203
203
|
prerelease: false
|
204
204
|
version_requirements: !ruby/object:Gem::Requirement
|
205
205
|
requirements:
|
206
206
|
- - "~>"
|
207
207
|
- !ruby/object:Gem::Version
|
208
|
-
version: 1.
|
208
|
+
version: 1.14.0
|
209
209
|
description: 'RelatonBib: Ruby XMLDOC impementation.'
|
210
210
|
email:
|
211
211
|
- open.source@ribose.com
|