uc3-dmp-id 0.0.138 → 0.0.139

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: '02680b9c04b11bccb85df84a1284b131303a62f6d71a2f1c69916cb3354e8b6b'
4
- data.tar.gz: 82bf4da553ab4d395d245bd35299ce92e157ee400da63cccbced150e5aa115b6
3
+ metadata.gz: cb9d04c54e282c729615f79d23b6269419b885c85ead76717df87d3d913a99ee
4
+ data.tar.gz: d197c9c56d42e339b80863de0bc2f4cadbb0e813663925c27a70df9149f586da
5
5
  SHA512:
6
- metadata.gz: d4770d6f0635fb199aa1a11e0a69a22afaad6bb283068bcc83341d335fae1cc74ae33c9c129c78f8f237313fd8b9d9f8874477c73560980fe6de4b6542a7cbba
7
- data.tar.gz: b03d6992d814a990bed40637a9f3b653273692f5cc0ede5859674d00d5332dd8d5822ab8f91568701fc8506dd8c64fc42efacd9606870cc6e6ef77b3da3f95c4
6
+ metadata.gz: 6c6c0fb8f00efd9f29bed43ca71519c6e35728671cf322054ede4d2abb3e19cf6a7452f58126408d607c8a9c1978308eb07f002c0c3462cd01d443476fb2e7bd
7
+ data.tar.gz: 342cb856af47d06a18c6041784a8c379c4458d58bed55b609ec78c509453adb4c150e338408780c663c6bbd55b2c0ff86094d990dfc8e775e9f9de55ee63ee98
@@ -91,7 +91,7 @@ module Uc3DmpId
91
91
  json['dmphub_updater_is_provenance'] = true
92
92
  # Publish the change to the EventBridge
93
93
  publisher = Uc3DmpEventBridge::Publisher.new
94
- publisher.publish(source: 'DmpCreator', dmp: json, logger: logger)
94
+ publisher.publish(source: 'DmpCreator', event_type: 'EZID update', dmp: json, logger: logger)
95
95
 
96
96
  # Determine if there are any related identifiers that we should try to fetch a citation for
97
97
  citable_identifiers = Helper.citable_related_identifiers(dmp: json)
@@ -67,7 +67,7 @@ module Uc3DmpId
67
67
  json['dmphub_updater_is_provenance'] = true
68
68
  # Publish the change to the EventBridge
69
69
  publisher = Uc3DmpEventBridge::Publisher.new
70
- publisher.publish(source: 'DmpDeleter', dmp: json, logger: logger)
70
+ publisher.publish(source: 'DmpDeleter', event_type: 'EZID update', dmp: json, logger: logger)
71
71
  true
72
72
  end
73
73
  end
@@ -143,7 +143,7 @@ module Uc3DmpId
143
143
  json['dmphub_updater_is_provenance'] = provenance['PK'] == json['dmphub_provenance_id']
144
144
  # Publish the change to the EventBridge
145
145
  publisher = Uc3DmpEventBridge::Publisher.new
146
- publisher.publish(source: 'DmpUpdater', dmp: json, logger: logger)
146
+ publisher.publish(source: 'DmpUpdater', event_type: 'EZID update', dmp: json, logger: logger)
147
147
 
148
148
  # Determine if there are any related identifiers that we should try to fetch a citation for
149
149
  citable_identifiers = Helper.citable_related_identifiers(dmp: json)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Uc3DmpId
4
- VERSION = '0.0.138'
4
+ VERSION = '0.0.139'
5
5
  end
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.138
4
+ version: 0.0.139
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-15 00:00:00.000000000 Z
11
+ date: 2023-08-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json