uc3-dmp-id 0.0.114 → 0.0.115

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: d876d32599d5fa2789295bdc8b56fac457ce46dad99f5868b4678da0dfbd4b5b
4
- data.tar.gz: e2002398c51f999cc23b124d72512e00e75c95ee4569c74da4f0c71b908eb23e
3
+ metadata.gz: b22c5194f2049a0ab75190bc17b180093062eccf8852cad2cf4311c17d0901d0
4
+ data.tar.gz: 1bd679933bc73b6f59bcaaa75f47c849dc186adb8ae6143ee5111e31753735bc
5
5
  SHA512:
6
- metadata.gz: 4f3f9447df740150cddaec35cfb60dfab158186edab0d7bdbb95db59b23f877d1a616e4c2df4e5a2bad951e090750c7cecff3f6eb3800481d78502324061fa31
7
- data.tar.gz: d15f9a28ca2eb4ebacad05ea6d728982e025a0508a649c330747d3711b052802178df331c2eb11359977130522b88f761f71a07292b4be12dc4a7759d31c382f
6
+ metadata.gz: '08459891276482962365ff1c5a29169001234ce6d9854b12ed20da432c420359e22386555b47b49a3c6611d8add052a5745c1c35351fd20ab7ee37bde35833d4'
7
+ data.tar.gz: d4764adcb6c227794dba5be9055ddf9d1983ceeed94761b8f154d7b7017e546f4ea041f43875b9d0e166501b10c23207638389134beca7eabfbcc053beda8272
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Uc3DmpId
4
- VERSION = '0.0.114'
4
+ VERSION = '0.0.115'
5
5
  end
@@ -73,10 +73,10 @@ module Uc3DmpId
73
73
  return json unless results.length > 1
74
74
 
75
75
  versions = results.map do |ver|
76
- next if ver['modified'].nil?
76
+ next if ver['dmphub_updated_at'].nil?
77
77
  {
78
- timestamp: ver['modified'],
79
- url: "#{Helper.landing_page_url}#{Helper.remove_pk_prefix(p_key: p_key)}?version=#{ver['modified']}"
78
+ timestamp: ver['dmphub_updated_at'],
79
+ url: "#{Helper.landing_page_url}#{Helper.remove_pk_prefix(p_key: p_key)}?version=#{ver['dmphub_updated_at']}"
80
80
  }
81
81
  end
82
82
  json['dmp']['dmphub_versions'] = JSON.parse(versions.to_json)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: uc3-dmp-id
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.114
4
+ version: 0.0.115
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Riley
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-08-01 00:00:00.000000000 Z
11
+ date: 2023-08-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json