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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e9baa9eecc31bb5de8d8d9e4620215669e18ba9b
4
- data.tar.gz: bcd9e5d5b3675e071244e2893831a973a9133e1d
3
+ metadata.gz: 6780a7a945647fee66a03d09d0078f0380e5b843
4
+ data.tar.gz: 2038417c3ca307187099e6d4a8b40e6f4b86d8cd
5
5
  SHA512:
6
- metadata.gz: daa8999e16d699dbd060f237115011acdd968e9b30a78fe78a0473d396a167267eac153ceb66e540fa642daa364675926841ada6b50a7a0986b9c0e284f85de2
7
- data.tar.gz: 6da0c6204454907c01584c5833ff6de911ab93f0bce6fba51ac8053c37de4a59ae8765dd740e5ff47b0565ffe9403c3beb494e0cad68f82e5ccdfb111d31846e
6
+ metadata.gz: e09e6078eb545cbcfba2e232c4e96c693d5864d194141afcbf6e703d96d15c283e3c77e32d57c4089ab0bf8c4f611bf15bd85d9ce3d4fe9e7b3158aad35f0928
7
+ data.tar.gz: b5824dfa9bd07fd22608ccb9434ed2f114e493de73c8e5a788f51a20133b1370dc14d4ee137f5bc42a35220325c4f818b7ef5910fe534fddadc6d9f8cc652d17
data/lib/dor/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Dor
2
- VERSION = '5.8.1'.freeze
2
+ VERSION = '5.8.2'.freeze
3
3
  end
@@ -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"] = "#{process.date_time}Z"
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.1
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-16 00:00:00.000000000 Z
17
+ date: 2016-07-06 00:00:00.000000000 Z
18
18
  dependencies:
19
19
  - !ruby/object:Gem::Dependency
20
20
  name: active-fedora