pivotalprinter 0.3.0 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -136,7 +136,7 @@ EOS
136
136
  pdf.font_size = 36
137
137
  pdf.font "Helvetica", :style => :bold
138
138
  pdf.fill_color 'ffffff'
139
- pdf.draw_text "#{story.points}", :at => [x - 10, y - 12]
139
+ pdf.draw_text "#{story.points}", :at => [x - (story.points.to_s.to_i >= 10 ? 20 : 10), y - 12]
140
140
  pdf.fill_color '000000'
141
141
  pdf.font_size = 14
142
142
  pdf.font "#{Prawn::BASEDIR}/data/fonts/DejaVuSans.ttf", :style => :normal
@@ -1,3 +1,3 @@
1
1
  module Pivotalprinter
2
- VERSION = '0.3.0'
2
+ VERSION = '0.3.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pivotalprinter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-01-08 00:00:00.000000000 Z
12
+ date: 2013-01-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: term-ansicolor
@@ -170,7 +170,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
170
170
  version: '0'
171
171
  segments:
172
172
  - 0
173
- hash: -738262424533095811
173
+ hash: 2134055082492674018
174
174
  required_rubygems_version: !ruby/object:Gem::Requirement
175
175
  none: false
176
176
  requirements:
@@ -179,7 +179,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
179
179
  version: '0'
180
180
  segments:
181
181
  - 0
182
- hash: -738262424533095811
182
+ hash: 2134055082492674018
183
183
  requirements: []
184
184
  rubyforge_project:
185
185
  rubygems_version: 1.8.24