uc3-dmp-id 0.1.74 → 0.1.75
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 +5 -5
- 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: 18cc7a2a74f91898c76cb8686c511023bc31dd2147d92bd172ae7a00a2dd72b3
|
4
|
+
data.tar.gz: ab9b8e2009e384fc1b20a99ea92dc92ddabc1779c9c6d02ed369d171724766cb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d989d0ea6f7e7cb0486f9b7982a40f4085dc4056576c7f4bb0225b5d37f1fb9175fc57f3628a3d1e1cd2cf342305fb79791681798657c58f0be6bccc61bee5aa
|
7
|
+
data.tar.gz: 71379ba74f63add7f9443b0a85b30cb64664e5602499cabd91f27512a5b0567bb88f83e9890efd42e8b6914267457aabfb177ee616eb3925939991c147e1fe4d
|
data/lib/uc3-dmp-id/updater.rb
CHANGED
@@ -141,12 +141,12 @@ module Uc3DmpId
|
|
141
141
|
|
142
142
|
logger.debug(message: 'Modifications before merge.', details: mods) if logger.respond_to?(:debug)
|
143
143
|
keys_to_retain = version.keys.select do |key|
|
144
|
-
|
145
|
-
|
146
|
-
end
|
147
|
-
keys_to_retain.each do |key|
|
148
|
-
mods[key] = version[key]
|
144
|
+
key.start_with?('dmphub_') &&
|
145
|
+
!%w[dmphub_modifications dmphub_versions].include?(key)
|
149
146
|
end
|
147
|
+
keys_to_retain.each { |key| mods[key] = version[key] }
|
148
|
+
|
149
|
+
mods['PK'] = version['PK']
|
150
150
|
mods['SK'] = Helper::DMP_LATEST_VERSION
|
151
151
|
logger.debug(message: 'Modifications after merge.', details: mods) if logger.respond_to?(:debug)
|
152
152
|
mods
|
data/lib/uc3-dmp-id/version.rb
CHANGED