wagon 0.10.4 → 0.10.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/wagon/directory.rb +1 -1
  3. metadata +3 -3
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.10.4
1
+ 0.10.5
@@ -57,7 +57,7 @@ module Wagon
57
57
  info = []
58
58
  info.push(household.name)
59
59
  info.push(*household.address.street) if options[:address]
60
- info.push(household.phone_number) if options[:phone_number]
60
+ info.push(household.phone_number.value) if options[:phone_number]
61
61
  info.push(household.members.first.email) if options[:email]
62
62
 
63
63
  pdf.image(household.has_image? ? StringIO.new(household.image_data) : File.join(Wagon::BASE_PATH, 'extra', 'placeholder.jpg'), :position => :center, :fit => [box_width, box_height - (padding*2 + info_height)] )
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wagon
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.4
4
+ version: 0.10.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Devin Christensen
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-11-16 00:00:00 -07:00
12
+ date: 2010-01-04 00:00:00 -07:00
13
13
  default_executable: wagon
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -123,7 +123,7 @@ signing_key:
123
123
  specification_version: 3
124
124
  summary: Create a PDF from the lds.org ward Photo Directory.
125
125
  test_files:
126
+ - spec/spec_helper.rb
126
127
  - spec/wagon/directory_spec.rb
127
128
  - spec/wagon/ward_spec.rb
128
- - spec/spec_helper.rb
129
129
  - spec/wagon_spec.rb