check_writer 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.0
1
+ 0.2.1
data/check_writer.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "check_writer"
8
- s.version = "0.2.0"
8
+ s.version = "0.2.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Ryan Winograd"]
12
- s.date = "2012-05-17"
12
+ s.date = "2012-06-12"
13
13
  s.description = "Ruby library for generating PDF checks that you can take to the bank"
14
14
  s.email = "ryan@thewinograds.com"
15
15
  s.extra_rdoc_files = [
@@ -39,7 +39,7 @@ module CheckWriter
39
39
 
40
40
  # Formats date
41
41
  def formatted_date
42
- date.strftime('%B %e, %Y')
42
+ date.strftime('%d/%m/%Y')
43
43
  end
44
44
 
45
45
  end
@@ -116,7 +116,7 @@ module CheckWriter
116
116
  @pdf.font_size(10) do
117
117
  @pdf.text bank_name
118
118
  pdf_address bank_address
119
- @pdf.text bank_fraction
119
+ @pdf.text bank_fraction if bank_fraction.present?
120
120
  end
121
121
  end
122
122
  end
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: check_writer
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 0
10
- version: 0.2.0
9
+ - 1
10
+ version: 0.2.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Ryan Winograd
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-05-17 00:00:00 Z
18
+ date: 2012-06-12 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  version_requirements: &id001 !ruby/object:Gem::Requirement