gared 0.0.11 → 0.0.13
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 -2
- 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: 9a13f35a13e2202db4cf67613f3248310f561b20959776307c1b28026c2403d3
|
4
|
+
data.tar.gz: 9fb46ba17305ba207ffcba4026c5adf736e566d84abd5e482b88ec9388accb7d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5971d926c5e1b9af8ec0e68070cbe6afac992d44df5da4ea56bb55eec56a857d333365478f8de1aa9c83dd5b6e88782d2fff12a3cfb94c80a3e0f75541db2a02
|
7
|
+
data.tar.gz: 7c40c46ebc128dbf3edcf13a109b97919d925b7093cf400a63c8da8d5ae8ace6e608dc0ee7d276fffffa62cdc328aecc6b97f578a26c2623e99c94e157789849
|
data/lib/gared/primo.rb
CHANGED
@@ -41,10 +41,10 @@ module Gared
|
|
41
41
|
p.title = deets['title']
|
42
42
|
p.author_line = deets['creator']
|
43
43
|
p.language = deets['language']
|
44
|
-
p.notes = deets['subject']
|
44
|
+
p.notes = deets['format']+"\n"+deets['subject']
|
45
45
|
p.publisher_line = deets['publisher']
|
46
46
|
p.pub_year = deets['creationdate']
|
47
|
-
p.source_id = r['PrimoNMBib']['record']['control']['
|
47
|
+
p.source_id = r['PrimoNMBib']['record']['control']['sourcerecordid']
|
48
48
|
h = Holding.new
|
49
49
|
h.source_id = p.source_id
|
50
50
|
h.source_name = 'Primo:'+@options[:institution]
|