wagon 0.9.3 → 0.9.4
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/wagon/directory.rb +1 -1
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.9.
|
1
|
+
0.9.4
|
data/lib/wagon/directory.rb
CHANGED
@@ -72,7 +72,7 @@ module Wagon
|
|
72
72
|
info.push(household.phone_number) if options[:phone_number]
|
73
73
|
info.push(household.members.first.email) if options[:email]
|
74
74
|
|
75
|
-
pdf.image(household.has_image? ? StringIO.new(household.image_data) : '
|
75
|
+
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)] )
|
76
76
|
|
77
77
|
pdf.bounding_box([pdf.bounds.left, pdf.bounds.bottom + info_height], :height => info_height+1, :width => pdf.bounds.width) do
|
78
78
|
info.compact.each do |line|
|
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.9.
|
4
|
+
version: 0.9.4
|
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-
|
12
|
+
date: 2009-11-08 00:00:00 -07:00
|
13
13
|
default_executable: wagon
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|