uc3-dmp-id 0.0.117 → 0.0.118

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: 6ccf6b10cf1c9f0db9b4c5f381c593133ac600d546d513a372f3f8c06c2bbce9
4
- data.tar.gz: e1f232093d7572b753361b6d39b508178378761128a59ae8785f9f77ed47056e
3
+ metadata.gz: d8c6957a44305c0672094337dece821e95d6717789f7287964879c5bf1f79899
4
+ data.tar.gz: b370d9a55508323ff2eb8602cdf216d975221cd802594188cdd2f7d1976155a9
5
5
  SHA512:
6
- metadata.gz: 9906ad125e407b89ee9528e9efe3be6e6af6cf2dedb5d5afe77bbad56570f98e8c3c7bd08ec5a9213fe3a1145fa79b52d6a37301a833efa802d7db84d63b8fbf
7
- data.tar.gz: 02f32dd2f0b51a900275fd5719b9247dd0b42c0af2f6e5aef35baa37e788529b13651b3b42c300d1ecbc77ba742fb5cd9868c4f520b449813a4a4798b6ac5927
6
+ metadata.gz: 573a61ed707f036719d3cd96720c257cdab95d12474c9072ba2eeccfde1f86470acb8b717b4fff725be2a43275df891f9d8622d8d4597250c5993f3e25c3713b
7
+ data.tar.gz: 1dec43e2f2247a3da2299170418a430edae5778b96a2313354f82a8930c68e02ea20a9b4b85bedacf7e774ae8665e6c37502e121037d0a73e7ce18f685caf142
@@ -218,7 +218,7 @@ module Uc3DmpId
218
218
  return json.map { |obj| cleanse_dmp_json(json: obj) }.compact if json.is_a?(Array)
219
219
 
220
220
  cleansed = {}
221
- allowable = %w[dmphub_versions dmphub_updated_at]
221
+ allowable = %w[dmphub_created_at dmphub_updated_at dmphub_versions]
222
222
  json.each_key do |key|
223
223
  next if (key.to_s.start_with?('dmphub') && !allowable.include?(key)) || %w[PK SK].include?(key.to_s)
224
224
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Uc3DmpId
4
- VERSION = '0.0.117'
4
+ VERSION = '0.0.118'
5
5
  end
@@ -58,7 +58,9 @@ module Uc3DmpId
58
58
 
59
59
  msg = "#{SOURCE} created version PK: #{prior['PK']} SK: #{prior['SK']}"
60
60
  logger.info(message: msg, details: prior) if logger.respond_to?(:debug)
61
- # Return the latest version
61
+
62
+ # Set the modification dates to now and then return the latest version
63
+ latest_version['dmphub_modified_at'] = Time.now.iso8601
62
64
  latest_version
63
65
  end
64
66
  # rubocop:enable Metrics/AbcSize, Metrics/CyclomaticComplexity, Metrics/PerceivedComplexity
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.117
4
+ version: 0.0.118
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Riley