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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9db4d292ea111c582968fb625988bf1479ee1f72d660b3f0c7c6b85084590888
4
- data.tar.gz: d447c63fc694a3b5d490a092a90d08175b4e67b42979b275bf336e77b8b8e027
3
+ metadata.gz: ef0bbc594a0540d23d3d7854fe746de6e78bec7a123979e27729e8185658e414
4
+ data.tar.gz: 61eefb4bf61d39d06b55008bd7cc15811e9dd403b7c92d40d10ab6f4865bfb71
5
5
  SHA512:
6
- metadata.gz: c5aa415cd76013eb41033aa02796351cff7c3343d018f35ca1a5fafa5e845d553d7cb38b05de8c005bf90afdec06ee36effe9563e5a210ac43aa2653da2f790d
7
- data.tar.gz: b6c612125ee87bf1d583db3173cf7947b123273d93a24c46a68a5412697b263dbf090eac41603bbde940aaaf260aae23b89148364488fdaf012b7c101e05d79b
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 prefered as without it, a call to
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.lifecycle('dor', pid, 'opened', version: version) ||
16
+ client.active_lifecycle('dor', pid, 'opened') ||
17
17
  client.workflow_status('dor', pid, 'accessionWF', 'sdr-ingest-transfer') == 'hold'
18
18
  end
19
19
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Dor
4
- VERSION = '8.1.0'
4
+ VERSION = '8.1.1'
5
5
  end
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.0
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-19 00:00:00.000000000 Z
23
+ date: 2019-09-20 00:00:00.000000000 Z
24
24
  dependencies:
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: active-fedora