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 +4 -4
- data/README.md +1 -1
- data/dor-services-client.gemspec +1 -1
- data/lib/dor/services/client/metadata.rb +8 -5
- data/lib/dor/services/client/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 72f1b7c5455609fe385186fd17ed5a11b64d32b34ab834b129e0def6d780380e
|
4
|
+
data.tar.gz: 438813e4a2d4980107492de59491e31a52559aa4aadd714b6758956030a76ccf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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/
|
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
|
data/dor-services-client.gemspec
CHANGED
@@ -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.
|
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] :
|
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] :
|
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, :
|
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'
|
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.
|
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:
|
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.
|
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.
|
47
|
+
version: 0.47.2
|
48
48
|
- !ruby/object:Gem::Dependency
|
49
49
|
name: deprecation
|
50
50
|
requirement: !ruby/object:Gem::Requirement
|