libis-services 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/libis/services/alma/sru_service.rb +1 -1
- data/lib/libis/services/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 805a5db025038b9b2096777217aaed49f2f85b43
|
4
|
+
data.tar.gz: ef95935da7288c22699e093b772c43b8d81dab5f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 483d5d5b1b538af2fefa5589f78c8264f5434b78423e7160a8184f5473a52e0509911b2d64bc4c3f8c92552b8310890f813a95cf5e8a80340649b16cd148345d
|
7
|
+
data.tar.gz: ec8ca2114fd0aec05af2d1ae8c799a41943cc2813983978108b7f8dbe5306fc5c1ef6ef6468266e4fbf513c81252d55e9efa7252fce837004d2d1cd1e177d435
|
@@ -25,7 +25,7 @@ module Libis
|
|
25
25
|
raise Libis::Services::ServiceError, "#{result['/searchRetrieveResponse/diag:diagnostic/diag:message']}"
|
26
26
|
end
|
27
27
|
|
28
|
-
return result.xpath('//record').map do |record|
|
28
|
+
return result.document.xpath('//marc:record', 'marc' => 'http://www.loc.gov/MARC21/slim').map do |record|
|
29
29
|
Libis::Tools::XmlDocument.parse(record.to_s)
|
30
30
|
end
|
31
31
|
end
|