uc3-dmp-id 0.1.48 → 0.1.49

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: df1e41215a66fdffdf4dffce3cd952e97996488abd9e1b3a41ee7d8aecf7be85
4
- data.tar.gz: 86644b4c270a4817d156ffbe290e3d31ff168e30802e2528a548cba9778e88b6
3
+ metadata.gz: 7368ba0ae54250187dc0d065882d067b516224f51161f16f09f8aad2acb90285
4
+ data.tar.gz: 6772dc1796b3a789de553d800a37da6005b132e7e56af871db2cdfdfcfda246b
5
5
  SHA512:
6
- metadata.gz: 7edcf7c6e2856935e19435b490a66593967d827a49a624fb6339cbbdd5a70ecd3d538aa5360601acdad05c66f6c474d3218f7848caa2427faec806b41565d13c
7
- data.tar.gz: fb72fa2a787456b7193d98275b4e08a0afc60881073c0b2c910e851dbf6ba01600e736fd3f4bc940ee1247f325fb7a16abad006a1767739470c026d3470fcfea
6
+ metadata.gz: a3996fdab01035f32b3daeecbdee23326d173a1e6b3697d4a3e92ae506a195c7a100f41750398b9ce06fb518b32a7381610bd95a700f25bba294a948f333c735
7
+ data.tar.gz: 7b5ea0f9d6e6821f4218ce0e7767d5f812b36f76d49ae7175234e35fae11526719b0152655fc0c2a58eb795fc16897fd1ef0fbed542104684183bc380819f58b
@@ -208,7 +208,7 @@ module Uc3DmpId
208
208
  next if entry.fetch('dmproadmap_related_identifiers', []).empty?
209
209
 
210
210
  entry['dmproadmap_related_identifiers'].each do |related|
211
- related_id = mods['related_works'][related&.identifier]
211
+ related_id = mods['related_works'][related.identifier] if related.respond_to?(:identifier)
212
212
  related_id = mods['related_works'][related['identifier']] if related_id.nil?
213
213
  next if related_id.nil?
214
214
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Uc3DmpId
4
- VERSION = '0.1.48'
4
+ VERSION = '0.1.49'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: uc3-dmp-id
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.48
4
+ version: 0.1.49
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Riley