dor-services 8.1.0 → 8.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dor/services/state_service.rb +2 -2
- 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: ef0bbc594a0540d23d3d7854fe746de6e78bec7a123979e27729e8185658e414
|
4
|
+
data.tar.gz: 61eefb4bf61d39d06b55008bd7cc15811e9dd403b7c92d40d10ab6f4865bfb71
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5be82315538ea54e7dec4cfca937ab61e63abb7a1f14623d27be9f4f224d8755f4c1eba52ccb22dad351f1c928d4cf0f3ec66a2a96ffda4a6724650b1b00dd18
|
7
|
+
data.tar.gz: 5ce6a06eeeafd90849f22a835bb065e8913f2babfaed5b62f669e8d1f5d9e8379c1921b39ac3368b90b3f524e7db9f933ba8f5de8cece9889f22fb369b71484d
|
@@ -4,7 +4,7 @@ module Dor
|
|
4
4
|
class StateService
|
5
5
|
extend Deprecation
|
6
6
|
|
7
|
-
# having version is
|
7
|
+
# having version is preferred as without it, a call to
|
8
8
|
# fedora will be made to retrieve it.
|
9
9
|
def initialize(pid, version: nil)
|
10
10
|
@pid = pid
|
@@ -13,7 +13,7 @@ module Dor
|
|
13
13
|
|
14
14
|
def allows_modification?
|
15
15
|
!client.lifecycle('dor', pid, 'submitted') ||
|
16
|
-
client.
|
16
|
+
client.active_lifecycle('dor', pid, 'opened') ||
|
17
17
|
client.workflow_status('dor', pid, 'accessionWF', 'sdr-ingest-transfer') == 'hold'
|
18
18
|
end
|
19
19
|
|
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: 8.1.
|
4
|
+
version: 8.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Klein
|
@@ -20,7 +20,7 @@ authors:
|
|
20
20
|
autorequire:
|
21
21
|
bindir: bin
|
22
22
|
cert_chain: []
|
23
|
-
date: 2019-09-
|
23
|
+
date: 2019-09-20 00:00:00.000000000 Z
|
24
24
|
dependencies:
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: active-fedora
|