uc3-dmp-id 0.1.80 → 0.1.81

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: 9e69e96c9dc20009c9a8ae00a332cff2348e529ffbfce306418a781977bf13b0
4
- data.tar.gz: c3d4e37d7fefef7d98aa6606e5063a6539270c31d7916af1f964b99065b80724
3
+ metadata.gz: 3de2c7edd72200592a63d6bad11a19ed289c9f3dfa35272d82ff98ec666b89ab
4
+ data.tar.gz: 7b887212a1babb8f7928ba8bc3062c4c6a282d29af346c36d5e0f61083e67356
5
5
  SHA512:
6
- metadata.gz: 92b6adb8619e99a00dcd61876c429d55757a6bb79841ffb5ddffbf04c0cc2fe10003464a8a3274b0886c639c2f527e241ca3b714c1b9e31c16d2fc125938d559
7
- data.tar.gz: 6f6519e59f7c708be73fe721a7b68013e17dd523ebd42e33d5b6aedc7755a5364d3dafbf4df4534a10d3d34c320aa79b17e122e15eea0c3a8477032b3c454e89
6
+ metadata.gz: 8685a865bb59f270cced7d0ffab66cd12a87a03a2d078accb2676a4d28ba73f13cf3d728b829e7e207aecddaa4cc10a53257414cb53c8e13f8cd0559b34e1210
7
+ data.tar.gz: 13886474742a157b539d70b7e77961ab2a5272818ab0bd6df519ea11b7a6d18720b1f4268ec43ee532f3e4493bd92b9a5b31485d0530b38e6450972a821ef429
@@ -37,7 +37,9 @@ module Uc3DmpId
37
37
  funder = args['funder']
38
38
 
39
39
  owner_pks = owner.nil? ? [] : _by_owner(owner: owner, client:, logger:)
40
- org_pks = org.nil? ? [] : _by_org(org: org, client:, logger:)
40
+ # There may be multiple Org ids, so query them all
41
+ org_pks = org.nil? ? [] : org.split('|').map { |o| _by_org(org: o, client:, logger:) }
42
+ org_pks = org_pks.flatten.uniq
41
43
  funder_pks = funder.nil? ? [] : _by_funder(funder: funder, client:, logger:)
42
44
  # pks = [owner_pks, org_pks, funder_pks].reject(&:empty?)
43
45
  logger&.debug(
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Uc3DmpId
4
- VERSION = '0.1.80'
4
+ VERSION = '0.1.81'
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.80
4
+ version: 0.1.81
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Riley