dor-services-client 6.16.0 → 6.19.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d8122cd463359daa898bf9b00a6dc918bc71283e4e7dfd807abea2744293eb02
4
- data.tar.gz: 2901730e26e540ab45e01935e6a595b20238ab6130b7b9342c13c7d2c1da4ccd
3
+ metadata.gz: 72f1b7c5455609fe385186fd17ed5a11b64d32b34ab834b129e0def6d780380e
4
+ data.tar.gz: 438813e4a2d4980107492de59491e31a52559aa4aadd714b6758956030a76ccf
5
5
  SHA512:
6
- metadata.gz: 8e624ab7ef5c5a75a9f40a0d17a7b9e2ed4f5ce7c5ad230e697f40057cfd4391c70e5dd3f831babfa64ec21f07ea8fb18082676adb1039ff8e1de347b339b800
7
- data.tar.gz: 3f6f77695f3d033ef748bc29784b811de948317a0f40081fd372f2746f318c3d959f61fa9d004c53b2eaaa5e0c88cbcc5659dee2c60f0a5a69e7fb79f80652ae
6
+ metadata.gz: ef785f729082747f8792c1cc63ecd5a1f8f29876475ad1d8600ba8dd59746f14e93d5412bc2ce345a238c60160e7418e8de8f0949363d9a52e7278b768d66e4e
7
+ data.tar.gz: 1a4b9fee367f195e3b269210a2aeeb75f5828d054c0a37f2029827b03b3ce37c592dd7533ef258fe22490d2cfa61633dee17f724d2a781fca71a6a4547b75c38
data/README.md CHANGED
@@ -53,7 +53,7 @@ Note:
53
53
 
54
54
  ## API Coverage
55
55
 
56
- Dor::Services:Client provides a number of methods to simplify connecting to the RESTful HTTP API of dor-services-app. In this section we list all of the available methods, reflecting how much of the API the client covers. For details see the [API docs](https://www.rubydoc.info/github/sul-dlss/dor-services-client/master/Dor/Services/Client)
56
+ Dor::Services:Client provides a number of methods to simplify connecting to the RESTful HTTP API of dor-services-app. In this section we list all of the available methods, reflecting how much of the API the client covers. For details see the [API docs](https://www.rubydoc.info/github/sul-dlss/dor-services-client/main/Dor/Services/Client)
57
57
 
58
58
  ```ruby
59
59
  # Perform operations on one or more objects
@@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
23
23
  spec.require_paths = ['lib']
24
24
 
25
25
  spec.add_dependency 'activesupport', '>= 4.2', '< 7'
26
- spec.add_dependency 'cocina-models', '~> 0.44.0' # leave pinned to patch level until cocina-models hits 1.0
26
+ spec.add_dependency 'cocina-models', '~> 0.47.2' # leave pinned to patch level until cocina-models hits 1.0
27
27
  spec.add_dependency 'deprecation', '>= 0'
28
28
  spec.add_dependency 'faraday', '>= 0.15', '< 2'
29
29
  spec.add_dependency 'moab-versioning', '~> 4.0'
@@ -15,17 +15,20 @@ module Dor
15
15
 
16
16
  # Updates using the legacy SDR/Fedora3 metadata
17
17
  # @param [Hash<Symbol,Hash>] opts the options for legacy update
18
- # @option opts [Hash] :descriptive Data for descriptive metadata
19
- # @option opts [Hash] :rights Data for access rights metadata
18
+ # @option opts [Hash] :administrative Data for administrative metadata
20
19
  # @option opts [Hash] :content Data for structural metadata
20
+ # @option opts [Hash] :descriptive Data for descriptive metadata
21
+ # @option opts [Hash] :geo Data for geographic metadata
21
22
  # @option opts [Hash] :identity Data for identity metadata
22
- # @option opts [Hash] :technical Data for technical metadata
23
23
  # @option opts [Hash] :provenance Data for provenance metadata
24
- # @option opts [Hash] :geo Data for geographic metadata
24
+ # @option opts [Hash] :relationships Data for RELS-EXT metadata
25
+ # @option opts [Hash] :rights Data for access rights metadata
26
+ # @option opts [Hash] :technical Data for technical metadata
27
+ # @option opts [Hash] :version Data for version metadata
25
28
  # @example:
26
29
  # legacy_update(descriptive: { updated: '2001-12-20', content: '<descMetadata />' })
27
30
  def legacy_update(opts)
28
- opts = opts.slice(:descriptive, :rights, :identity, :content, :technical, :provenance, :geo)
31
+ opts = opts.slice(:administrative, :content, :descriptive, :geo, :identity, :provenance, :relationships, :rights, :technical, :version)
29
32
  resp = connection.patch do |req|
30
33
  req.url "#{base_path}/legacy"
31
34
  req.headers['Content-Type'] = 'application/json'
@@ -3,7 +3,7 @@
3
3
  module Dor
4
4
  module Services
5
5
  class Client
6
- VERSION = '6.16.0'
6
+ VERSION = '6.19.2'
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.16.0
4
+ version: 6.19.2
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: 2020-12-11 00:00:00.000000000 Z
12
+ date: 2021-02-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport
@@ -37,14 +37,14 @@ dependencies:
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 0.44.0
40
+ version: 0.47.2
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.44.0
47
+ version: 0.47.2
48
48
  - !ruby/object:Gem::Dependency
49
49
  name: deprecation
50
50
  requirement: !ruby/object:Gem::Requirement