uc3-dmp-id 0.1.65 → 0.1.66
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/uc3-dmp-id/finder.rb +1 -6
- data/lib/uc3-dmp-id/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 74310c12bb7285f727847d907d1a0b1daadb3b8453300ce21646a8ba7213dd8b
|
4
|
+
data.tar.gz: d85c590833ce193fe65473a00e0cda4ef773447612cafb906ada550b40bcc9ca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c0df29e207aab6c23ea054a8bac839f2bf7f410624f8ca8b761c1a5901beb3219e4a91f49177349b11f20b22b27c8970dd63b8fe6ecb69e3b82ff70363c415f0
|
7
|
+
data.tar.gz: dc51dfdde1d71627deef239ad523c9e911e85be8fc31872eb03b1a064a0bc183fffe7db8dde6734e09e0418e68e72f56a92bca60d2185c9bfddc454329a4385e
|
data/lib/uc3-dmp-id/finder.rb
CHANGED
@@ -53,7 +53,7 @@ module Uc3DmpId
|
|
53
53
|
|
54
54
|
# Fetch full DMP records for the results
|
55
55
|
client = Uc3DmpDynamo::Client.new(table: ENV['DYNAMO_TABLE'])
|
56
|
-
|
56
|
+
pks.map { |p_key| by_pk(p_key:, client:, logger:, cleanse: true) }
|
57
57
|
end
|
58
58
|
|
59
59
|
# Find a DMP based on the contents of the incoming JSON
|
@@ -216,11 +216,6 @@ module Uc3DmpId
|
|
216
216
|
_process_search_response(response: client.scan(args:))
|
217
217
|
end
|
218
218
|
|
219
|
-
# Fetches all of the DMPs by their PKs
|
220
|
-
def _fetch_dmps(client:, pks:, logger: null)
|
221
|
-
|
222
|
-
end
|
223
|
-
|
224
219
|
# Transform the search results so that we do not include any of the DMPHub specific metadata
|
225
220
|
def _process_search_response(response:)
|
226
221
|
return [] unless response.is_a?(Array) && response.any?
|
data/lib/uc3-dmp-id/version.rb
CHANGED