relaton-bib 1.19.4 → 1.19.5

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: 999dde6e3d1bb1df421041946e460c0bbea4032b69833aa8215912f972af65fb
4
+ data.tar.gz: de8d307b656e2ecbbac2ef6b50d49eb7d053cae4d84b71838d4d9bc50023f478
5
5
  SHA512:
6
- metadata.gz: b20b0ad0f1677bb3ef51adadd220d37fb3a22d8791f20f8f442c0b9cf7235fd933d833f9a8958f911b577f096c2b350c94c0c3748543df078ac8ab7485686e29
7
- data.tar.gz: 88fa4fdaf09a61417e022a6893d8d998247b49aad4454ad3b4182991b80a41e0cb0e911e01d1fb74463d1418499d3d97c99b2c2893759af9cbf79b0c58130197
6
+ metadata.gz: 37fda9565921654b8d3a939b77aa3e6e9ef9884ed763504993468c7cb8fac7f07c063c20676114baae892b2720cf37dec277c6f920aab088bbd94198273d2926
7
+ data.tar.gz: 38cc5aa0b08a19c8e6d7ef93e82c8b95be9e604afb8dcfae3a437bd310c6fcd73c8b1096456d5b64f812d4fc0dc5c85b57fdc196bae4eb3dec4431b62605cf77
@@ -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.5".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.5
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-09-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable