gared 0.0.21 → 0.0.22
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/gared/primo.rb +2 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 12ad7a1d34ae412a0828d5a9ea7297743d631781248f2ecbcfe646e316cfc42e
|
4
|
+
data.tar.gz: 4c2dab22f6984e50971164a9c984b6034053e0c86a717130afe07b7c743b5fcf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3825a5a4bac92b0bb92f3b5fe5955c2a7780a489ceaae7718fc4eead41fa9788b567b2359a8a75efa51c88b8d65623580d27b93e3e29d95f41858ea9b76e66e9
|
7
|
+
data.tar.gz: 299626204c6f0b3f8cffdb46cc0548c41d7583fc094e3d0455ccead2f2198c4ec9805914036c8c5144874d6487ce980024ce52d016ce3955336351123204a9a2
|
data/lib/gared/primo.rb
CHANGED
@@ -55,7 +55,8 @@ module Gared
|
|
55
55
|
h = Holding.new
|
56
56
|
h.source_id = p.source_id
|
57
57
|
h.source_name = 'Primo:'+@options[:institution]
|
58
|
-
|
58
|
+
|
59
|
+
h.location = r['LIBRARIES']['LIBRARY'][0].nil? ? r['LIBRARIES']['LIBRARY']['callNumber'] : r['LIBRARIES']['LIBRARY'][0]['callNumber'] # there seem to be two cases, different between NLI and TAU, for example
|
59
60
|
p.add_holding(h)
|
60
61
|
ret << p
|
61
62
|
rescue Exception
|