active_fedora-crosswalks 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZjY3Y2NjNDdhZDYwZmE0Nzc5ZWM1ZTlkNTNiM2ViYzVlODg0ZjNiZA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
YzkwODY1N2VmNjExMzE2YmUyMmQwOWZlMTU0ZjVjOTcwMDllYTA0Zg==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MDY5OWI2YzE3YmMxYzI4OWYxZTg0YmNhMzdmZjljMmM2NWZhOGI1YzE4M2U1
|
10
|
+
MGMwZmYxZTE5MjAzMjZjMTI1MjJiMTdlODI0MGI4NWVlYTBjYTg2MGQyMTQ5
|
11
|
+
NmE2MmQwNjc0MzY3ZmFkOWYyNzJiZTgxZTE2NzNlZGJjNWJmYmU=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MWYxODdmOGRhZDNiYjE5YjA0OGI1NmE4NjdhYTMwYTlkYTY1ZGNlZGI2ZWVh
|
14
|
+
MDNlZjM0ZjU2ZDc3NDMzMjI5NjQ2ZmM4ZGJmNWQ5Mzg1NmQxOWM3Y2E2YTVl
|
15
|
+
YTY5ZDZmZWVlZTdmNDJjNmFlMTIzYmZjODE3OGVhMTA2ZjZmNjU=
|
@@ -6,11 +6,9 @@ module ActiveFedora
|
|
6
6
|
def self.new(datastream, field)
|
7
7
|
if self.to_s.include?("GenericAccessor")
|
8
8
|
if datastream.kind_of?(ActiveFedora::RelsExtDatastream)
|
9
|
-
puts "Returning a rels accessor"
|
10
9
|
return RelsExtAccessor.new(datastream, field)
|
11
10
|
end
|
12
11
|
if datastream.kind_of?(ActiveFedora::OmDatastream)
|
13
|
-
puts "Returning an OM Accessor"
|
14
12
|
return OmAccessor.new(datastream, field)
|
15
13
|
end
|
16
14
|
end
|