dor-services 5.8.1 → 5.8.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dor/version.rb +1 -1
- data/lib/dor/workflow/document.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6780a7a945647fee66a03d09d0078f0380e5b843
|
4
|
+
data.tar.gz: 2038417c3ca307187099e6d4a8b40e6f4b86d8cd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e09e6078eb545cbcfba2e232c4e96c693d5864d194141afcbf6e703d96d15c283e3c77e32d57c4089ab0bf8c4f611bf15bd85d9ce3d4fe9e7b3158aad35f0928
|
7
|
+
data.tar.gz: b5824dfa9bd07fd22608ccb9434ed2f114e493de73c8e5a788f51a20133b1370dc14d4ee137f5bc42a35220325c4f818b7ef5910fe534fddadc6d9f8cc652d17
|
data/lib/dor/version.rb
CHANGED
@@ -102,8 +102,8 @@ module Workflow
|
|
102
102
|
processes.each do |process|
|
103
103
|
next unless process.status.present?
|
104
104
|
# add a record of the robot having operated on this item, so we can track robot activity
|
105
|
-
if process.date_time && process.status && (process.status == 'completed' || process.status == 'error')
|
106
|
-
solr_doc["wf_#{wf_name}_#{process.name}_dttsi"] =
|
105
|
+
if !process.date_time.blank? && process.status && (process.status == 'completed' || process.status == 'error')
|
106
|
+
solr_doc["wf_#{wf_name}_#{process.name}_dttsi"] = Time.parse(process.date_time).utc.iso8601
|
107
107
|
end
|
108
108
|
# index the error message without the druid so we hopefully get some overlap
|
109
109
|
add_solr_value(solr_doc, 'wf_error', "#{wf_name}:#{process.name}:#{process.error_message}", wf_solr_type, wf_solr_attrs) if process.error_message
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dor-services
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.8.
|
4
|
+
version: 5.8.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Klein
|
@@ -14,7 +14,7 @@ authors:
|
|
14
14
|
autorequire:
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
|
-
date: 2016-06
|
17
|
+
date: 2016-07-06 00:00:00.000000000 Z
|
18
18
|
dependencies:
|
19
19
|
- !ruby/object:Gem::Dependency
|
20
20
|
name: active-fedora
|