uc3-dmp-id 0.0.129 → 0.0.130

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: 2024007f975c53df4f9be8e39229ad6e4779ba792be21888853bc00ce9631715
4
- data.tar.gz: 6cde371bb0f84552394e20aac0f9a811d72ca79495b6dd1559dc87bf70f84099
3
+ metadata.gz: 31d34f3534a7e775dc8d3fe10b6f5a33c3255e1eb5df0bbd9e1b58068f45bceb
4
+ data.tar.gz: b2b848d9bcc32b6c4c443a5ceeb886bd5f399fa52cfba8b4099fc97359c42c0e
5
5
  SHA512:
6
- metadata.gz: f507041a4466514e498da66af95bbd5e404325e897655dfb15b5fc4d8de17e7c5df3f8d688048481c63283629bdabf139709329ec1d6a1b73e60e554b1427bad
7
- data.tar.gz: 1160d4404031406cf7ddf89ed3e1e25faf74a8f2c8cb9f1c2f07290c44d2bd3bf85cadb2f56c6797275f06bc3548ef1c3f1dafd3c01baa30f81e2fe344682ebf
6
+ metadata.gz: ea3cda475f42e31b8dfb96250c865fc8dae00684c5e99aff635d1789cacb4c17bec265bbd8c9cccbc0286ed4590877607ca8048c18471ab3f06e375008e92c84
7
+ data.tar.gz: 538d5e733bb99a7c0c997dfd40d6b2baa917fcb80570c78abe9bdb111f5eec339a62189795ff003326a2368b3f0fe4c2f74c651d77c7a81c916d687d62437d9e
@@ -101,7 +101,6 @@ module Uc3DmpId
101
101
  citable_identifiers.each do |identifier|
102
102
  citer_detail = {
103
103
  PK: json['PK'],
104
- SK: json['SK'],
105
104
  dmproadmap_related_identifier: identifier
106
105
  }
107
106
  publisher.publish(source: 'DmpCreator', dmp: json, event_type: 'Citation Fetch', detail: citer_detail, logger: logger)
@@ -144,16 +144,22 @@ module Uc3DmpId
144
144
 
145
145
  # Determine if there are any related identifiers that we should try to fetch a citation for
146
146
  citable_identifiers = Helper.citable_related_identifiers(related_identifiers: json)
147
+
148
+ puts "CITATION BIT:"
149
+ puts citable_identifiers
150
+
147
151
  return true if citable_identifiers.empty?
148
152
 
149
153
  # Process each citation individually because they can be slow to fetch
150
154
  citable_identifiers.each do |identifier|
151
155
  citer_detail = {
152
156
  PK: json['PK'],
153
- SK: json['SK'],
154
157
  dmproadmap_related_identifier: identifier
155
158
  }
156
- publisher.publish(source: 'DmpCreator', dmp: json, event_type: 'Citation Fetch', detail: citer_detail, logger: logger)
159
+
160
+ puts "SENDING MESSAGE To BRIDGE FOR: #{identifier['identifier']}"
161
+
162
+ publisher.publish(source: 'DmpUpdater', dmp: json, event_type: 'Citation Fetch', detail: citer_detail, logger: logger)
157
163
  end
158
164
  true
159
165
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Uc3DmpId
4
- VERSION = '0.0.129'
4
+ VERSION = '0.0.130'
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.0.129
4
+ version: 0.0.130
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Riley