vfwcash 0.6.1 → 0.6.2
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.
- checksums.yaml +4 -4
- data/lib/models/profit_loss.rb +8 -8
- data/lib/models/{register.rb → register_pdf.rb} +1 -1
- data/lib/vfwcash/api.rb +2 -2
- data/lib/vfwcash/cli.rb +1 -1
- data/lib/vfwcash/controller.rb +2 -2
- data/lib/vfwcash/version.rb +1 -1
- data/vfwcash-0.6.1.gem +0 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9a923f7717546fa0ad5657bda35b1891027429b2
|
4
|
+
data.tar.gz: 3e3cf60869b88e91c5f7a53d4f40caabbd6c7bb9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8f4d91e3635ba6448e9474cef074c359a280d841871f7c37d412b16303756d6c0ab0b2c1686fcfc8d7534239ae4fc6bc3098ac7384e25a52de87f86c3c30c869
|
7
|
+
data.tar.gz: b97948c9aeb2f094d9e302f7e040812f93bdf35abc6cefaad7f58a5717087444dd48e962754d353c15758a4741d8f1af6cffc04b2e6093ef3a36a403ff645b70
|
data/lib/models/profit_loss.rb
CHANGED
@@ -58,50 +58,50 @@ class ProfitLoss < Prawn::Document
|
|
58
58
|
text_box extra, at: [COL[@level - 1],@cur], width:70,align: :right, style: :bold
|
59
59
|
end
|
60
60
|
text_box imoney(amount), at: [COL[@level],@cur], width:70,align: :right, style: :bold
|
61
|
-
@cur -=
|
61
|
+
@cur -= 10
|
62
62
|
end
|
63
63
|
|
64
64
|
def pad11_row(acct,amount)
|
65
65
|
text_box acct, at: [10,@cur], width:130,align: :left
|
66
66
|
text_box imoney(amount), at: [140,@cur], width:70,align: :right
|
67
|
-
@cur -=
|
67
|
+
@cur -= 10
|
68
68
|
end
|
69
69
|
|
70
70
|
def pad12_row(acct,amount)
|
71
71
|
text_box acct, at: [10,@cur], width:130,align: :left
|
72
72
|
text_box imoney(amount), at: [210,@cur], width:70,align: :right
|
73
|
-
@cur -=
|
73
|
+
@cur -= 10
|
74
74
|
end
|
75
75
|
|
76
76
|
def pad22_row(acct,amount)
|
77
77
|
text_box acct, at: [20,@cur], width:120,align: :left
|
78
78
|
text_box imoney(amount), at: [140,@cur], width:70,align: :right
|
79
|
-
@cur -=
|
79
|
+
@cur -= 10
|
80
80
|
end
|
81
81
|
|
82
82
|
# def pad32_row(acct,amount)
|
83
83
|
# text_box acct, at: [30,@cur], width:110,align: :left
|
84
84
|
# text_box imoney(amount), at: [140,@cur], width:70,align: :right
|
85
|
-
# @cur -=
|
85
|
+
# @cur -= 10
|
86
86
|
# end
|
87
87
|
|
88
88
|
|
89
89
|
def pad13_row(acct,amount)
|
90
90
|
text_box acct, at: [10,@cur], width:130,align: :left
|
91
91
|
text_box imoney(amount), at: [280,@cur], width:70,align: :right
|
92
|
-
@cur -=
|
92
|
+
@cur -= 10
|
93
93
|
end
|
94
94
|
|
95
95
|
def pad23_row(acct,amount)
|
96
96
|
text_box acct, at: [20,@cur], width:120,align: :left
|
97
97
|
text_box imoney(amount), at: [210,@cur], width:70,align: :right
|
98
|
-
@cur -=
|
98
|
+
@cur -= 10
|
99
99
|
end
|
100
100
|
|
101
101
|
def pad33_row(acct,amount)
|
102
102
|
text_box acct, at: [30,@cur], width:100,align: :left
|
103
103
|
text_box imoney(amount), at: [140,@cur], width:70,align: :right
|
104
|
-
@cur -=
|
104
|
+
@cur -= 10
|
105
105
|
end
|
106
106
|
|
107
107
|
def imoney(int,dollar="$")
|
data/lib/vfwcash/api.rb
CHANGED
data/lib/vfwcash/cli.rb
CHANGED
data/lib/vfwcash/controller.rb
CHANGED
data/lib/vfwcash/version.rb
CHANGED
data/vfwcash-0.6.1.gem
ADDED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vfwcash
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Steve Alex
|
@@ -143,7 +143,7 @@ files:
|
|
143
143
|
- lib/models/gcash.rb
|
144
144
|
- lib/models/ledger.rb
|
145
145
|
- lib/models/profit_loss.rb
|
146
|
-
- lib/models/
|
146
|
+
- lib/models/register_pdf.rb
|
147
147
|
- lib/models/split.rb
|
148
148
|
- lib/models/split_ledger.rb
|
149
149
|
- lib/models/summary.rb
|
@@ -171,6 +171,7 @@ files:
|
|
171
171
|
- pdf_examples/views/checkbooks/register.html.slim
|
172
172
|
- pdf_examples/views/checkbooks/split.html.slim
|
173
173
|
- pdf_examples/views/checkbooks/summary.html.slim
|
174
|
+
- vfwcash-0.6.1.gem
|
174
175
|
- vfwcash.gemspec
|
175
176
|
homepage: ''
|
176
177
|
licenses:
|