uc3-dmp-id 0.1.14 → 0.1.15

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: 7ae3b97965d06d3157328d0c23441eb32b63013b52d78f631cb8bd5a9459eebd
4
- data.tar.gz: 4d731209d7649e2ed868d00cb7f69b061545edd75f36b73e7e0356aadae34a41
3
+ metadata.gz: 50e4167a85822b7208fb02842b7b8bafbc210acfcc33e6e290255df0ef2851ba
4
+ data.tar.gz: 7ede83d7378b2bc1f98e5b407befd1364ed0d2b16e23571190193bab96e2a08e
5
5
  SHA512:
6
- metadata.gz: 236e174f59feb0b53bf812c7baf81eaa505e041e01fc9e5b5a689f402b746c9b53652aff506742a1210b9265e5341119d1e52d816e2fce99fac58e59132cf427
7
- data.tar.gz: 3daabef6a600a9b490100b6a09db742c7e44e28368a9e936914371b34d25c8f2df996fbe3a19577cb64973c8f5a38a4c2d784563ceed4acd147779785277ee4b
6
+ metadata.gz: 2614a38a65bbaa997e2147946e501dcd2e4fd62834d6f4054e1e63f08bb8f0922f48ad309db92a381cfd6487d4523b6d59edc1ce839cea8ee76a3ab83d80e45e
7
+ data.tar.gz: e13fc035220a9807524720c62637508340f65032a9a42d4df7ece44fea22dfcb905887737bdbd7751287fbc098640b53fc09581414dbe257cd609e3494a4c954
@@ -42,7 +42,7 @@ module Uc3DmpId
42
42
 
43
43
  work_hash = _work_to_mod_entry(type: work_type[0..work_type.length - 2], work:)
44
44
  mod_hash.fetch('dmproadmap_related_identifiers', []) << work_hash unless work_hash.nil?
45
- fundings = publication.fetch('fundingReferences', [])
45
+ fundings = work.fetch('fundingReferences', [])
46
46
  next unless fundings.any?
47
47
 
48
48
  award_hash = fundings.map { |funding| _funding_to_mod_entry(work:, funding:) }
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Uc3DmpId
4
- VERSION = '0.1.14'
4
+ VERSION = '0.1.15'
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.14
4
+ version: 0.1.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Riley