relaton-bib 1.19.4 → 1.19.6

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: f30aba03119323515ec5e39d4a257a15a4de1a83148eb6e45f1b21ba63e42e14
4
- data.tar.gz: e2588577b331caa08e3396689fa76af66770961e5e76809765a4af3733eb41f5
3
+ metadata.gz: d7dc485533664cf7ec13d5d628849f0237a894da40ad65c2e2a60a71d39d584e
4
+ data.tar.gz: bc31b86355b227dc3f31945bdd0a59182b3607dada3e940ce6a8756c16abbaae
5
5
  SHA512:
6
- metadata.gz: b20b0ad0f1677bb3ef51adadd220d37fb3a22d8791f20f8f442c0b9cf7235fd933d833f9a8958f911b577f096c2b350c94c0c3748543df078ac8ab7485686e29
7
- data.tar.gz: 88fa4fdaf09a61417e022a6893d8d998247b49aad4454ad3b4182991b80a41e0cb0e911e01d1fb74463d1418499d3d97c99b2c2893759af9cbf79b0c58130197
6
+ metadata.gz: 6ca99b6fb66303dddea58d088a4d8a09eb0c8c0db20082371206e4e72030a04ddd7a93bd9b416d0b4fca3b284e5228e91e353976c851bd3a4e98ecd985749f0c
7
+ data.tar.gz: 31b387e1dbef6e707020d11f9ca73a4148c869c15c7786c2d66d63d63217ca27802b413b9879a00b48cd127bb58a55a043e744a5047a4c29c976c6e8ca433a97
@@ -29,6 +29,7 @@
29
29
  "relaton-model-oasis": "v1.0.1",
30
30
  "relaton-model-jis": "v0.0.1",
31
31
  "relaton-model-etsi": "v0.0.3",
32
+ "relaton-model-plateau": "v0.0.1",
32
33
  "metanorma-model": "v1.3.0",
33
34
  "date": "2024-02-21T18:15:14Z"
34
35
  }
@@ -229,7 +229,7 @@ module RelatonBib
229
229
  OrgIdentifier.new(a[:type], a[:id])
230
230
  end
231
231
  org[:subdivision] = RelatonBib.array(org[:subdivision]).map do |sd|
232
- LocalizedString.new sd
232
+ LocalizedString.new sd.is_a?(Hash) ? sd[:content] : sd
233
233
  end
234
234
  org[:contact] = contacts_hash_to_bib(org)
235
235
  org[:logo] = Image.new(**org[:logo][:image]) if org[:logo]
@@ -1,3 +1,3 @@
1
1
  module RelatonBib
2
- VERSION = "1.19.4".freeze
2
+ VERSION = "1.19.6".freeze
3
3
  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.19.4
4
+ version: 1.19.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-08-23 00:00:00.000000000 Z
11
+ date: 2024-10-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable