check_writer 0.4.6 → 0.4.7
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/check_writer.gemspec +2 -2
- data/lib/check_writer/check.rb +1 -1
- data/spec/assets/blank-0.12.0.pdf +6 -6
- data/spec/assets/test-0.12.0.pdf +0 -0
- data/spec/assets/two_in_one-0.12.0.pdf +0 -0
- data/spec/assets/void-0.12.0.pdf +0 -0
- data/spec/assets/with_second_signature_line-0.12.0.pdf +0 -0
- data/spec/assets/with_signature_image-0.12.0.pdf +0 -0
- data/spec/assets/with_stub_table_data-0.12.0.pdf +13 -13
- data/spec/assets/with_stubs-0.12.0.pdf +0 -0
- data/spec/assets/with_two_thirds_stub-0.12.0.pdf +0 -0
- data/spec/check_spec.rb +1 -1
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.4.
|
1
|
+
0.4.7
|
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.4.
|
8
|
+
s.version = "0.4.7"
|
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 = "
|
12
|
+
s.date = "2014-12-15"
|
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 = [
|
data/lib/check_writer/check.rb
CHANGED
@@ -185,7 +185,7 @@ module CheckWriter
|
|
185
185
|
def _payee_address
|
186
186
|
@pdf.bounding_box [@pdf.bounds.left + 4, @pdf.bounds.top - inches(1.75)], :width => inches(3.5) do
|
187
187
|
@pdf.text "TO THE ORDER OF:", :size => 8
|
188
|
-
@pdf.bounding_box [@pdf.bounds.left + inches(0.25), @pdf.bounds.top - inches(0.3)], :width => inches(
|
188
|
+
@pdf.bounding_box [@pdf.bounds.left + inches(0.25), @pdf.bounds.top - inches(0.3)], :width => inches(4.5) do
|
189
189
|
@pdf.text payee_name
|
190
190
|
pdf_address(payee_address)
|
191
191
|
end
|
@@ -17,7 +17,7 @@ endobj
|
|
17
17
|
>>
|
18
18
|
endobj
|
19
19
|
4 0 obj
|
20
|
-
<< /Length
|
20
|
+
<< /Length 1630
|
21
21
|
>>
|
22
22
|
stream
|
23
23
|
q
|
@@ -43,7 +43,7 @@ ET
|
|
43
43
|
BT
|
44
44
|
44 547.512 Td
|
45
45
|
/F1.0 12 Tf
|
46
|
-
[<50> 40 <61> 30 <79> 20 <
|
46
|
+
[<50> 40 <61> 30 <79> 20 <65653a204a6f686e20536d69746820776974682061205265616c6c79205265616c6c79> 100 <2c205265616c6c79205265616c6c79204c6f6e67204e616d65>] TJ
|
47
47
|
ET
|
48
48
|
|
49
49
|
432.000 576.000 m
|
@@ -100,7 +100,7 @@ ET
|
|
100
100
|
BT
|
101
101
|
44 313.512 Td
|
102
102
|
/F1.0 12 Tf
|
103
|
-
[<50> 40 <61> 30 <79> 20 <
|
103
|
+
[<50> 40 <61> 30 <79> 20 <65653a204a6f686e20536d69746820776974682061205265616c6c79205265616c6c79> 100 <2c205265616c6c79205265616c6c79204c6f6e67204e616d65>] TJ
|
104
104
|
ET
|
105
105
|
|
106
106
|
432.000 342.000 m
|
@@ -165,13 +165,13 @@ xref
|
|
165
165
|
0000000109 00000 n
|
166
166
|
0000000158 00000 n
|
167
167
|
0000000215 00000 n
|
168
|
-
|
169
|
-
|
168
|
+
0000001897 00000 n
|
169
|
+
0000002075 00000 n
|
170
170
|
trailer
|
171
171
|
<< /Size 7
|
172
172
|
/Root 2 0 R
|
173
173
|
/Info 1 0 R
|
174
174
|
>>
|
175
175
|
startxref
|
176
|
-
|
176
|
+
2172
|
177
177
|
%%EOF
|
data/spec/assets/test-0.12.0.pdf
CHANGED
Binary file
|
Binary file
|
data/spec/assets/void-0.12.0.pdf
CHANGED
Binary file
|
Binary file
|
Binary file
|
@@ -17,7 +17,7 @@ endobj
|
|
17
17
|
>>
|
18
18
|
endobj
|
19
19
|
4 0 obj
|
20
|
-
<< /Length
|
20
|
+
<< /Length 19273
|
21
21
|
>>
|
22
22
|
stream
|
23
23
|
q
|
@@ -633,7 +633,7 @@ ET
|
|
633
633
|
BT
|
634
634
|
44 547.512 Td
|
635
635
|
/F1.0 12 Tf
|
636
|
-
[<50> 40 <61> 30 <79> 20 <
|
636
|
+
[<50> 40 <61> 30 <79> 20 <65653a204a6f686e20536d69746820776974682061205265616c6c79205265616c6c79> 100 <2c205265616c6c79205265616c6c79204c6f6e67204e616d65>] TJ
|
637
637
|
ET
|
638
638
|
|
639
639
|
432.000 576.000 m
|
@@ -1278,7 +1278,7 @@ ET
|
|
1278
1278
|
BT
|
1279
1279
|
44 313.512 Td
|
1280
1280
|
/F1.0 12 Tf
|
1281
|
-
[<50> 40 <61> 30 <79> 20 <
|
1281
|
+
[<50> 40 <61> 30 <79> 20 <65653a204a6f686e20536d69746820776974682061205265616c6c79205265616c6c79> 100 <2c205265616c6c79205265616c6c79204c6f6e67204e616d65>] TJ
|
1282
1282
|
ET
|
1283
1283
|
|
1284
1284
|
432.000 342.000 m
|
@@ -1408,7 +1408,7 @@ ET
|
|
1408
1408
|
BT
|
1409
1409
|
58.0 95.784 Td
|
1410
1410
|
/F1.0 12 Tf
|
1411
|
-
[<
|
1411
|
+
[<4a6f686e20536d69746820776974682061205265616c6c79205265616c6c79> 100 <2c205265616c6c79205265616c6c79204c6f6e67204e616d65>] TJ
|
1412
1412
|
ET
|
1413
1413
|
|
1414
1414
|
|
@@ -1531,19 +1531,19 @@ xref
|
|
1531
1531
|
0000000109 00000 n
|
1532
1532
|
0000000158 00000 n
|
1533
1533
|
0000000215 00000 n
|
1534
|
-
|
1535
|
-
|
1536
|
-
|
1537
|
-
|
1538
|
-
|
1539
|
-
|
1540
|
-
|
1541
|
-
|
1534
|
+
0000019541 00000 n
|
1535
|
+
0000019743 00000 n
|
1536
|
+
0000019840 00000 n
|
1537
|
+
0000019942 00000 n
|
1538
|
+
0000020104 00000 n
|
1539
|
+
0000021577 00000 n
|
1540
|
+
0000021818 00000 n
|
1541
|
+
0000023178 00000 n
|
1542
1542
|
trailer
|
1543
1543
|
<< /Size 13
|
1544
1544
|
/Root 2 0 R
|
1545
1545
|
/Info 1 0 R
|
1546
1546
|
>>
|
1547
1547
|
startxref
|
1548
|
-
|
1548
|
+
24092
|
1549
1549
|
%%EOF
|
Binary file
|
Binary file
|
data/spec/check_spec.rb
CHANGED
@@ -19,7 +19,7 @@ describe "CheckWriter::Check" do
|
|
19
19
|
@check = CheckWriter::Check.new(
|
20
20
|
:date => Date.parse('5/7/2012'),
|
21
21
|
:number => '12345',
|
22
|
-
:payee_name => 'John Smith',
|
22
|
+
:payee_name => 'John Smith with a Really Really, Really Really Long Name',
|
23
23
|
:payee_address => payee_address,
|
24
24
|
:payor_name => 'Payor Company Name',
|
25
25
|
:payor_address => payor_address,
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: check_writer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.7
|
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:
|
12
|
+
date: 2014-12-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|
@@ -203,7 +203,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
203
203
|
version: '0'
|
204
204
|
segments:
|
205
205
|
- 0
|
206
|
-
hash:
|
206
|
+
hash: 4468792958598379728
|
207
207
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
208
208
|
none: false
|
209
209
|
requirements:
|