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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1f023fcb91e266127f48ad78b82617722f7070650f0a98557b9c3e421cc78fa8
4
- data.tar.gz: da5b16df1e563d3a98e6bfb7c0b466abab330fe700f39999a150ed210498059f
3
+ metadata.gz: 74310c12bb7285f727847d907d1a0b1daadb3b8453300ce21646a8ba7213dd8b
4
+ data.tar.gz: d85c590833ce193fe65473a00e0cda4ef773447612cafb906ada550b40bcc9ca
5
5
  SHA512:
6
- metadata.gz: b711a007a42257f4f871e3774e2d3aaba17e85f10eff7c4b4ef3b5a62ec655766acb429e0aa2665de113e1946f1c8d121d8baa856d079537d874afe261d8c392
7
- data.tar.gz: fd88161a773adb588b85165e47bfc5e8435e32104e78f9013e9f453674d06b6a37593d890c6d59b939fd580607756aacaf288915a7af7398a72d66ad38992aef
6
+ metadata.gz: c0df29e207aab6c23ea054a8bac839f2bf7f410624f8ca8b761c1a5901beb3219e4a91f49177349b11f20b22b27c8970dd63b8fe6ecb69e3b82ff70363c415f0
7
+ data.tar.gz: dc51dfdde1d71627deef239ad523c9e911e85be8fc31872eb03b1a064a0bc183fffe7db8dde6734e09e0418e68e72f56a92bca60d2185c9bfddc454329a4385e
@@ -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
- _fetch_dmps(client:, pks: dmps.map { |dmp| dmp['pk'] }, logger:)
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?
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Uc3DmpId
4
- VERSION = '0.1.65'
4
+ VERSION = '0.1.66'
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.65
4
+ version: 0.1.66
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Riley