dor-services 6.1.6 → 6.1.7

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: 241d6e846299b1724efae0b54f94b10bbc5c14e893897ccb528bf14d7cc6e831
4
- data.tar.gz: 512da1d8bafd2a402bf7f04abf3b835e27fa4b0569d325a32d99778dc905a229
3
+ metadata.gz: 4f019293792268fa6d7f58d2baff18530da8db781e5b2ed022743f5654c8feb2
4
+ data.tar.gz: 9872204f684b2de6de21b0deb88d1f89270e7c6baa5f7fdd45ce391a810b59b6
5
5
  SHA512:
6
- metadata.gz: beee6abbfb3a87e3cd75515d7debdd829d8bcd4a24ea1cd68ced6ebfa86acfa294fdc14d293bd106c31e5f93c5131c52daf1857935732f03099a7d81167ebb17
7
- data.tar.gz: a763fd20dec4a5591796dc6cfe694f8e8a15623b48bf03181206997ef2d33b798844bcfc4b195d81aee4ada8667b36f85059dc4d7aa0160a7b6f373a000dd8a4
6
+ metadata.gz: e5dee9f78f7cd5e74bcb7fe12611ce22b2af739608a9b122e4918d04d734735bf14fae63fc3c888d7fdcec588ecf9d9405f1c7e1d369bdada45bd70501a9ce15
7
+ data.tar.gz: 85e5916e7f9de47812af80689ca6fad309bc7fbae3d0c89da739e33c3d16a30c21bc07da04730717d3ee4ed74011ff0c0dd1e9a409b5356455848d56dbf86b18
@@ -69,7 +69,7 @@ module Dor
69
69
 
70
70
  # Call dor services app to have it publish the metadata
71
71
  def publish_metadata_remotely
72
- Dor::Services::Client.publish(object: pid)
72
+ Dor::Services::Client.object(pid).publish
73
73
  end
74
74
  deprecation_deprecate publish_metadata_remotely: 'use Dor::Services::Client.publish instead'
75
75
  end
@@ -30,7 +30,7 @@ module Dor
30
30
  transfer_to_document_store(item.datastreams[stream].content.to_s, stream) if item.datastreams[stream]
31
31
  end
32
32
  transfer_to_document_store(PublicXmlService.new(item).to_xml, 'public')
33
- transfer_to_document_store(PublicDescMetadataService.new(self).to_xml, 'mods')
33
+ transfer_to_document_store(PublicDescMetadataService.new(item).to_xml, 'mods')
34
34
  end
35
35
 
36
36
  # Clear out the document cache for this item
data/lib/dor/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Dor
4
- VERSION = '6.1.6'
4
+ VERSION = '6.1.7'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dor-services
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.1.6
4
+ version: 6.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Klein
@@ -14,7 +14,7 @@ authors:
14
14
  autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
- date: 2019-01-08 00:00:00.000000000 Z
17
+ date: 2019-01-09 00:00:00.000000000 Z
18
18
  dependencies:
19
19
  - !ruby/object:Gem::Dependency
20
20
  name: active-fedora
@@ -90,14 +90,14 @@ dependencies:
90
90
  requirements:
91
91
  - - "~>"
92
92
  - !ruby/object:Gem::Version
93
- version: '0.4'
93
+ version: '0.9'
94
94
  type: :runtime
95
95
  prerelease: false
96
96
  version_requirements: !ruby/object:Gem::Requirement
97
97
  requirements:
98
98
  - - "~>"
99
99
  - !ruby/object:Gem::Version
100
- version: '0.4'
100
+ version: '0.9'
101
101
  - !ruby/object:Gem::Dependency
102
102
  name: equivalent-xml
103
103
  requirement: !ruby/object:Gem::Requirement