dor-services 7.2.1 → 7.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/config/dev_console_env.rb +5 -5
- data/lib/dor/services/status_service.rb +4 -0
- data/lib/dor/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ae4d02122b3cf382df8348e84b31262d5829880bfa7d31cca8ab53bcc2848ecf
|
4
|
+
data.tar.gz: 4c1317070008aeef879df9ce74a23cc25c0a634f4c122c6c0e6fa3b88866a5a3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d76e06055782a5f2e9fbae414523840eea36cee27cde0246e016c1af659c9aaef064d7ea266d93954ca7bc20bb55748ef8d8b5d6ff9a65cdf4fcce9016a28a6d
|
7
|
+
data.tar.gz: 6167181cd3c362111a29896f68c5c85c4d288978adf3b0b614125a9bd37e33ec8f5d4d2055f3f528b1cd04426fad7170c8a889bc71c6f74f2aea56c6c8dbafd8
|
data/config/dev_console_env.rb
CHANGED
@@ -3,12 +3,12 @@ cert_dir = File.join(File.dirname(__FILE__), "certs")
|
|
3
3
|
Dor::Config.configure do
|
4
4
|
|
5
5
|
fedora do
|
6
|
-
url 'https://sul-dor-
|
6
|
+
url 'https://sul-dor-prod.stanford.edu/fedora'
|
7
7
|
end
|
8
8
|
|
9
9
|
ssl do
|
10
|
-
cert_file File.join(cert_dir,"dlss-dev-petucket-dor-
|
11
|
-
key_file File.join(cert_dir,"dlss-dev-petucket-dor-
|
10
|
+
cert_file File.join(cert_dir,"dlss-dev-petucket-dor-prod.crt")
|
11
|
+
key_file File.join(cert_dir,"dlss-dev-petucket-dor-prod.key")
|
12
12
|
key_pass ''
|
13
13
|
end
|
14
14
|
|
@@ -44,8 +44,8 @@ Dor::Config.configure do
|
|
44
44
|
pass 'lyberteam'
|
45
45
|
end
|
46
46
|
|
47
|
-
solr.url 'https://sul-solr-tester.stanford.edu/
|
48
|
-
workflow.url 'https://sul-lyberservices-
|
47
|
+
solr.url 'https://sul-solr-tester.stanford.edu/argo_prod'
|
48
|
+
workflow.url 'https://sul-lyberservices-prod.stanford.edu/workflow/'
|
49
49
|
dor_services.url 'https://dorAdmin:dorAdmin@sul-lyberservices-test.stanford.edu/dor'
|
50
50
|
|
51
51
|
purl do
|
@@ -46,6 +46,10 @@ module Dor
|
|
46
46
|
|
47
47
|
# @return [Hash{Symbol => Object}] including :current_version, :status_code and :status_time
|
48
48
|
def status_info
|
49
|
+
# if we have an accessioned milestone, this is the last possible step and should be the status regardless of time stamp
|
50
|
+
accessioned_milestones = current_milestones.select { |m| m[:milestone] == 'accessioned' }
|
51
|
+
return { current_version: current_version, status_code: STEPS['accessioned'], status_time: accessioned_milestones.last[:at].utc.xmlschema } unless accessioned_milestones.empty?
|
52
|
+
|
49
53
|
status_code = 0
|
50
54
|
status_time = nil
|
51
55
|
# for each milestone in the current version, see if it comes at the same time or after the current 'last' step, if so, make it the last and record the date/time
|
data/lib/dor/version.rb
CHANGED
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: 7.2.
|
4
|
+
version: 7.2.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: 2019-07-
|
17
|
+
date: 2019-07-11 00:00:00.000000000 Z
|
18
18
|
dependencies:
|
19
19
|
- !ruby/object:Gem::Dependency
|
20
20
|
name: active-fedora
|