dor-services 4.12.3 → 4.13.0
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.
- data/lib/dor/models/describable.rb +3 -1
- data/lib/dor/models/publishable.rb +3 -1
- data/lib/dor/version.rb +1 -1
- metadata +5 -3
|
@@ -56,7 +56,9 @@ module Dor
|
|
|
56
56
|
doc = self.descMetadata.ng_xml.dup(1)
|
|
57
57
|
add_collection_reference(doc)
|
|
58
58
|
add_access_conditions(doc)
|
|
59
|
-
Nokogiri::XML(doc.to_xml) { |x| x.noblanks }
|
|
59
|
+
new_doc = Nokogiri::XML(doc.to_xml) { |x| x.noblanks }
|
|
60
|
+
new_doc.encoding = 'UTF-8'
|
|
61
|
+
new_doc.to_xml
|
|
60
62
|
end
|
|
61
63
|
|
|
62
64
|
# Create MODS accessCondition statements from rightsMetadata
|
|
@@ -41,7 +41,9 @@ module Dor
|
|
|
41
41
|
rels = public_relationships.root
|
|
42
42
|
pub.add_child(rels.clone) unless rels.nil? # TODO: Should never be nil in practice; working around an ActiveFedora quirk for testing
|
|
43
43
|
pub.add_child(self.generate_dublin_core.root.clone)
|
|
44
|
-
Nokogiri::XML(pub.to_xml) { |x| x.noblanks }
|
|
44
|
+
new_pub = Nokogiri::XML(pub.to_xml) { |x| x.noblanks }
|
|
45
|
+
new_pub.encoding = 'UTF-8'
|
|
46
|
+
new_pub.to_xml
|
|
45
47
|
end
|
|
46
48
|
|
|
47
49
|
# Copies this object's public_xml to the Purl document cache if it is world discoverable
|
data/lib/dor/version.rb
CHANGED
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: 4.
|
|
4
|
+
version: 4.13.0
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -13,7 +13,7 @@ authors:
|
|
|
13
13
|
autorequire:
|
|
14
14
|
bindir: bin
|
|
15
15
|
cert_chain: []
|
|
16
|
-
date: 2014-08-
|
|
16
|
+
date: 2014-08-20 00:00:00.000000000 Z
|
|
17
17
|
dependencies:
|
|
18
18
|
- !ruby/object:Gem::Dependency
|
|
19
19
|
name: active-fedora
|
|
@@ -636,7 +636,9 @@ files:
|
|
|
636
636
|
- bin/dor-indexer
|
|
637
637
|
- bin/dor-indexerd
|
|
638
638
|
homepage:
|
|
639
|
-
licenses:
|
|
639
|
+
licenses:
|
|
640
|
+
- ALv2
|
|
641
|
+
- Stanford University
|
|
640
642
|
post_install_message:
|
|
641
643
|
rdoc_options: []
|
|
642
644
|
require_paths:
|