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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5bb386ccf7f35f6ce3d67f166b9bf3a064e86fabba2e9c4db568c4bfea3381f6
4
- data.tar.gz: e754cf74d0fd518b12ff5f91c3f1e0bfef94ed09ef0c6f989e3b509a8973cd9d
3
+ metadata.gz: ff4c62e3683ecca566b1d7c049ec5c3baf69f75fe3813acda5f747a8d385bafa
4
+ data.tar.gz: cf3201b765d07ebb8db5a07637aeb86dca0e0bb60fad3bf1d0673dab103fb58e
5
5
  SHA512:
6
- metadata.gz: cdbc44992b546db45cb397f92ea906166a0ba9f079b0e9daf40e7603e150756c2e852c1dc57535aa539193fd1cd5545638f1fd634bb837eaa2d1a9b6e68e3b39
7
- data.tar.gz: d7cc462c834c3d018377787e3f46bb017fb01b79ce90a85dcf97f20484d0ec47fcd12dfa4ecf49d9c34571e7198e3173024606cf9fdf4d1155ba7bb0542b723d
6
+ metadata.gz: addfb32431cc77d4cb144661cc9e2967ab7733ca47e2f039f939915988f855d02629e320d5fd913aacca5381155cc6e60d6ddef5327383623dc9cc424141346c
7
+ data.tar.gz: afce6d86c91eb274d2e43c4ffd2c9c15e06340d613daf3fbe364c67299968c143ec482878af20836855d47fb691a65b79f7f2c1470f060a4749d47834afbe5a8
@@ -522,7 +522,6 @@
522
522
  <value>tip</value>
523
523
  <value>important</value>
524
524
  <value>caution</value>
525
- <value>statement</value>
526
525
  </choice>
527
526
  </define>
528
527
  <define name="figure">
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
- <ref name="organization"/>
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>complements</value>
1329
+ <value>hasComplement</value>
1320
1330
  <value>complementOf</value>
1321
1331
  <value>obsoletes</value>
1322
1332
  <value>obsoletedBy</value>
@@ -1,11 +1,11 @@
1
1
  {
2
- "relaton-models": "v1.2.1",
3
- "basicdoc-models": "v1.0.1",
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.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
- "date": "2022-12-01T15:03:50Z"
30
+ "relaton-model-jis": "v0.0.1",
31
+ "date": "2023-03-28T19:11:37Z"
31
32
  }
@@ -1,3 +1,3 @@
1
1
  module RelatonBib
2
- VERSION = "1.14.7".freeze
2
+ VERSION = "1.14.8".freeze
3
3
  end
@@ -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
@@ -37,5 +37,5 @@ Gem::Specification.new do |spec|
37
37
  spec.add_dependency "bibtex-ruby"
38
38
  spec.add_dependency "htmlentities"
39
39
  spec.add_dependency "iso639"
40
- spec.add_dependency "nokogiri", "~> 1.13.0"
40
+ spec.add_dependency "nokogiri", "~> 1.14.0"
41
41
  end
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.7
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-13 00:00:00.000000000 Z
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.13.0
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.13.0
208
+ version: 1.14.0
209
209
  description: 'RelatonBib: Ruby XMLDOC impementation.'
210
210
  email:
211
211
  - open.source@ribose.com