uc3-dmp-id 0.1.76 → 0.1.77

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9d18daee8127652273ede255b35ce9c8401354f5082c4f1806737b2486dc7178
4
- data.tar.gz: a2b7599f05bc790822d80e5ec7dd83a64ef42ef5fd52cc4eae5db90792d0185a
3
+ metadata.gz: dcc7bf54d3beeb3610d64490a6037022fbef6569ae0ee67188eeafea34a67ae7
4
+ data.tar.gz: 722e4bd441ed71e9265d6bde56663cccc6b4ccbf49178ac24d1b46072aa97295
5
5
  SHA512:
6
- metadata.gz: 72080a3809333bd1c3dacd7540c7bf108bf99b8fa0fa6b0450aae2180af8ff175ab273f9509f26043c01a14c0d45a478c4c242798c5f571a1befcdfe5a9784d8
7
- data.tar.gz: 887b4651957305c709eaec3139735b83854d432dd8894777c0437ee4d243d09ff98a2244f9dd9486474ec89e56c8470d8b8ddad527f2507d83b7c0c903c544e2
6
+ metadata.gz: 293ab0fd326ff54633662b53aae5a82a24b456593134196c0f15e167a3acaf57706ee2c432e4ba3bb1ef382f80540f3df9cc7074312606d58c6ec3d1a9c54da9
7
+ data.tar.gz: a0f9ee659c34501642287dfc4cbbd77b4e184d09272cac143df8d2fd60fab51a05ab5c24d50647c5650b9b8dcd55162b4c4394e65f54748e6ff0ca2e0f4a429a
@@ -45,7 +45,7 @@ module Uc3DmpId
45
45
  raise UpdaterError, Helper::MSG_DMP_FORBIDDEN if owner != updater
46
46
 
47
47
  # Handle any changes to the dmphub_modifications section
48
- version = _process_harvester_mods(client:, p_key:, json: payload, logger:)
48
+ version = _process_harvester_mods(client:, p_key:, json: payload, version:, logger:)
49
49
  logger&.debug(message: 'Version after process_harvester_mods', details: version)
50
50
 
51
51
  # Remove the version info any any lingering modification blocks
@@ -174,7 +174,7 @@ module Uc3DmpId
174
174
  # rubocop:enable Metrics/PerceivedComplexity, Metrics/CyclomaticComplexity
175
175
 
176
176
  # Fetch any Harvester modifications to the JSON
177
- def _process_harvester_mods(client:, p_key:, json:, logger: nil)
177
+ def _process_harvester_mods(client:, p_key:, json:, version:, logger: nil)
178
178
  logger&.debug(message: 'Incoming modifications', details: json)
179
179
  return json if json.fetch('dmphub_modifications', []).empty?
180
180
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Uc3DmpId
4
- VERSION = '0.1.76'
4
+ VERSION = '0.1.77'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: uc3-dmp-id
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.76
4
+ version: 0.1.77
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Riley