uc3-dmp-id 0.1.73 → 0.1.74
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: 216eee2772c1e88ec1426ef8d0414e61958cfd3185149c999d19c02e38a9d32d
|
4
|
+
data.tar.gz: f97512390c550f0714381c75a8d8c9365de356d0d02db87be16081608084ac89
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 26491648692773b00eeae89efeb47f1f3c9c33897705974c6497193b21cbfc4a4b184b7ba0e9976751b2dad9e4c7d72c2cfc2867458bbbc81c4803614a4bff12
|
7
|
+
data.tar.gz: 59a869cb83864807167ccb21a4ce9f409afd73d60895d32ba91270da5fa7715e59d8e5310f576d6c582e40ec33961f2fe6fa2715622d5a71c5448234ad915830
|
data/lib/uc3-dmp-id/updater.rb
CHANGED
@@ -242,7 +242,7 @@ module Uc3DmpId
|
|
242
242
|
descriptor: related['descriptor'],
|
243
243
|
citation: related['citation']
|
244
244
|
}.to_json
|
245
|
-
elsif
|
245
|
+
elsif related['status'] != 'approved' && existing.any?
|
246
246
|
# otherwise remove it
|
247
247
|
json['dmproadmap_related_identifiers'] = json['dmproadmap_related_identifiers'].reject { |ri| ri == existing.first }
|
248
248
|
end
|
data/lib/uc3-dmp-id/version.rb
CHANGED