uc3-dmp-id 0.0.36 → 0.0.37
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 +2 -2
- 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: 628b2fb84344d551dd9757e91881ff1f1520f2f1c07516d746de801373558346
|
4
|
+
data.tar.gz: 7bc1288dcd9b5094a7f76d17c2d0f522083932f738ab1761890e7039cf57513d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 610e5de928292f96d236b28191bc57a13f6b4b744e08004c70ca4e5938130b79b041802e85f96e6f4484cb67e926632557651a5f46e1e7060c5bc462546480f5
|
7
|
+
data.tar.gz: '063822342f7c074e63b4e9919821b3500154fb60df9305427c79a6422acb3202afc404880242e5ca704fc662b869c31f8d5b506fe88119e6551b193fcdadc69f'
|
data/lib/uc3-dmp-id/finder.rb
CHANGED
@@ -15,7 +15,7 @@ module Uc3DmpId
|
|
15
15
|
|
16
16
|
class << self
|
17
17
|
# TODO: Replace this with ElasticSearch
|
18
|
-
def search_dmps(
|
18
|
+
def search_dmps(args:)
|
19
19
|
|
20
20
|
# TODO: Need to move this to ElasticSearch!!!
|
21
21
|
end
|
@@ -93,7 +93,7 @@ module Uc3DmpId
|
|
93
93
|
expression_attribute_values: { ':version': Helper::DMP_LATEST_VERSION }
|
94
94
|
}
|
95
95
|
client = client.nil? ? Uc3DmpDynamo::Client.new(debug: debug) : client
|
96
|
-
resp = client.query(
|
96
|
+
resp = client.query(args: args)
|
97
97
|
return resp unless resp.is_a?(Hash)
|
98
98
|
|
99
99
|
dmp = resp['dmp'].nil? ? JSON.parse({ dmp: resp }.to_json) : resp
|
data/lib/uc3-dmp-id/version.rb
CHANGED