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 +4 -4
- data/lib/uc3-dmp-id/creator.rb +1 -1
- data/lib/uc3-dmp-id/deleter.rb +1 -1
- data/lib/uc3-dmp-id/updater.rb +1 -1
- data/lib/uc3-dmp-id/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cb9d04c54e282c729615f79d23b6269419b885c85ead76717df87d3d913a99ee
|
4
|
+
data.tar.gz: d197c9c56d42e339b80863de0bc2f4cadbb0e813663925c27a70df9149f586da
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6c6c0fb8f00efd9f29bed43ca71519c6e35728671cf322054ede4d2abb3e19cf6a7452f58126408d607c8a9c1978308eb07f002c0c3462cd01d443476fb2e7bd
|
7
|
+
data.tar.gz: 342cb856af47d06a18c6041784a8c379c4458d58bed55b609ec78c509453adb4c150e338408780c663c6bbd55b2c0ff86094d990dfc8e775e9f9de55ee63ee98
|
data/lib/uc3-dmp-id/creator.rb
CHANGED
@@ -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)
|
data/lib/uc3-dmp-id/deleter.rb
CHANGED
@@ -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
|
data/lib/uc3-dmp-id/updater.rb
CHANGED
@@ -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)
|
data/lib/uc3-dmp-id/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2023-08-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|