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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 84206169d79695b1948aec1e6cc6c0b12a9b8522
4
- data.tar.gz: 62ce5442e848a54bf24e8c55e94ffd28254a0533
3
+ metadata.gz: 805a5db025038b9b2096777217aaed49f2f85b43
4
+ data.tar.gz: ef95935da7288c22699e093b772c43b8d81dab5f
5
5
  SHA512:
6
- metadata.gz: 144890c604f56469668bdafa8dc7bd4cc777c18c240c223e648644702a05bdc0fd71396724a1615e045f5ec870054a9e48e890efd1bf3ef9e5edbcb29542cf60
7
- data.tar.gz: 8016bde39c4e9082a93631b9614b3051f78920e38148f736f439f8ada63b2f60e5eddb51b7c730d3c9ebe43e6223e0b0b24c949b38b97dc1182bb9ab1807ca58
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
@@ -1,5 +1,5 @@
1
1
  module Libis
2
2
  module Services
3
- VERSION = '0.2.0'
3
+ VERSION = '0.2.1'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: libis-services
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kris Dekeyser