dor-services-client 6.29.0 → 6.30.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: e44b232de63ec88be66da8ef7f2334860a33e996632b7ecb79ee2e2928af33e1
4
- data.tar.gz: 9e373dcc5e8ebeb39b154853898117a88397d3dc263f466a60fcf6c1010c3f31
3
+ metadata.gz: a3a59be89c29777a2d25842c678336bd5d36714c821b502c54fd8519598ce848
4
+ data.tar.gz: 3de8f082cb20a465b45c8e9127e78288cd8669beeed1d499ee9fe5ce548afef4
5
5
  SHA512:
6
- metadata.gz: 9f87acf4192e098774c638f061f519ccd6f8b555d8087eeb591517c6892345e079b5d180de532ecb04a3a7e902af4aa4a620dc485b6f7a21ed66cf106e59607c
7
- data.tar.gz: ecd7f9b38217c6b8d73d8cc25156fd5ea6c8ded64de91f442e1980fbc800076a1847ebb28a67b1a8edf6a52e861bb8387eafc2e547f0c2dfd91b288c930036de
6
+ metadata.gz: 24cd6e54a140ad2741d6c057ef3b101e718973228b7290028905246f006fbccf13aa195d09c37d7cfcae643477bb2881ca9fb0a8154f4c12938f0a495c57d247
7
+ data.tar.gz: 49e5d7fc07f5c5bc3eca476a0d0c9c2b051a184ed0796fce01a04e055cad56999fc3161fca28bab01ff034500954286610f9d093ece129cba7a9e21bbd8ef01c
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
25
25
  spec.required_ruby_version = '~> 2.6'
26
26
 
27
27
  spec.add_dependency 'activesupport', '>= 4.2', '< 7'
28
- spec.add_dependency 'cocina-models', '~> 0.55.0' # leave pinned to patch level until cocina-models hits 1.0
28
+ spec.add_dependency 'cocina-models', '~> 0.56.0' # leave pinned to patch level until cocina-models hits 1.0
29
29
  spec.add_dependency 'deprecation', '>= 0'
30
30
  spec.add_dependency 'faraday', '>= 0.15', '< 2'
31
31
  spec.add_dependency 'moab-versioning', '~> 4.0'
@@ -87,7 +87,7 @@ module Dor
87
87
  end
88
88
  raise_exception_based_on_response!(resp, object_identifier) unless resp.success?
89
89
 
90
- JSON.parse(resp.body).map { |params| Datastream.new(**params) }
90
+ JSON.parse(resp.body).map { |params| Datastream.new(**params.symbolize_keys!) }
91
91
  end
92
92
 
93
93
  # @param [String] dsid the identifier for the datastream
@@ -88,7 +88,7 @@ module Dor
88
88
  end
89
89
  raise_exception_based_on_response!(resp, object_identifier) unless resp.success?
90
90
 
91
- JSON.parse(resp.body).fetch('versions').map { |params| Version.new(**params) }
91
+ JSON.parse(resp.body).fetch('versions').map { |params| Version.new(**params.symbolize_keys!) }
92
92
  end
93
93
 
94
94
  private
@@ -3,7 +3,7 @@
3
3
  module Dor
4
4
  module Services
5
5
  class Client
6
- VERSION = '6.29.0'
6
+ VERSION = '6.30.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: 6.29.0
4
+ version: 6.30.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Coyne
@@ -37,14 +37,14 @@ dependencies:
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 0.55.0
40
+ version: 0.56.0
41
41
  type: :runtime
42
42
  prerelease: false
43
43
  version_requirements: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 0.55.0
47
+ version: 0.56.0
48
48
  - !ruby/object:Gem::Dependency
49
49
  name: deprecation
50
50
  requirement: !ruby/object:Gem::Requirement
@@ -269,7 +269,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
269
269
  - !ruby/object:Gem::Version
270
270
  version: '0'
271
271
  requirements: []
272
- rubygems_version: 3.1.4
272
+ rubygems_version: 3.0.3
273
273
  signing_key:
274
274
  specification_version: 4
275
275
  summary: A client for dor-services-app