dor-services 5.20.0 → 5.21.1
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 76758fc98336146e0216518645fc860aed8633c4
|
4
|
+
data.tar.gz: d211ecc1df9a9f222eef2676b77f9cbbfaf478af
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a7d0c1e8776bdaf84bfccb7fd5fc650fafb46ce2ea28aad12b6956a0177b64f3afef0f2f4d34de8380e96a670aa540a682cf1c8d9d63de5b64e2e03e50062df4
|
7
|
+
data.tar.gz: c1a7a3f174d1ee2f252d5de13a16efc1eb7a29a91e521c3fc7888598e9360851222652eb009596946404169c8c50b5acb2baa53980b841102226ee0014ca7362
|
@@ -51,8 +51,7 @@ class IdentityMetadataDS < ActiveFedora::OmDatastream
|
|
51
51
|
node.remove unless node.nil?
|
52
52
|
return nil
|
53
53
|
end
|
54
|
-
parts = value.split(':').map(&:strip)
|
55
|
-
# parts = value.split(/:/, 2).map(&:strip) # if we needed to allow colons in values or bunched colon separators
|
54
|
+
parts = value.split(':', 2).map(&:strip)
|
56
55
|
raise ArgumentError, "Source ID must follow the format 'namespace:value', not '#{value}'" unless
|
57
56
|
parts.length == 2 && parts[0].present? && parts[1].present?
|
58
57
|
node ||= ng_xml.root.add_child('<sourceId/>').first
|
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: 5.
|
4
|
+
version: 5.21.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Klein
|
@@ -682,8 +682,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
682
682
|
version: 1.3.6
|
683
683
|
requirements: []
|
684
684
|
rubyforge_project:
|
685
|
-
rubygems_version: 2.5.
|
685
|
+
rubygems_version: 2.4.5.1
|
686
686
|
signing_key:
|
687
687
|
specification_version: 4
|
688
688
|
summary: Ruby implmentation of DOR services used by the SULAIR Digital Library
|
689
689
|
test_files: []
|
690
|
+
has_rdoc:
|