dor-services 4.6.1 → 4.6.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.
- data/lib/dor/models/describable.rb +1 -1
- data/lib/dor/version.rb +1 -1
- metadata +2 -2
|
@@ -64,7 +64,7 @@ module Dor
|
|
|
64
64
|
# @note this method modifies the passed in doc
|
|
65
65
|
def add_access_conditions(doc)
|
|
66
66
|
# clear out any existing accessConditions
|
|
67
|
-
doc.xpath('//mods:accessCondition').each {|n| n.remove}
|
|
67
|
+
doc.xpath('//mods:accessCondition', 'mods' => 'http://www.loc.gov/mods/v3').each {|n| n.remove}
|
|
68
68
|
rights = self.datastreams['rightsMetadata'].ng_xml
|
|
69
69
|
|
|
70
70
|
rights.xpath('//use/human[@type="useAndReproduction"]').each do |use|
|
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.6.
|
|
4
|
+
version: 4.6.2
|
|
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-
|
|
16
|
+
date: 2014-03-01 00:00:00.000000000 Z
|
|
17
17
|
dependencies:
|
|
18
18
|
- !ruby/object:Gem::Dependency
|
|
19
19
|
name: active-fedora
|