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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 770f99486197a61e95cb325cfb1cfdee928dfb56e9b41de3da4b1b2dd9b01e24
4
- data.tar.gz: 2ed9240a20f5f860d5104c742cbe40cecd42f19b13e07efead68fdc1e8dbe210
3
+ metadata.gz: 72f1b7c5455609fe385186fd17ed5a11b64d32b34ab834b129e0def6d780380e
4
+ data.tar.gz: 438813e4a2d4980107492de59491e31a52559aa4aadd714b6758956030a76ccf
5
5
  SHA512:
6
- metadata.gz: 1754446791e8476b386bb6bdd094ea7fcd6cdcc98ac2bb5143e596fb93a6e9a22a3ffbf82b02c2d84a1cdbafc39aea7dd7f82585d9852d3d396e469cf9873ead
7
- data.tar.gz: 04b4688b28df20fc56c19053f1c174f9dfc3efe5e4029f66c15f5b6a06ee44a083f6c67f49d8b232d74c052cccc0127cbd4f83c868b5456fce22a8192786739a
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] :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.19.1'
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.19.1
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-13 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
@@ -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.0.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