uc3-dmp-id 0.0.98 → 0.0.99
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 -1
- 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: e3bcba612098c1d0acd9a553f25549a198bbefb0f28c9c0ef166038382c17c07
|
4
|
+
data.tar.gz: 5ba9be2055b9c39a4c887930b5250860cd9dc986ddf4d0248d25e786f932c9fe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f3b3e728a5c532fb024dddd69a366fc9867e3a05856562c863b89059a38a320d63e70b9d0241249b2a8d419bf8898e894bd93617c681b3601ea82e701433f558
|
7
|
+
data.tar.gz: 5401aba365595519141ea7f2115366bdaf53b47183ee2fcd3ecba219c9625f8148cc1042faa8f67737f4fb750d60dfe62d2a334ed8e7449a02b8edbd2023744f
|
data/lib/uc3-dmp-id/updater.rb
CHANGED
@@ -29,7 +29,7 @@ module Uc3DmpId
|
|
29
29
|
logger.error(message: errs.join(', ')) if errs.is_a?(Array) && errs.any?
|
30
30
|
raise UpdaterError, errs if errs.is_a?(Array) && errs.any?
|
31
31
|
# Don't continue if nothing has changed!
|
32
|
-
raise UpdaterError, MSG_NO_CHANGE if Helper.eql?(dmp_a:
|
32
|
+
raise UpdaterError, MSG_NO_CHANGE if Helper.eql?(dmp_a: latest_version, dmp_b: mods)
|
33
33
|
|
34
34
|
# Version the DMP ID record (if applicable).
|
35
35
|
owner = latest_version['dmphub_provenance_id']
|
data/lib/uc3-dmp-id/version.rb
CHANGED