evergreen_holdings 0.1.9 → 0.2.1

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/evergreen_holdings.rb +1 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 318b03aa9022242c32669fdea8e44a56de3bfdcf
4
- data.tar.gz: 67dd171b3e19975ebddc93513add608f868880f8
3
+ metadata.gz: '099d21142437946323589d61103ee3199d041045'
4
+ data.tar.gz: cfb387b243746a34c9f8233fa75699be53ff74e0
5
5
  SHA512:
6
- metadata.gz: 637456d7fd231c9b6a75a0cbe3aac126c8a1cf2b9f9b0b47c3fdafb518bc1e20e011572fc6458a2a8bf9a36b5e7bac9ba525867da6392e0fb4f78725f5a17d07
7
- data.tar.gz: b96a7676c6314658fd15b4b5a874688f125ac118dc0b2813b7283e2484e5e23c657a92cf7076f7b18fdaf44cf263847dc3c4f7b06f1b307526d1e4721db2aeab
6
+ metadata.gz: 0f300bb0e70ff7dfa6942c8ee8da1a138809fd4c2340329ed2fb78e308d42d883bf26fe0bdc3d75367bee1d1b1d6b56f962710981b30ddbd478202a96f96f538
7
+ data.tar.gz: 77c78a3b402989e81c1a7c942c229fbb0b62e2a52ad819c262b17ef53ca6c51126dc17c2da12eb0a3e87039a294e6f690409aa88015f6ca6e34ce0581001f7b4
@@ -163,7 +163,6 @@ module EvergreenHoldings
163
163
  @copies.push Item.new barcode: item['__p'][2], call_number: vol['__p'][7], location: item['__p'][24], status: item['__p'][28], owning_lib: item['__p'][5]
164
164
  else
165
165
  begin
166
- puts item['__p'][35]
167
166
  @copies.push Item.new barcode: item['__p'][2], call_number: vol['__p'][7], due_date: item['__p'][35][0]['__p'][6], location: item['__p'][24], status: item['__p'][28], owning_lib: item['__p'][5]
168
167
  rescue
169
168
  @copies.push Item.new barcode: item['__p'][2], call_number: vol['__p'][7], location: item['__p'][24], status: item['__p'][28], owning_lib: item['__p'][5]
@@ -197,7 +196,7 @@ module EvergreenHoldings
197
196
  # A physical copy of an item
198
197
  class Item
199
198
  attr_accessor :location, :status, :owning_lib
200
- attr_reader :barcode, :call_number
199
+ attr_reader :barcode, :call_number, :due_date
201
200
  def initialize data = {}
202
201
  data.each do |k,v|
203
202
  instance_variable_set("@#{k}", v) unless v.nil?
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: evergreen_holdings
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.9
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jane Sandberg