uc3-dmp-id 0.1.57 → 0.1.58

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: 141e0ecd0482b349f2b98f2d41029623f42c755324bb6ab0347c1703d224393f
4
- data.tar.gz: 8872a059855cb558f884a2b8542c8dece13aaad36c7b73679d90f7e129e6667b
3
+ metadata.gz: '0987f59845998c2a2e3409986fe93f8b176f0f3ad175f2b25384fd1c558dd943'
4
+ data.tar.gz: 7ee6181e791f32a788c96e4f5c4a174cb510f7b89a99d2bd0dc4e575e457efe8
5
5
  SHA512:
6
- metadata.gz: 26f0b387fcc3417459c6a0b2363f6a6aa1ab8bade5690679ce60e2ecb8a010ec5e2bcf34d442f4fe93f5e0206cacef679842feea67b76bb9d0cbd54a14a57bf1
7
- data.tar.gz: 143a749ad8e6f425360b5b8f8aa55c58be4a046a1b858360bdb9f6154bf75b891956436a33ecc045324f1a4abd64ac9d450c7e7b1616f9a3dc7f32e314bbddf9
6
+ metadata.gz: a66993ced9e0c61fac91fb754f90f637c7eaf630c8751b3dd2ee7b4b396f3741e71ec48fd64e387c508cc68b2bcad4f9cf89dda747a56b2d0eb2fb42720a6c30
7
+ data.tar.gz: 42ca4b60f5e094acd492257dd97da3fc1191912c9f1dbad4fbbe614c7ad34ea02db617ea1e9501e02ede5a5a4e4493d5e7041d365bceff6bbc7f6d604cf34ad9
@@ -151,7 +151,7 @@ module Uc3DmpId
151
151
  elsif !email.nil?
152
152
  args = {
153
153
  filter_expression: 'contains(:people, people) AND :sk = sk',
154
- expression_attribute_values: { ':sk': 'METADATA', ':people': [email] }
154
+ expression_attribute_values: { ':sk': 'METADATA', ':people': [email.gsub('%40', '@')] }
155
155
  }
156
156
  else
157
157
  # It wasn't an email or ORCID, so return an empty array
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Uc3DmpId
4
- VERSION = '0.1.57'
4
+ VERSION = '0.1.58'
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.57
4
+ version: 0.1.58
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Riley