dor-services-client 14.18.0 → 14.19.0

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: 410670858a6fc9b9b3eb0b680061594471a6a682d85e666f3bf25024bb2069eb
4
- data.tar.gz: 7c650e9738ed21e34ff5529e06ee671598bb3ab5a50a7001aa9581a60fa569c6
3
+ metadata.gz: 4136d57baaf81fc1d27cc97a9d9fca6dae65a9dc5e736fb73c33b83b79224ee2
4
+ data.tar.gz: 66cb019012bff4ff0a2b9a1c5595c1306055a899de81851f076654027d137e07
5
5
  SHA512:
6
- metadata.gz: 7471ac2399737050d387b8a36df88bdb7e1c5e60cf960b5ff313132660a0072c86e157be0f6e1df18625394bedcad3c9fa98702821e43cedc414131d7a1d99a3
7
- data.tar.gz: e198a1adc98a31ab498beea281966f24567dee5b565a22a3c7b6aa7ba0453854146cd6f6e50aee1996d7e5e5f1f0c471f38abcb49cd3aeda13d9a7d14a72cb4e
6
+ metadata.gz: 25fa723dfa2453e4976b6059c3e3b8f2b9c8d0e6a3ba3c60332c87d04a334c3ed7956d39902001e5fad8acb847a41ac55d9b60adcc84410690c9089939072c27
7
+ data.tar.gz: 48036d3c29fd7029b54d4670f92542f4fbf58d357e78a5ec21c2c6aa5f84a34387e3f2583eec096768727c3eb726c93e70065131c2b6c6f6c45e48a1979e6766
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- dor-services-client (14.18.0)
4
+ dor-services-client (14.19.0)
5
5
  activesupport (>= 4.2, < 8)
6
6
  cocina-models (~> 0.98.0)
7
7
  deprecation
@@ -4,8 +4,15 @@ module Dor
4
4
  module Services
5
5
  class Client
6
6
  # API calls that are about versions
7
- class ObjectVersion < VersionedService
8
- Version = Struct.new(:versionId, :message, keyword_init: true)
7
+ class ObjectVersion < VersionedService # rubocop:disable Metrics/ClassLength
8
+ Version = Struct.new(:versionId, :message, :cocina, keyword_init: true) do
9
+ alias_method :version, :versionId
10
+
11
+ def cocina?
12
+ cocina
13
+ end
14
+ end
15
+
9
16
  VersionStatus = Struct.new(:versionId, :open, :openable, :assembling, :accessioning, :closeable, keyword_init: true) do
10
17
  alias_method :version, :versionId
11
18
 
@@ -3,7 +3,7 @@
3
3
  module Dor
4
4
  module Services
5
5
  class Client
6
- VERSION = '14.18.0'
6
+ VERSION = '14.19.0'
7
7
  end
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dor-services-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 14.18.0
4
+ version: 14.19.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Coyne
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2024-07-31 00:00:00.000000000 Z
12
+ date: 2024-08-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport