gared 0.0.11 → 0.0.13

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/gared/primo.rb +2 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 59614712f13d9d03b4b70388873f6b470a1894ad70263d0d879ebad7997ff08d
4
- data.tar.gz: da45762798c03f165dc6befe7099a56d9fb23950ed9a2d02a63512665effab6d
3
+ metadata.gz: 9a13f35a13e2202db4cf67613f3248310f561b20959776307c1b28026c2403d3
4
+ data.tar.gz: 9fb46ba17305ba207ffcba4026c5adf736e566d84abd5e482b88ec9388accb7d
5
5
  SHA512:
6
- metadata.gz: 183ca264952382dbc01f57af1353498343aa89b2c265d07313a875796214f16b1cc9e8d883b2e50a0651385d3a2aa5c32b6d59a84e82dbcece18ac005aa2b187
7
- data.tar.gz: 7c340a78329e27d705133d8b178a7a6b9bbd84bdd1b2e5baacdc519775083e5079f2242a63bcc7ffa95c3a9a0d1b722ba54ee087ce2932556ba1196c82923cac
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']['recordid']
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]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gared
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.11
4
+ version: 0.0.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Asaf Bartov