wagon 0.10.3 → 0.10.4

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 +3 -3
  3. metadata +3 -3
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.10.3
1
+ 0.10.4
@@ -43,8 +43,8 @@ module Wagon
43
43
 
44
44
  (0...pages).each do |page|
45
45
  pdf.start_new_page unless page == 0
46
- pdf.text(options[:title], :at => [pdf.bounds.right/2 - pdf.width_of(options[:title], :size => 12)/2, pdf.bounds.top - header_height/2], :size => 12)
47
- pdf.text("For Church Use Only", :at => [pdf.bounds.right/2 - pdf.width_of("For Church Use Only")/2, pdf.bounds.bottom + footer_height/2])
46
+ pdf.text(options[:title], :at => [pdf.bounds.right/2 - pdf.width_of(options[:title], :size => 12)/2, pdf.bounds.top - header_height + padding], :size => 12)
47
+ pdf.text("For Church Use Only", :at => [pdf.bounds.right/2 - pdf.width_of("For Church Use Only")/2, pdf.bounds.bottom])
48
48
  (0...rows).each do |row|
49
49
  y = pdf.bounds.top - row*grid_height - header_height
50
50
  (0...columns).each do |column|
@@ -75,4 +75,4 @@ module Wagon
75
75
  end
76
76
  end
77
77
  end
78
- end
78
+ end
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.3
4
+ version: 0.10.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-13 00:00:00 -07:00
12
+ date: 2009-11-16 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
127
126
  - spec/wagon/directory_spec.rb
128
127
  - spec/wagon/ward_spec.rb
128
+ - spec/spec_helper.rb
129
129
  - spec/wagon_spec.rb