reckon 0.5.1 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ruby.yml +50 -0
- data/.gitignore +2 -0
- data/.ruby-version +1 -1
- data/CHANGELOG.md +74 -0
- data/Gemfile.lock +1 -5
- data/README.md +72 -16
- data/Rakefile +17 -1
- data/lib/reckon.rb +2 -5
- data/lib/reckon/app.rb +145 -71
- data/lib/reckon/cosine_similarity.rb +92 -89
- data/lib/reckon/csv_parser.rb +67 -122
- data/lib/reckon/date_column.rb +10 -0
- data/lib/reckon/ledger_parser.rb +11 -1
- data/lib/reckon/logger.rb +4 -0
- data/lib/reckon/money.rb +52 -51
- data/lib/reckon/version.rb +1 -1
- data/reckon.gemspec +1 -2
- data/spec/data_fixtures/51-sample.csv +8 -0
- data/spec/data_fixtures/51-tokens.yml +9 -0
- data/spec/data_fixtures/85-date-example.csv +2 -0
- data/spec/integration/another_bank_example/input.csv +9 -0
- data/spec/integration/another_bank_example/output.ledger +36 -0
- data/spec/integration/another_bank_example/test_args +1 -0
- data/spec/integration/austrian_example/input.csv +13 -0
- data/spec/integration/austrian_example/output.ledger +52 -0
- data/spec/integration/austrian_example/test_args +2 -0
- data/spec/integration/bom_utf8_file/input.csv +3 -0
- data/spec/integration/bom_utf8_file/output.ledger +4 -0
- data/spec/integration/bom_utf8_file/test_args +3 -0
- data/spec/integration/broker_canada_example/input.csv +12 -0
- data/spec/integration/broker_canada_example/output.ledger +48 -0
- data/spec/integration/broker_canada_example/test_args +1 -0
- data/spec/integration/chase/account_tokens_and_regex/output.ledger +36 -0
- data/spec/integration/chase/account_tokens_and_regex/test_args +2 -0
- data/spec/integration/chase/account_tokens_and_regex/tokens.yml +16 -0
- data/spec/integration/chase/default_account_names/output.ledger +36 -0
- data/spec/integration/chase/default_account_names/test_args +3 -0
- data/spec/integration/chase/input.csv +9 -0
- data/spec/integration/chase/learn_from_existing/learn.ledger +7 -0
- data/spec/integration/chase/learn_from_existing/output.ledger +36 -0
- data/spec/integration/chase/learn_from_existing/test_args +1 -0
- data/spec/integration/chase/simple/output.ledger +36 -0
- data/spec/integration/chase/simple/test_args +1 -0
- data/spec/integration/danish_kroner_nordea_example/input.csv +6 -0
- data/spec/integration/danish_kroner_nordea_example/output.ledger +24 -0
- data/spec/integration/danish_kroner_nordea_example/test_args +1 -0
- data/spec/integration/english_date_example/input.csv +3 -0
- data/spec/integration/english_date_example/output.ledger +12 -0
- data/spec/integration/english_date_example/test_args +1 -0
- data/spec/integration/extratofake/input.csv +24 -0
- data/spec/integration/extratofake/output.ledger +92 -0
- data/spec/integration/extratofake/test_args +1 -0
- data/spec/integration/french_example/input.csv +9 -0
- data/spec/integration/french_example/output.ledger +36 -0
- data/spec/integration/french_example/test_args +2 -0
- data/spec/integration/german_date_example/input.csv +3 -0
- data/spec/integration/german_date_example/output.ledger +12 -0
- data/spec/integration/german_date_example/test_args +1 -0
- data/spec/integration/harder_date_example/input.csv +5 -0
- data/spec/integration/harder_date_example/output.ledger +20 -0
- data/spec/integration/harder_date_example/test_args +1 -0
- data/spec/integration/ing/input.csv +3 -0
- data/spec/integration/ing/output.ledger +12 -0
- data/spec/integration/ing/test_args +1 -0
- data/spec/integration/intuit_mint_example/input.csv +7 -0
- data/spec/integration/intuit_mint_example/output.ledger +28 -0
- data/spec/integration/intuit_mint_example/test_args +1 -0
- data/spec/integration/invalid_header_example/input.csv +6 -0
- data/spec/integration/invalid_header_example/output.ledger +8 -0
- data/spec/integration/invalid_header_example/test_args +1 -0
- data/spec/integration/inversed_credit_card/input.csv +16 -0
- data/spec/integration/inversed_credit_card/output.ledger +64 -0
- data/spec/integration/inversed_credit_card/test_args +1 -0
- data/spec/integration/nationwide/input.csv +4 -0
- data/spec/integration/nationwide/output.ledger +16 -0
- data/spec/integration/nationwide/test_args +1 -0
- data/spec/integration/regression/issue_51_account_tokens/input.csv +8 -0
- data/spec/integration/regression/issue_51_account_tokens/output.ledger +32 -0
- data/spec/integration/regression/issue_51_account_tokens/test_args +4 -0
- data/spec/integration/regression/issue_51_account_tokens/tokens.yml +9 -0
- data/spec/integration/regression/issue_64_date_column/input.csv +3 -0
- data/spec/integration/regression/issue_64_date_column/output.ledger +8 -0
- data/spec/integration/regression/issue_64_date_column/test_args +1 -0
- data/spec/integration/regression/issue_73_account_token_matching/input.csv +2 -0
- data/spec/integration/regression/issue_73_account_token_matching/output.ledger +4 -0
- data/spec/integration/regression/issue_73_account_token_matching/test_args +6 -0
- data/spec/integration/regression/issue_73_account_token_matching/tokens.yml +8 -0
- data/spec/integration/regression/issue_85_date_example/input.csv +2 -0
- data/spec/integration/regression/issue_85_date_example/output.ledger +8 -0
- data/spec/integration/regression/issue_85_date_example/test_args +1 -0
- data/spec/integration/spanish_date_example/input.csv +3 -0
- data/spec/integration/spanish_date_example/output.ledger +12 -0
- data/spec/integration/spanish_date_example/test_args +1 -0
- data/spec/integration/suntrust/input.csv +7 -0
- data/spec/integration/suntrust/output.ledger +28 -0
- data/spec/integration/suntrust/test_args +1 -0
- data/spec/integration/test.sh +82 -0
- data/spec/integration/test_money_column/input.csv +3 -0
- data/spec/integration/test_money_column/output.ledger +8 -0
- data/spec/integration/test_money_column/test_args +1 -0
- data/spec/integration/two_money_columns/input.csv +5 -0
- data/spec/integration/two_money_columns/output.ledger +20 -0
- data/spec/integration/two_money_columns/test_args +1 -0
- data/spec/integration/yyyymmdd_date_example/input.csv +1 -0
- data/spec/integration/yyyymmdd_date_example/output.ledger +4 -0
- data/spec/integration/yyyymmdd_date_example/test_args +1 -0
- data/spec/reckon/app_spec.rb +18 -2
- data/spec/reckon/csv_parser_spec.rb +129 -129
- data/spec/reckon/ledger_parser_spec.rb +42 -5
- data/spec/reckon/money_column_spec.rb +24 -24
- data/spec/reckon/money_spec.rb +36 -42
- data/spec/spec_helper.rb +19 -0
- metadata +97 -22
- data/.travis.yml +0 -13
@@ -8,13 +8,13 @@ require 'reckon'
|
|
8
8
|
describe Reckon::MoneyColumn do
|
9
9
|
describe "initialize" do
|
10
10
|
it "should convert strings into Money" do
|
11
|
-
Reckon::MoneyColumn.new( ["1.00", "-2.00"] ).should == [
|
11
|
+
Reckon::MoneyColumn.new( ["1.00", "-2.00"] ).should == [
|
12
12
|
Reckon::Money.new( 1.00 ), Reckon::Money.new( -2.00 ) ]
|
13
13
|
end
|
14
14
|
it "should convert empty string into nil" do
|
15
|
-
Reckon::MoneyColumn.new( ["1.00", ""] ).should == [
|
15
|
+
Reckon::MoneyColumn.new( ["1.00", ""] ).should == [
|
16
16
|
Reckon::Money.new( 1.00 ), nil ]
|
17
|
-
Reckon::MoneyColumn.new( ["", "-2.00"] ).should == [
|
17
|
+
Reckon::MoneyColumn.new( ["", "-2.00"] ).should == [
|
18
18
|
nil, Reckon::Money.new( -2.00 ) ]
|
19
19
|
end
|
20
20
|
end
|
@@ -32,33 +32,33 @@ describe Reckon::MoneyColumn do
|
|
32
32
|
|
33
33
|
describe "merge" do
|
34
34
|
it "should merge two columns" do
|
35
|
-
Reckon::MoneyColumn.new(
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
Reckon::MoneyColumn.new(
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
end
|
35
|
+
m1 = Reckon::MoneyColumn.new(["1.00", ""])
|
36
|
+
m2 = Reckon::MoneyColumn.new(["", "-2.00"])
|
37
|
+
expect(m1.merge!(m2)).to(
|
38
|
+
eq([Reckon::Money.new(1.00), Reckon::Money.new(-2.00)])
|
39
|
+
)
|
40
|
+
|
41
|
+
m1 = Reckon::MoneyColumn.new(["1.00", "0"])
|
42
|
+
m2 = Reckon::MoneyColumn.new(["0", "-2.00"])
|
43
|
+
expect(m1.merge!(m2)).to(
|
44
|
+
eq([Reckon::Money.new(1.00), Reckon::Money.new(-2.00)])
|
45
|
+
)
|
46
|
+
end
|
48
47
|
|
49
48
|
it "should return nil if columns cannot be merged" do
|
50
|
-
Reckon::MoneyColumn.new(
|
51
|
-
|
49
|
+
m1 = Reckon::MoneyColumn.new(["1.00", ""])
|
50
|
+
m2 = Reckon::MoneyColumn.new(["1.00", "-2.00"])
|
51
|
+
expect(m1.merge!(m2)).to eq([Reckon::Money.new(0), Reckon::Money.new(-2)])
|
52
52
|
|
53
|
-
Reckon::MoneyColumn.new(
|
54
|
-
|
53
|
+
m1 = Reckon::MoneyColumn.new(["From1", "Names"])
|
54
|
+
m2 = Reckon::MoneyColumn.new(["Acc", "NL28 INGB 1200 3244 16,21817"])
|
55
|
+
expect(m1.merge!(m2)).to eq([Reckon::Money.new(-1), Reckon::Money.new("NL28 INGB 1200 3244 16,21817")])
|
55
56
|
end
|
56
57
|
|
57
58
|
it "should invert first column if both positive" do
|
58
|
-
|
59
|
-
Reckon::MoneyColumn.new( ["", "2.00"]
|
60
|
-
|
59
|
+
expect(
|
60
|
+
Reckon::MoneyColumn.new(["1.00", ""]).merge!(Reckon::MoneyColumn.new( ["", "2.00"]))
|
61
|
+
).to eq([Reckon::Money.new(-1.00), Reckon::Money.new(2.00)])
|
61
62
|
end
|
62
63
|
end
|
63
64
|
end
|
64
|
-
|
data/spec/reckon/money_spec.rb
CHANGED
@@ -6,81 +6,75 @@ require 'rubygems'
|
|
6
6
|
require 'reckon'
|
7
7
|
|
8
8
|
describe Reckon::Money do
|
9
|
-
describe "
|
9
|
+
describe "parse" do
|
10
10
|
it "should handle currency indicators" do
|
11
|
-
Reckon::Money
|
12
|
-
Reckon::Money
|
13
|
-
Reckon::Money
|
11
|
+
expect(Reckon::Money.new( "$2.00" )).to eq(2.00)
|
12
|
+
expect(Reckon::Money.new("-$1025.67")).to eq(-1025.67)
|
13
|
+
expect(Reckon::Money.new("$-1025.67")).to eq(-1025.67)
|
14
14
|
end
|
15
15
|
|
16
16
|
it "should handle the comma_separates_cents option correctly" do
|
17
|
-
Reckon::Money
|
18
|
-
Reckon::Money
|
19
|
-
Reckon::Money
|
17
|
+
expect(Reckon::Money.new("$2,00", comma_separates_cents: true)).to eq(2.00)
|
18
|
+
expect(Reckon::Money.new("-$1025,67", comma_separates_cents: true)).to eq(-1025.67)
|
19
|
+
expect(Reckon::Money.new("$-1025,67", comma_separates_cents: true)).to eq(-1025.67)
|
20
20
|
end
|
21
21
|
|
22
22
|
it "should return 0 for an empty string" do
|
23
|
-
Reckon::Money
|
23
|
+
expect(Reckon::Money.new("")).to eq(0)
|
24
24
|
end
|
25
25
|
|
26
26
|
it "should handle 1000 indicators correctly" do
|
27
|
-
Reckon::Money
|
28
|
-
Reckon::Money
|
29
|
-
end
|
30
|
-
|
31
|
-
it "should keep numbers together" do
|
32
|
-
Reckon::Money::from_s( "1A1" ).should == 1
|
33
|
-
end
|
34
|
-
|
35
|
-
it "should prefer numbers with precision of two" do
|
36
|
-
Reckon::Money::from_s( "1A2.00" ).should == 2
|
37
|
-
Reckon::Money::from_s( "2.00A1" ).should == 2
|
38
|
-
end
|
39
|
-
|
40
|
-
it "should handle arbitrary prefixes and postfixes" do
|
41
|
-
Reckon::Money::from_s( "AB1.00C" ).should == 1
|
42
|
-
Reckon::Money::from_s( "AB0C" ).should == 0
|
43
|
-
Reckon::Money::from_s( "AB-2.00C" ).should == -2
|
44
|
-
end
|
45
|
-
|
46
|
-
it "should return nil if no numbers are found" do
|
47
|
-
Reckon::Money::from_s( "BAC" ).should == nil
|
27
|
+
expect(Reckon::Money.new("$2.000,00", comma_separates_cents: true)).to eq(2000.00)
|
28
|
+
expect(Reckon::Money.new("-$1,025.67")).to eq(-1025.67)
|
48
29
|
end
|
49
30
|
end
|
50
31
|
|
51
32
|
describe "pretty" do
|
52
33
|
it "work with negative and positive numbers" do
|
53
|
-
Reckon::Money.new(
|
54
|
-
Reckon::Money.new(
|
34
|
+
expect(Reckon::Money.new(-20.00).pretty).to eq("-$20.00")
|
35
|
+
expect(Reckon::Money.new(1558.52).pretty).to eq(" $1558.52")
|
55
36
|
end
|
56
37
|
|
57
38
|
it "work with other currencies such as €" do
|
58
|
-
Reckon::Money.new(
|
59
|
-
Reckon::Money.new(
|
39
|
+
expect(Reckon::Money.new(-20.00, currency: "€", suffixed: false).pretty).to eq("-€20.00")
|
40
|
+
expect(Reckon::Money.new(1558.52, currency: "€", suffixed: false).pretty).to eq(" €1558.52")
|
60
41
|
end
|
61
42
|
|
62
43
|
it "work with suffixed currencies such as SEK" do
|
63
|
-
Reckon::Money.new(
|
64
|
-
Reckon::Money.new(
|
44
|
+
expect(Reckon::Money.new(-20.00, currency: "SEK", suffixed: true).pretty).to eq("-20.00 SEK")
|
45
|
+
expect(Reckon::Money.new(1558.52, currency: "SEK", suffixed: true).pretty).to eq(" 1558.52 SEK")
|
65
46
|
end
|
66
47
|
end
|
67
48
|
|
68
49
|
describe "likelihood" do
|
69
50
|
it "should return the likelihood that a string represents money" do
|
70
|
-
Reckon::Money::likelihood(
|
51
|
+
expect(Reckon::Money::likelihood("$20.00")).to eq(65)
|
52
|
+
end
|
53
|
+
|
54
|
+
it "should return neutral for empty string" do
|
55
|
+
expect(Reckon::Money::likelihood("")).to eq(0)
|
56
|
+
end
|
57
|
+
|
58
|
+
it "should recognize non-us currencies" do
|
59
|
+
expect(Reckon::Money::likelihood("£480.00")).to eq(30)
|
60
|
+
expect(Reckon::Money::likelihood("£1.480,00")).to eq(30)
|
61
|
+
end
|
62
|
+
|
63
|
+
it 'should not identify date columns as money' do
|
64
|
+
expect(Reckon::Money::likelihood("22.01.2014")).to eq(0)
|
71
65
|
end
|
72
66
|
end
|
73
67
|
|
74
68
|
describe "equality" do
|
75
69
|
it "should be comparable to other money" do
|
76
|
-
Reckon::Money.new(
|
77
|
-
Reckon::Money.new(
|
78
|
-
Reckon::Money.new(
|
70
|
+
expect(Reckon::Money.new(2.0)).to eq(Reckon::Money.new(2.0))
|
71
|
+
expect(Reckon::Money.new(1.0)).to be <= Reckon::Money.new(2.0)
|
72
|
+
expect(Reckon::Money.new(3.0)).to be > Reckon::Money.new(2.0)
|
79
73
|
end
|
80
74
|
it "should be comparable to other float" do
|
81
|
-
Reckon::Money.new(
|
82
|
-
Reckon::Money.new(
|
83
|
-
Reckon::Money.new(
|
75
|
+
expect(Reckon::Money.new(2.0)).to eq(2.0)
|
76
|
+
expect(Reckon::Money.new(1.0)).to be <= 2.0
|
77
|
+
expect(Reckon::Money.new(3.0)).to be > 2.0
|
84
78
|
end
|
85
79
|
end
|
86
80
|
end
|
data/spec/spec_helper.rb
CHANGED
@@ -3,7 +3,26 @@ require 'rspec'
|
|
3
3
|
require 'reckon'
|
4
4
|
|
5
5
|
RSpec.configure do |config|
|
6
|
+
config.before(:all, &:silence_output)
|
7
|
+
config.after(:all, &:enable_output)
|
6
8
|
def fixture_path(file)
|
7
9
|
File.expand_path(File.join(File.dirname(__FILE__), "data_fixtures", file))
|
8
10
|
end
|
9
11
|
end
|
12
|
+
|
13
|
+
public
|
14
|
+
|
15
|
+
# Redirects stderr and stout to /dev/null.txt
|
16
|
+
def silence_output
|
17
|
+
# Store the original stderr and stdout in order to restore them later
|
18
|
+
@original_stdout = $stdout
|
19
|
+
|
20
|
+
# Redirect stderr and stdout
|
21
|
+
$stdout = File.new(File.join(File.dirname(__FILE__), 'test_log.txt'), 'w')
|
22
|
+
end
|
23
|
+
|
24
|
+
# Replace stderr and stdout so anything else is output correctly
|
25
|
+
def enable_output
|
26
|
+
$stdout = @original_stdout
|
27
|
+
@original_stdout = nil
|
28
|
+
end
|
metadata
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: reckon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Cantino
|
8
8
|
- BlackEdder
|
9
9
|
- Ben Prew
|
10
|
-
autorequire:
|
10
|
+
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2021-01-23 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rspec
|
@@ -82,20 +82,6 @@ dependencies:
|
|
82
82
|
- - ">="
|
83
83
|
- !ruby/object:Gem::Version
|
84
84
|
version: 1.5.2
|
85
|
-
- !ruby/object:Gem::Dependency
|
86
|
-
name: terminal-table
|
87
|
-
requirement: !ruby/object:Gem::Requirement
|
88
|
-
requirements:
|
89
|
-
- - ">="
|
90
|
-
- !ruby/object:Gem::Version
|
91
|
-
version: 1.4.2
|
92
|
-
type: :runtime
|
93
|
-
prerelease: false
|
94
|
-
version_requirements: !ruby/object:Gem::Requirement
|
95
|
-
requirements:
|
96
|
-
- - ">="
|
97
|
-
- !ruby/object:Gem::Version
|
98
|
-
version: 1.4.2
|
99
85
|
- !ruby/object:Gem::Dependency
|
100
86
|
name: rchardet
|
101
87
|
requirement: !ruby/object:Gem::Requirement
|
@@ -120,10 +106,10 @@ extensions: []
|
|
120
106
|
extra_rdoc_files: []
|
121
107
|
files:
|
122
108
|
- ".document"
|
109
|
+
- ".github/workflows/ruby.yml"
|
123
110
|
- ".gitignore"
|
124
111
|
- ".ruby-gemset"
|
125
112
|
- ".ruby-version"
|
126
|
-
- ".travis.yml"
|
127
113
|
- CHANGELOG.md
|
128
114
|
- Gemfile
|
129
115
|
- Gemfile.lock
|
@@ -137,12 +123,16 @@ files:
|
|
137
123
|
- lib/reckon/csv_parser.rb
|
138
124
|
- lib/reckon/date_column.rb
|
139
125
|
- lib/reckon/ledger_parser.rb
|
126
|
+
- lib/reckon/logger.rb
|
140
127
|
- lib/reckon/money.rb
|
141
128
|
- lib/reckon/version.rb
|
142
129
|
- reckon.gemspec
|
130
|
+
- spec/data_fixtures/51-sample.csv
|
131
|
+
- spec/data_fixtures/51-tokens.yml
|
143
132
|
- spec/data_fixtures/73-sample.csv
|
144
133
|
- spec/data_fixtures/73-tokens.yml
|
145
134
|
- spec/data_fixtures/73-transactions.ledger
|
135
|
+
- spec/data_fixtures/85-date-example.csv
|
146
136
|
- spec/data_fixtures/austrian_example.csv
|
147
137
|
- spec/data_fixtures/bom_utf8_file.csv
|
148
138
|
- spec/data_fixtures/broker_canada_example.csv
|
@@ -166,6 +156,92 @@ files:
|
|
166
156
|
- spec/data_fixtures/tokens.yaml
|
167
157
|
- spec/data_fixtures/two_money_columns.csv
|
168
158
|
- spec/data_fixtures/yyyymmdd_date_example.csv
|
159
|
+
- spec/integration/another_bank_example/input.csv
|
160
|
+
- spec/integration/another_bank_example/output.ledger
|
161
|
+
- spec/integration/another_bank_example/test_args
|
162
|
+
- spec/integration/austrian_example/input.csv
|
163
|
+
- spec/integration/austrian_example/output.ledger
|
164
|
+
- spec/integration/austrian_example/test_args
|
165
|
+
- spec/integration/bom_utf8_file/input.csv
|
166
|
+
- spec/integration/bom_utf8_file/output.ledger
|
167
|
+
- spec/integration/bom_utf8_file/test_args
|
168
|
+
- spec/integration/broker_canada_example/input.csv
|
169
|
+
- spec/integration/broker_canada_example/output.ledger
|
170
|
+
- spec/integration/broker_canada_example/test_args
|
171
|
+
- spec/integration/chase/account_tokens_and_regex/output.ledger
|
172
|
+
- spec/integration/chase/account_tokens_and_regex/test_args
|
173
|
+
- spec/integration/chase/account_tokens_and_regex/tokens.yml
|
174
|
+
- spec/integration/chase/default_account_names/output.ledger
|
175
|
+
- spec/integration/chase/default_account_names/test_args
|
176
|
+
- spec/integration/chase/input.csv
|
177
|
+
- spec/integration/chase/learn_from_existing/learn.ledger
|
178
|
+
- spec/integration/chase/learn_from_existing/output.ledger
|
179
|
+
- spec/integration/chase/learn_from_existing/test_args
|
180
|
+
- spec/integration/chase/simple/output.ledger
|
181
|
+
- spec/integration/chase/simple/test_args
|
182
|
+
- spec/integration/danish_kroner_nordea_example/input.csv
|
183
|
+
- spec/integration/danish_kroner_nordea_example/output.ledger
|
184
|
+
- spec/integration/danish_kroner_nordea_example/test_args
|
185
|
+
- spec/integration/english_date_example/input.csv
|
186
|
+
- spec/integration/english_date_example/output.ledger
|
187
|
+
- spec/integration/english_date_example/test_args
|
188
|
+
- spec/integration/extratofake/input.csv
|
189
|
+
- spec/integration/extratofake/output.ledger
|
190
|
+
- spec/integration/extratofake/test_args
|
191
|
+
- spec/integration/french_example/input.csv
|
192
|
+
- spec/integration/french_example/output.ledger
|
193
|
+
- spec/integration/french_example/test_args
|
194
|
+
- spec/integration/german_date_example/input.csv
|
195
|
+
- spec/integration/german_date_example/output.ledger
|
196
|
+
- spec/integration/german_date_example/test_args
|
197
|
+
- spec/integration/harder_date_example/input.csv
|
198
|
+
- spec/integration/harder_date_example/output.ledger
|
199
|
+
- spec/integration/harder_date_example/test_args
|
200
|
+
- spec/integration/ing/input.csv
|
201
|
+
- spec/integration/ing/output.ledger
|
202
|
+
- spec/integration/ing/test_args
|
203
|
+
- spec/integration/intuit_mint_example/input.csv
|
204
|
+
- spec/integration/intuit_mint_example/output.ledger
|
205
|
+
- spec/integration/intuit_mint_example/test_args
|
206
|
+
- spec/integration/invalid_header_example/input.csv
|
207
|
+
- spec/integration/invalid_header_example/output.ledger
|
208
|
+
- spec/integration/invalid_header_example/test_args
|
209
|
+
- spec/integration/inversed_credit_card/input.csv
|
210
|
+
- spec/integration/inversed_credit_card/output.ledger
|
211
|
+
- spec/integration/inversed_credit_card/test_args
|
212
|
+
- spec/integration/nationwide/input.csv
|
213
|
+
- spec/integration/nationwide/output.ledger
|
214
|
+
- spec/integration/nationwide/test_args
|
215
|
+
- spec/integration/regression/issue_51_account_tokens/input.csv
|
216
|
+
- spec/integration/regression/issue_51_account_tokens/output.ledger
|
217
|
+
- spec/integration/regression/issue_51_account_tokens/test_args
|
218
|
+
- spec/integration/regression/issue_51_account_tokens/tokens.yml
|
219
|
+
- spec/integration/regression/issue_64_date_column/input.csv
|
220
|
+
- spec/integration/regression/issue_64_date_column/output.ledger
|
221
|
+
- spec/integration/regression/issue_64_date_column/test_args
|
222
|
+
- spec/integration/regression/issue_73_account_token_matching/input.csv
|
223
|
+
- spec/integration/regression/issue_73_account_token_matching/output.ledger
|
224
|
+
- spec/integration/regression/issue_73_account_token_matching/test_args
|
225
|
+
- spec/integration/regression/issue_73_account_token_matching/tokens.yml
|
226
|
+
- spec/integration/regression/issue_85_date_example/input.csv
|
227
|
+
- spec/integration/regression/issue_85_date_example/output.ledger
|
228
|
+
- spec/integration/regression/issue_85_date_example/test_args
|
229
|
+
- spec/integration/spanish_date_example/input.csv
|
230
|
+
- spec/integration/spanish_date_example/output.ledger
|
231
|
+
- spec/integration/spanish_date_example/test_args
|
232
|
+
- spec/integration/suntrust/input.csv
|
233
|
+
- spec/integration/suntrust/output.ledger
|
234
|
+
- spec/integration/suntrust/test_args
|
235
|
+
- spec/integration/test.sh
|
236
|
+
- spec/integration/test_money_column/input.csv
|
237
|
+
- spec/integration/test_money_column/output.ledger
|
238
|
+
- spec/integration/test_money_column/test_args
|
239
|
+
- spec/integration/two_money_columns/input.csv
|
240
|
+
- spec/integration/two_money_columns/output.ledger
|
241
|
+
- spec/integration/two_money_columns/test_args
|
242
|
+
- spec/integration/yyyymmdd_date_example/input.csv
|
243
|
+
- spec/integration/yyyymmdd_date_example/output.ledger
|
244
|
+
- spec/integration/yyyymmdd_date_example/test_args
|
169
245
|
- spec/reckon/app_spec.rb
|
170
246
|
- spec/reckon/csv_parser_spec.rb
|
171
247
|
- spec/reckon/date_column_spec.rb
|
@@ -178,7 +254,7 @@ homepage: https://github.com/cantino/reckon
|
|
178
254
|
licenses:
|
179
255
|
- MIT
|
180
256
|
metadata: {}
|
181
|
-
post_install_message:
|
257
|
+
post_install_message:
|
182
258
|
rdoc_options: []
|
183
259
|
require_paths:
|
184
260
|
- lib
|
@@ -193,9 +269,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
193
269
|
- !ruby/object:Gem::Version
|
194
270
|
version: '0'
|
195
271
|
requirements: []
|
196
|
-
|
197
|
-
|
198
|
-
signing_key:
|
272
|
+
rubygems_version: 3.2.3
|
273
|
+
signing_key:
|
199
274
|
specification_version: 4
|
200
275
|
summary: Utility for interactively converting and labeling CSV files for the Ledger
|
201
276
|
accounting tool.
|