uc3-dmp-id 0.0.106 → 0.0.108
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/updater.rb +1 -2
- data/lib/uc3-dmp-id/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5ac1d8aa8c945ab970a842b101c6abf86fb0c758877e138c3b8d8078e1e34b0f
|
4
|
+
data.tar.gz: 6a3bcb2ba5577ce20ec437344fbcf4ec85c03dccc3309a2e9e1e0de505e8e5da
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1c60ca807292bcc01defd4a9f46b10e3719e2000f942b536eb3609a2c76f17bd6ea4149e1346f7a5067941a203fcb9355bb9506511de5713c73bb0521a5f0c1a
|
7
|
+
data.tar.gz: f5c3eae81c888a1389115898ec6cc654902545c51883cc66dca5f514c023024b1045c1d365b6335a509b4373c3e11b8844f423b17968271817ae8f96ca37cb76
|
data/lib/uc3-dmp-id/updater.rb
CHANGED
@@ -117,7 +117,6 @@ puts version
|
|
117
117
|
updated = Asserter.splice(latest_version: version, modified_version: mods, logger: logger) if owner == updater
|
118
118
|
|
119
119
|
# Attach the incoming changes as an assertion to the DMP ID since the updater is NOT the owner
|
120
|
-
updater = provenance['PK']
|
121
120
|
updated = Asserter.add(updater: updater, dmp: version, mods: mods, note: note, logger: logger) if owner != updater
|
122
121
|
|
123
122
|
merge_versions(latest_version: version, mods: updated, logger: logger)
|
@@ -134,7 +133,7 @@ puts version
|
|
134
133
|
keys_to_retain.each do |key|
|
135
134
|
mods[key] = latest_version[key]
|
136
135
|
end
|
137
|
-
logger.debug(message: 'Modifications after merge.', details mods)
|
136
|
+
logger.debug(message: 'Modifications after merge.', details: mods)
|
138
137
|
mods
|
139
138
|
end
|
140
139
|
|
data/lib/uc3-dmp-id/version.rb
CHANGED