uc3-dmp-id 0.0.36 → 0.0.38

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: 9d509211398e3615790609d689825fead87db452b1f75ee3e04adf6463efe535
4
- data.tar.gz: 4212135594b43aa8248d2ec958992be2e75205ab30f3c63cbfc6db3ea2d0e2fc
3
+ metadata.gz: d8ee7796cf097ad54eb92a0c580576c869b0b3d9442b532310741d1bf927a213
4
+ data.tar.gz: 4b398d34f0bb0eac14294f32550397edc442f1cdc0565183328884b235826937
5
5
  SHA512:
6
- metadata.gz: ad503c8e9314acae53f8b70709d08d05bb9ff4070551c0cd0aa2309d0fe3c6b429d83f79b171076b96aff1a0aff40e068b48bb03250e0160f23490bf1f899805
7
- data.tar.gz: f1599bc00705158bda3370e8da32edb8df1212e2224e8d6f0497f6d367eb3275fdc76f863b6248afe1360aecefb70460a7ee7c98c4d488daeb8a8ceea8757a6e
6
+ metadata.gz: 2d372493be217828155d5f0d84f9d3f7c3cfb0e866831851ca734af2d8d195af8bfac481754e27f3cc16462cccca946f190a76e8a893bfed1a14c2dc6df77f9d
7
+ data.tar.gz: ecf187ab58f5c59034a27f2d1f40e73a68f0a707919a72ae76c62ff7ad3e71d2b242b61f8712f148ccd27015453a6cc6eee72651b55602b3558797ea48b0fb21
@@ -15,7 +15,7 @@ module Uc3DmpId
15
15
 
16
16
  class << self
17
17
  # TODO: Replace this with ElasticSearch
18
- def search_dmps(**_args)
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(**args)
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
@@ -60,7 +60,7 @@ module Uc3DmpId
60
60
 
61
61
  # Once the DMP has been updated, we need to register it's DMP ID and download any PDF if applicable
62
62
  # -------------------------------------------------------------------------
63
- def _post_process(json:, debug: debug)
63
+ def _post_process(json:, debug: false)
64
64
  return false unless json.is_a?(Hash)
65
65
 
66
66
  # Indicate whether or not the updater is the provenance system
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Uc3DmpId
4
- VERSION = '0.0.36'
4
+ VERSION = '0.0.38'
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.0.36
4
+ version: 0.0.38
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Riley