vfwcash 0.3.0
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 +7 -0
- data/.gitignore +17 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +107 -0
- data/Rakefile +2 -0
- data/bin/vfwcash +5 -0
- data/lib/models/audit.rb +228 -0
- data/lib/models/balance.rb +95 -0
- data/lib/models/between.rb +100 -0
- data/lib/models/cash_account.rb +69 -0
- data/lib/models/gcash.rb +189 -0
- data/lib/models/ledger.rb +109 -0
- data/lib/models/register.rb +54 -0
- data/lib/models/split.rb +26 -0
- data/lib/models/split_ledger.rb +69 -0
- data/lib/models/sqlite_base.rb +10 -0
- data/lib/models/summary.rb +98 -0
- data/lib/models/tran.rb +12 -0
- data/lib/templates/vfw-gray.png +0 -0
- data/lib/templates/vfwcash.gnucash +0 -0
- data/lib/templates/vfwcash.yml +95 -0
- data/lib/vfwcash/api.rb +48 -0
- data/lib/vfwcash/cli.rb +195 -0
- data/lib/vfwcash/controller.rb +83 -0
- data/lib/vfwcash/version.rb +3 -0
- data/lib/vfwcash.rb +90 -0
- data/pdf_examples/audit_201507.pdf +2826 -0
- data/pdf_examples/balance_201508.pdf +2283 -0
- data/pdf_examples/controllers/checkbooks_controller.rb +99 -0
- data/pdf_examples/ledger_201504.pdf +5758 -0
- data/pdf_examples/ledger_summary.pdf +5719 -0
- data/pdf_examples/register_201508.pdf +1157 -0
- data/pdf_examples/split_201508.pdf +4930 -0
- data/pdf_examples/views/checkbooks/balance.html.slim +53 -0
- data/pdf_examples/views/checkbooks/between.html.slim +53 -0
- data/pdf_examples/views/checkbooks/index.html.slim +57 -0
- data/pdf_examples/views/checkbooks/ledger.html.slim +58 -0
- data/pdf_examples/views/checkbooks/register.html.slim +44 -0
- data/pdf_examples/views/checkbooks/split.html.slim +45 -0
- data/pdf_examples/views/checkbooks/summary.html.slim +56 -0
- data/vfwcash.gemspec +31 -0
- metadata +198 -0
@@ -0,0 +1,53 @@
|
|
1
|
+
.box
|
2
|
+
strong = "#{@cash.config[:post][:post]} Month Summary"
|
3
|
+
| |
|
4
|
+
= link_to "Home", root_path, style:"color:white;"
|
5
|
+
| |
|
6
|
+
= link_to "Checkbook Menu", "/checkbooks", style:"color:white;"
|
7
|
+
|
8
|
+
table.small-table
|
9
|
+
tr
|
10
|
+
th Fund
|
11
|
+
th BBegin
|
12
|
+
th Debits
|
13
|
+
th Credits
|
14
|
+
th P/L
|
15
|
+
th EBalance
|
16
|
+
tr
|
17
|
+
th Checking
|
18
|
+
td.tright = int_money @cash.balances[:checking][:bbalance]
|
19
|
+
td.tright = int_money @cash.balances[:checking][:debits]
|
20
|
+
td.tright = int_money @cash.balances[:checking][:credits]
|
21
|
+
td.tright = int_money @cash.balances[:checking][:diff]
|
22
|
+
td.tright = int_money @cash.balances[:checking][:ebalance]
|
23
|
+
|
24
|
+
- @cash.checking_funds.each do |f|
|
25
|
+
tr
|
26
|
+
th = f
|
27
|
+
td.tright = int_money @cash.balances[f][:bbalance]
|
28
|
+
td.tright = int_money @cash.balances[f][:debits]
|
29
|
+
td.tright = int_money @cash.balances[f][:credits]
|
30
|
+
td.tright = int_money @cash.balances[f][:diff]
|
31
|
+
td.tright = int_money @cash.balances[f][:ebalance]
|
32
|
+
|
33
|
+
tr
|
34
|
+
th Savings
|
35
|
+
td.tright = int_money @cash.balances[:savings][:bbalance]
|
36
|
+
td.tright = int_money @cash.balances[:savings][:debits]
|
37
|
+
td.tright = int_money @cash.balances[:savings][:credits]
|
38
|
+
td.tright = int_money @cash.balances[:savings][:diff]
|
39
|
+
td.tright = int_money @cash.balances[:savings][:ebalance]
|
40
|
+
|
41
|
+
tr
|
42
|
+
th Curr Assets
|
43
|
+
td.tright = int_money (@cash.balances[:savings][:bbalance] + @cash.balances[:checking][:bbalance])
|
44
|
+
td.tright = int_money (@cash.balances[:savings][:debits] + @cash.balances[:checking][:debits])
|
45
|
+
td.tright = int_money (@cash.balances[:savings][:credits] + @cash.balances[:checking][:credits])
|
46
|
+
td.tright = int_money (@cash.balances[:savings][:diff] + @cash.balances[:checking][:diff])
|
47
|
+
td.tright = int_money (@cash.balances[:savings][:ebalance] + @cash.balances[:checking][:ebalance])
|
48
|
+
|
49
|
+
|
50
|
+
|
51
|
+
|
52
|
+
|
53
|
+
|
@@ -0,0 +1,53 @@
|
|
1
|
+
.box
|
2
|
+
strong = "#{@cash.config[:post][:post]} Balance Between #{@from} and #{@to} Summary"
|
3
|
+
| |
|
4
|
+
= link_to "Home", root_path, style:"color:white;"
|
5
|
+
| |
|
6
|
+
= link_to "Checkbook Menu", "/checkbooks", style:"color:white;"
|
7
|
+
br
|
8
|
+
table.small-table
|
9
|
+
tr
|
10
|
+
th Fund
|
11
|
+
th BBegin
|
12
|
+
th Debits
|
13
|
+
th Credits
|
14
|
+
th P/L
|
15
|
+
th EBalance
|
16
|
+
tr
|
17
|
+
th Checking
|
18
|
+
td.tright = int_money @cash.balances[:checking][:bbalance]
|
19
|
+
td.tright = int_money @cash.balances[:checking][:debits]
|
20
|
+
td.tright = int_money @cash.balances[:checking][:credits]
|
21
|
+
td.tright = int_money @cash.balances[:checking][:diff]
|
22
|
+
td.tright = int_money @cash.balances[:checking][:ebalance]
|
23
|
+
|
24
|
+
- @cash.checking_funds.each do |f|
|
25
|
+
tr
|
26
|
+
th = f
|
27
|
+
td.tright = int_money @cash.balances[f][:bbalance]
|
28
|
+
td.tright = int_money @cash.balances[f][:debits]
|
29
|
+
td.tright = int_money @cash.balances[f][:credits]
|
30
|
+
td.tright = int_money @cash.balances[f][:diff]
|
31
|
+
td.tright = int_money @cash.balances[f][:ebalance]
|
32
|
+
|
33
|
+
tr
|
34
|
+
th Savings
|
35
|
+
td.tright = int_money @cash.balances[:savings][:bbalance]
|
36
|
+
td.tright = int_money @cash.balances[:savings][:debits]
|
37
|
+
td.tright = int_money @cash.balances[:savings][:credits]
|
38
|
+
td.tright = int_money @cash.balances[:savings][:diff]
|
39
|
+
td.tright = int_money @cash.balances[:savings][:ebalance]
|
40
|
+
|
41
|
+
tr
|
42
|
+
th Curr Assets
|
43
|
+
td.tright = int_money (@cash.balances[:savings][:bbalance] + @cash.balances[:checking][:bbalance])
|
44
|
+
td.tright = int_money (@cash.balances[:savings][:debits] + @cash.balances[:checking][:debits])
|
45
|
+
td.tright = int_money (@cash.balances[:savings][:credits] + @cash.balances[:checking][:credits])
|
46
|
+
td.tright = int_money (@cash.balances[:savings][:diff] + @cash.balances[:checking][:diff])
|
47
|
+
td.tright = int_money (@cash.balances[:savings][:ebalance] + @cash.balances[:checking][:ebalance])
|
48
|
+
|
49
|
+
|
50
|
+
|
51
|
+
|
52
|
+
|
53
|
+
|
@@ -0,0 +1,57 @@
|
|
1
|
+
fieldset.row
|
2
|
+
legend
|
3
|
+
|#{@cash.config[:post][:post]} Checkbook Ledgers/Registers/Reports
|
4
|
+
.link-bar
|
5
|
+
= link_to "Home", root_path
|
6
|
+
= link_to "Reports Menu", "/reports"
|
7
|
+
= link_to "Last Trustees' Report of Audit", audit_pdf_checkbooks_path, target:'_blank'
|
8
|
+
strong Ledger Summary:
|
9
|
+
= link_to "HTML", summary_checkbooks_path
|
10
|
+
= link_to "PDF", summary_pdf_checkbooks_path, target:'_blank'
|
11
|
+
table
|
12
|
+
tr
|
13
|
+
th Balance Between(dates) Summary
|
14
|
+
th From:
|
15
|
+
td = text_field_tag :date_from, nil,class:'datepicker-yymm'
|
16
|
+
th To:
|
17
|
+
td = text_field_tag :date_to, nil,class:'datepicker-yymm'
|
18
|
+
th
|
19
|
+
.strong.button.tiny.radius data-behavior="get-bal" HTML
|
20
|
+
.strong.button.tiny.radius data-behavior="get-bal-pdf" PDF
|
21
|
+
|
22
|
+
|
23
|
+
|
24
|
+
.row
|
25
|
+
.medium-4.columns
|
26
|
+
.box General Ledger
|
27
|
+
ul
|
28
|
+
- @cash.tmonths.reverse.each do |curr|
|
29
|
+
li
|
30
|
+
= curr
|
31
|
+
|:
|
32
|
+
= link_to 'HTML', ledger_checkbook_path(curr)
|
33
|
+
| |
|
34
|
+
= link_to 'PDF', ledger_pdf_checkbook_path(curr), target:'_blank'
|
35
|
+
| |
|
36
|
+
= link_to 'Bal', balance_checkbook_path(curr)
|
37
|
+
|
38
|
+
.medium-4.columns
|
39
|
+
.box Split Ledger
|
40
|
+
ul
|
41
|
+
- @cash.tmonths.reverse.each do |curr|
|
42
|
+
li
|
43
|
+
= curr
|
44
|
+
|:
|
45
|
+
= link_to 'HTML', split_checkbook_path(curr)
|
46
|
+
| |
|
47
|
+
= link_to 'PDF', split_pdf_checkbook_path(curr), target:'_blank'
|
48
|
+
.medium-4.columns
|
49
|
+
.box Registers
|
50
|
+
ul
|
51
|
+
- @cash.tmonths.reverse.each do |curr|
|
52
|
+
li
|
53
|
+
= curr
|
54
|
+
|:
|
55
|
+
= link_to 'HTML', register_checkbook_path(curr)
|
56
|
+
| |
|
57
|
+
= link_to 'PDF', register_pdf_checkbook_path(curr), target:'_blank'
|
@@ -0,0 +1,58 @@
|
|
1
|
+
.box
|
2
|
+
strong = "#{@cash.config[:post][:post]} General Ledger"
|
3
|
+
| |
|
4
|
+
= link_to "Home", root_path, style:"color:white;"
|
5
|
+
| |
|
6
|
+
= link_to "Checkbook Menu", "/checkbooks", style:"color:white;"
|
7
|
+
|
|
8
|
+
= @ip
|
9
|
+
table.small-table.f7r
|
10
|
+
tr
|
11
|
+
th Date
|
12
|
+
th Num
|
13
|
+
th R
|
14
|
+
th style="width:15rem;" Desc
|
15
|
+
th.tcenter colspan="2" + Checking -
|
16
|
+
- @response[:funds][:checking].each do |f|
|
17
|
+
th.tcenter colspan="2" = "+ #{f} -"
|
18
|
+
th.tcenter colspan="2" + Savings -
|
19
|
+
|
20
|
+
|
21
|
+
tr
|
22
|
+
th colspan="4" = "Beginning balance for #{@response[:month]}: Total Current Assets #{int_money(@response[:balances][:savings][:bbalance] + @response[:balances][:checking][:bbalance])}"
|
23
|
+
th.tcenter colspan="2" = int_money(@response[:balances][:checking][:bbalance])
|
24
|
+
|
25
|
+
- @response[:funds][:checking].each do |f|
|
26
|
+
th.tcenter colspan="2" = int_money(@response[:balances][:funds][f][:bbalance])
|
27
|
+
th.tcenter colspan="2" = int_money(@response[:balances][:savings][:bbalance])
|
28
|
+
|
29
|
+
|
30
|
+
- @response[:rows].each do |r|
|
31
|
+
tr
|
32
|
+
- r.each do |k,v|
|
33
|
+
- if v.class == Hash
|
34
|
+
td.tright
|
35
|
+
= int_money(v[:db]) unless v[:db].zero?
|
36
|
+
td.tright
|
37
|
+
= int_money(v[:cr]) unless v[:cr].zero?
|
38
|
+
- else
|
39
|
+
td = v
|
40
|
+
|
41
|
+
tr
|
42
|
+
th colspan="4" = "Total Debits/Credits for #{@response[:month]}"
|
43
|
+
td.tright = int_money(@response[:balances][:checking][:debits])
|
44
|
+
td.tright = int_money(@response[:balances][:checking][:credits])
|
45
|
+
- @response[:funds][:checking].each do |f|
|
46
|
+
td.tright = int_money(@response[:balances][:funds][f][:debits])
|
47
|
+
td.tright = int_money(@response[:balances][:funds][f][:credits])
|
48
|
+
td.tright = int_money(@response[:balances][:savings][:debits])
|
49
|
+
td.tright = int_money(@response[:balances][:savings][:credits])
|
50
|
+
|
51
|
+
tr
|
52
|
+
th colspan="4" = "Ending balance for #{@response[:month]} - Total Current Assets: #{int_money(@response[:balances][:savings][:ebalance] + @response[:balances][:checking][:ebalance])}"
|
53
|
+
th.tcenter colspan="2" = int_money(@response[:balances][:checking][:ebalance])
|
54
|
+
|
55
|
+
- @response[:funds][:checking].each do |f|
|
56
|
+
th.tcenter colspan="2" = int_money(@response[:balances][:funds][f][:ebalance])
|
57
|
+
th.tcenter colspan="2" = int_money(@response[:balances][:savings][:ebalance])
|
58
|
+
|
@@ -0,0 +1,44 @@
|
|
1
|
+
.box
|
2
|
+
strong = "#{@cash.config[:post][:post]} Checkbook Register"
|
3
|
+
| |
|
4
|
+
= link_to "Home", root_path, style:"color:white;"
|
5
|
+
| |
|
6
|
+
= link_to "Checkbook Menu", "/checkbooks", style:"color:white;"
|
7
|
+
table.small-table
|
8
|
+
tr
|
9
|
+
th Date
|
10
|
+
th Num
|
11
|
+
th style="width:20rem;" Desc
|
12
|
+
th Account
|
13
|
+
th R
|
14
|
+
th.w3r Debits
|
15
|
+
th.w3r Credits
|
16
|
+
th.w3r Balance
|
17
|
+
tr
|
18
|
+
td
|
19
|
+
td
|
20
|
+
td Beginning Balance
|
21
|
+
td
|
22
|
+
td
|
23
|
+
td
|
24
|
+
td
|
25
|
+
td.tright = int_money(@response[:balances][:checking][:bbalance])
|
26
|
+
- @response[:rows].each do |row|
|
27
|
+
tr
|
28
|
+
td = row[:date]
|
29
|
+
td = row[:num]
|
30
|
+
td = row[:desc]
|
31
|
+
td = row[:memo]
|
32
|
+
td = row[:r]
|
33
|
+
td.tright = row[:checking][:db].zero? ? nil : int_money(row[:checking][:db])
|
34
|
+
td.tright = row[:checking][:cr].zero? ? nil : int_money(row[:checking][:cr])
|
35
|
+
td.tright = row[:balance].zero? ? nil : int_money(row[:balance])
|
36
|
+
/ - row[:details].each do |d|
|
37
|
+
/ tr
|
38
|
+
/ td colspan="2"
|
39
|
+
/ td = d[:memo]
|
40
|
+
/ td = d[:name]
|
41
|
+
/ td = d[:r]
|
42
|
+
/ td.tright = d[:db].zero? ? nil : int_money(d[:db])
|
43
|
+
/ td.tright = d[:cr].zero? ? nil : int_money(d[:cr])
|
44
|
+
/ td
|
@@ -0,0 +1,45 @@
|
|
1
|
+
.box
|
2
|
+
strong = "#{@cash.config[:post][:post]} Split Ledger"
|
3
|
+
| |
|
4
|
+
= link_to "Home", root_path, style:"color:white;"
|
5
|
+
| |
|
6
|
+
= link_to "Checkbook Menu", "/checkbooks", style:"color:white;"
|
7
|
+
|
8
|
+
table.small-table
|
9
|
+
tr
|
10
|
+
th Date
|
11
|
+
th Num
|
12
|
+
th style="width:15rem;" Desc
|
13
|
+
th Account
|
14
|
+
th R
|
15
|
+
th.w3r Debits
|
16
|
+
th.w3r Credits
|
17
|
+
th.w3r Balance
|
18
|
+
tr
|
19
|
+
td
|
20
|
+
td
|
21
|
+
td Beginning Balance
|
22
|
+
td
|
23
|
+
td
|
24
|
+
td
|
25
|
+
td
|
26
|
+
td.tright = int_money(@response[:balances][:checking][:bbalance])
|
27
|
+
- @response[:rows].each do |row|
|
28
|
+
tr.whiteSelectedBackground
|
29
|
+
td = row[:date]
|
30
|
+
td = row[:num]
|
31
|
+
td = row[:desc]
|
32
|
+
td
|
33
|
+
td
|
34
|
+
td.tright = row[:checking][:db].zero? ? nil : int_money(row[:checking][:db])
|
35
|
+
td.tright = row[:checking][:cr].zero? ? nil : int_money(row[:checking][:cr])
|
36
|
+
td.tright = row[:balance].zero? ? nil : int_money(row[:balance])
|
37
|
+
- row[:details].each do |d|
|
38
|
+
tr.snowSelectedBackground
|
39
|
+
td colspan="2"
|
40
|
+
td = d[:memo]
|
41
|
+
td = d[:name]
|
42
|
+
td = d[:r]
|
43
|
+
td.tright = d[:db].zero? ? nil : int_money(d[:db])
|
44
|
+
td.tright = d[:cr].zero? ? nil : int_money(d[:cr])
|
45
|
+
td
|
@@ -0,0 +1,56 @@
|
|
1
|
+
.box
|
2
|
+
strong = "#{@cash.config[:post][:post]} General Ledger Summary"
|
3
|
+
| |
|
4
|
+
= link_to "Home", root_path, style:"color:white;"
|
5
|
+
| |
|
6
|
+
= link_to "Checkbook Menu", "/checkbooks", style:"color:white;"
|
7
|
+
table.small-table.f7r
|
8
|
+
tr
|
9
|
+
th = "General Ledger Summary for #{@cash.dates}"
|
10
|
+
th.tcenter colspan="2" + Checking -
|
11
|
+
- @cash.checking_funds.each do |f|
|
12
|
+
th.tcenter colspan="2" = "+ #{f} -"
|
13
|
+
th.tcenter colspan="2" + Savings -
|
14
|
+
- @cash.tmonths.each do |m|
|
15
|
+
|
16
|
+
- tca = @cash.balances[:savings][m][:bbalance] + @cash.balances[:checking][m][:bbalance]
|
17
|
+
- cntnt = " #{m} Beginning Balance (Current Assets #{int_money(tca)} )"
|
18
|
+
|
19
|
+
tr
|
20
|
+
th = cntnt
|
21
|
+
th.tcenter colspan="2" = int_money(@cash.balances[:checking][m][:bbalance])
|
22
|
+
|
23
|
+
- @cash.checking_funds.each do |f|
|
24
|
+
th.tcenter colspan="2" = int_money(@cash.balances[f][m][:bbalance])
|
25
|
+
th.tcenter colspan="2" = int_money(@cash.balances[:savings][m][:bbalance])
|
26
|
+
|
27
|
+
tr
|
28
|
+
- pl = @cash.balances[:savings][m][:diff] + @cash.balances[:checking][m][:diff]
|
29
|
+
- cntnt = "Total Debits/Credits (Profit/Loss: #{int_money(pl)})"
|
30
|
+
|
31
|
+
th = cntnt
|
32
|
+
td.tright = int_money(@cash.balances[:checking][m][:debits])
|
33
|
+
td.tright = int_money(@cash.balances[:checking][m][:credits])
|
34
|
+
|
35
|
+
- @cash.checking_funds.each do |f|
|
36
|
+
td.tright = int_money(@cash.balances[f][m][:debits])
|
37
|
+
td.tright = int_money(@cash.balances[f][m][:credits])
|
38
|
+
|
39
|
+
td.tright = int_money(@cash.balances[:savings][m][:debits])
|
40
|
+
td.tright = int_money(@cash.balances[:savings][m][:credits])
|
41
|
+
|
42
|
+
tr
|
43
|
+
- m = @cash.tmonths.last
|
44
|
+
- tca = @cash.balances[:savings][m][:bbalance] + @cash.balances[:checking][m][:bbalance]
|
45
|
+
- cntnt = " #{m} Current Balance (Current Assets #{int_money(tca)} )"
|
46
|
+
|
47
|
+
th = cntnt
|
48
|
+
th.tcenter colspan="2" = int_money(@cash.balances[:checking][m][:ebalance])
|
49
|
+
|
50
|
+
- @cash.checking_funds.each do |f|
|
51
|
+
th.tcenter colspan="2" = int_money(@cash.balances[f][m][:ebalance])
|
52
|
+
th.tcenter colspan="2" = int_money(@cash.balances[:savings][m][:ebalance])
|
53
|
+
|
54
|
+
|
55
|
+
|
56
|
+
|
data/vfwcash.gemspec
ADDED
@@ -0,0 +1,31 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'vfwcash/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "vfwcash"
|
8
|
+
spec.version = Vfwcash::VERSION
|
9
|
+
spec.authors = ["Steve Alex"]
|
10
|
+
spec.email = ["salex@mac.com"]
|
11
|
+
spec.summary = %q{Simple cammand line tool to generate PDF reports from GNUCash.}
|
12
|
+
spec.description = %q{Simple cammand line tool to generate PDF reports from GNUCash..}
|
13
|
+
spec.homepage = ""
|
14
|
+
spec.license = "MIT"
|
15
|
+
|
16
|
+
spec.files = `git ls-files -z`.split("\x0")
|
17
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
|
+
spec.require_paths = ["lib"]
|
20
|
+
|
21
|
+
spec.add_development_dependency "bundler", "~> 1.7"
|
22
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
23
|
+
|
24
|
+
spec.add_dependency 'thor'
|
25
|
+
spec.add_dependency 'sqlite3'
|
26
|
+
spec.add_dependency 'activerecord'
|
27
|
+
spec.add_dependency "prawn-table"
|
28
|
+
spec.add_dependency "prawn", '~> 1.3'
|
29
|
+
spec.add_dependency 'chronic'
|
30
|
+
|
31
|
+
end
|
metadata
ADDED
@@ -0,0 +1,198 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: vfwcash
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.3.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Steve Alex
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2015-09-15 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.7'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.7'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '10.0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '10.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: thor
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: sqlite3
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: activerecord
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: prawn-table
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: prawn
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '1.3'
|
104
|
+
type: :runtime
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '1.3'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: chronic
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :runtime
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
description: Simple cammand line tool to generate PDF reports from GNUCash..
|
126
|
+
email:
|
127
|
+
- salex@mac.com
|
128
|
+
executables:
|
129
|
+
- vfwcash
|
130
|
+
extensions: []
|
131
|
+
extra_rdoc_files: []
|
132
|
+
files:
|
133
|
+
- ".gitignore"
|
134
|
+
- Gemfile
|
135
|
+
- LICENSE.txt
|
136
|
+
- README.md
|
137
|
+
- Rakefile
|
138
|
+
- bin/vfwcash
|
139
|
+
- lib/models/audit.rb
|
140
|
+
- lib/models/balance.rb
|
141
|
+
- lib/models/between.rb
|
142
|
+
- lib/models/cash_account.rb
|
143
|
+
- lib/models/gcash.rb
|
144
|
+
- lib/models/ledger.rb
|
145
|
+
- lib/models/register.rb
|
146
|
+
- lib/models/split.rb
|
147
|
+
- lib/models/split_ledger.rb
|
148
|
+
- lib/models/sqlite_base.rb
|
149
|
+
- lib/models/summary.rb
|
150
|
+
- lib/models/tran.rb
|
151
|
+
- lib/templates/vfw-gray.png
|
152
|
+
- lib/templates/vfwcash.gnucash
|
153
|
+
- lib/templates/vfwcash.yml
|
154
|
+
- lib/vfwcash.rb
|
155
|
+
- lib/vfwcash/api.rb
|
156
|
+
- lib/vfwcash/cli.rb
|
157
|
+
- lib/vfwcash/controller.rb
|
158
|
+
- lib/vfwcash/version.rb
|
159
|
+
- pdf_examples/audit_201507.pdf
|
160
|
+
- pdf_examples/balance_201508.pdf
|
161
|
+
- pdf_examples/controllers/checkbooks_controller.rb
|
162
|
+
- pdf_examples/ledger_201504.pdf
|
163
|
+
- pdf_examples/ledger_summary.pdf
|
164
|
+
- pdf_examples/register_201508.pdf
|
165
|
+
- pdf_examples/split_201508.pdf
|
166
|
+
- pdf_examples/views/checkbooks/balance.html.slim
|
167
|
+
- pdf_examples/views/checkbooks/between.html.slim
|
168
|
+
- pdf_examples/views/checkbooks/index.html.slim
|
169
|
+
- pdf_examples/views/checkbooks/ledger.html.slim
|
170
|
+
- pdf_examples/views/checkbooks/register.html.slim
|
171
|
+
- pdf_examples/views/checkbooks/split.html.slim
|
172
|
+
- pdf_examples/views/checkbooks/summary.html.slim
|
173
|
+
- vfwcash.gemspec
|
174
|
+
homepage: ''
|
175
|
+
licenses:
|
176
|
+
- MIT
|
177
|
+
metadata: {}
|
178
|
+
post_install_message:
|
179
|
+
rdoc_options: []
|
180
|
+
require_paths:
|
181
|
+
- lib
|
182
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
183
|
+
requirements:
|
184
|
+
- - ">="
|
185
|
+
- !ruby/object:Gem::Version
|
186
|
+
version: '0'
|
187
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
188
|
+
requirements:
|
189
|
+
- - ">="
|
190
|
+
- !ruby/object:Gem::Version
|
191
|
+
version: '0'
|
192
|
+
requirements: []
|
193
|
+
rubyforge_project:
|
194
|
+
rubygems_version: 2.2.2
|
195
|
+
signing_key:
|
196
|
+
specification_version: 4
|
197
|
+
summary: Simple cammand line tool to generate PDF reports from GNUCash.
|
198
|
+
test_files: []
|