dor-services-client 6.19.1 → 6.19.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dor/services/client/metadata.rb +8 -5
- data/lib/dor/services/client/version.rb +1 -1
- metadata +3 -3
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
|
@@ -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.19.
|
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: 2021-02-
|
12
|
+
date: 2021-02-18 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|
@@ -267,7 +267,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
267
267
|
- !ruby/object:Gem::Version
|
268
268
|
version: '0'
|
269
269
|
requirements: []
|
270
|
-
rubygems_version: 3.
|
270
|
+
rubygems_version: 3.1.2
|
271
271
|
signing_key:
|
272
272
|
specification_version: 4
|
273
273
|
summary: A client for dor-services-app
|