reckon 0.5.1 → 0.6.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (115) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/ruby.yml +50 -0
  3. data/.gitignore +2 -0
  4. data/.ruby-version +1 -1
  5. data/CHANGELOG.md +74 -0
  6. data/Gemfile.lock +1 -5
  7. data/README.md +72 -16
  8. data/Rakefile +17 -1
  9. data/lib/reckon.rb +2 -5
  10. data/lib/reckon/app.rb +145 -71
  11. data/lib/reckon/cosine_similarity.rb +92 -89
  12. data/lib/reckon/csv_parser.rb +67 -122
  13. data/lib/reckon/date_column.rb +10 -0
  14. data/lib/reckon/ledger_parser.rb +11 -1
  15. data/lib/reckon/logger.rb +4 -0
  16. data/lib/reckon/money.rb +52 -51
  17. data/lib/reckon/version.rb +1 -1
  18. data/reckon.gemspec +1 -2
  19. data/spec/data_fixtures/51-sample.csv +8 -0
  20. data/spec/data_fixtures/51-tokens.yml +9 -0
  21. data/spec/data_fixtures/85-date-example.csv +2 -0
  22. data/spec/integration/another_bank_example/input.csv +9 -0
  23. data/spec/integration/another_bank_example/output.ledger +36 -0
  24. data/spec/integration/another_bank_example/test_args +1 -0
  25. data/spec/integration/austrian_example/input.csv +13 -0
  26. data/spec/integration/austrian_example/output.ledger +52 -0
  27. data/spec/integration/austrian_example/test_args +2 -0
  28. data/spec/integration/bom_utf8_file/input.csv +3 -0
  29. data/spec/integration/bom_utf8_file/output.ledger +4 -0
  30. data/spec/integration/bom_utf8_file/test_args +3 -0
  31. data/spec/integration/broker_canada_example/input.csv +12 -0
  32. data/spec/integration/broker_canada_example/output.ledger +48 -0
  33. data/spec/integration/broker_canada_example/test_args +1 -0
  34. data/spec/integration/chase/account_tokens_and_regex/output.ledger +36 -0
  35. data/spec/integration/chase/account_tokens_and_regex/test_args +2 -0
  36. data/spec/integration/chase/account_tokens_and_regex/tokens.yml +16 -0
  37. data/spec/integration/chase/default_account_names/output.ledger +36 -0
  38. data/spec/integration/chase/default_account_names/test_args +3 -0
  39. data/spec/integration/chase/input.csv +9 -0
  40. data/spec/integration/chase/learn_from_existing/learn.ledger +7 -0
  41. data/spec/integration/chase/learn_from_existing/output.ledger +36 -0
  42. data/spec/integration/chase/learn_from_existing/test_args +1 -0
  43. data/spec/integration/chase/simple/output.ledger +36 -0
  44. data/spec/integration/chase/simple/test_args +1 -0
  45. data/spec/integration/danish_kroner_nordea_example/input.csv +6 -0
  46. data/spec/integration/danish_kroner_nordea_example/output.ledger +24 -0
  47. data/spec/integration/danish_kroner_nordea_example/test_args +1 -0
  48. data/spec/integration/english_date_example/input.csv +3 -0
  49. data/spec/integration/english_date_example/output.ledger +12 -0
  50. data/spec/integration/english_date_example/test_args +1 -0
  51. data/spec/integration/extratofake/input.csv +24 -0
  52. data/spec/integration/extratofake/output.ledger +92 -0
  53. data/spec/integration/extratofake/test_args +1 -0
  54. data/spec/integration/french_example/input.csv +9 -0
  55. data/spec/integration/french_example/output.ledger +36 -0
  56. data/spec/integration/french_example/test_args +2 -0
  57. data/spec/integration/german_date_example/input.csv +3 -0
  58. data/spec/integration/german_date_example/output.ledger +12 -0
  59. data/spec/integration/german_date_example/test_args +1 -0
  60. data/spec/integration/harder_date_example/input.csv +5 -0
  61. data/spec/integration/harder_date_example/output.ledger +20 -0
  62. data/spec/integration/harder_date_example/test_args +1 -0
  63. data/spec/integration/ing/input.csv +3 -0
  64. data/spec/integration/ing/output.ledger +12 -0
  65. data/spec/integration/ing/test_args +1 -0
  66. data/spec/integration/intuit_mint_example/input.csv +7 -0
  67. data/spec/integration/intuit_mint_example/output.ledger +28 -0
  68. data/spec/integration/intuit_mint_example/test_args +1 -0
  69. data/spec/integration/invalid_header_example/input.csv +6 -0
  70. data/spec/integration/invalid_header_example/output.ledger +8 -0
  71. data/spec/integration/invalid_header_example/test_args +1 -0
  72. data/spec/integration/inversed_credit_card/input.csv +16 -0
  73. data/spec/integration/inversed_credit_card/output.ledger +64 -0
  74. data/spec/integration/inversed_credit_card/test_args +1 -0
  75. data/spec/integration/nationwide/input.csv +4 -0
  76. data/spec/integration/nationwide/output.ledger +16 -0
  77. data/spec/integration/nationwide/test_args +1 -0
  78. data/spec/integration/regression/issue_51_account_tokens/input.csv +8 -0
  79. data/spec/integration/regression/issue_51_account_tokens/output.ledger +32 -0
  80. data/spec/integration/regression/issue_51_account_tokens/test_args +4 -0
  81. data/spec/integration/regression/issue_51_account_tokens/tokens.yml +9 -0
  82. data/spec/integration/regression/issue_64_date_column/input.csv +3 -0
  83. data/spec/integration/regression/issue_64_date_column/output.ledger +8 -0
  84. data/spec/integration/regression/issue_64_date_column/test_args +1 -0
  85. data/spec/integration/regression/issue_73_account_token_matching/input.csv +2 -0
  86. data/spec/integration/regression/issue_73_account_token_matching/output.ledger +4 -0
  87. data/spec/integration/regression/issue_73_account_token_matching/test_args +6 -0
  88. data/spec/integration/regression/issue_73_account_token_matching/tokens.yml +8 -0
  89. data/spec/integration/regression/issue_85_date_example/input.csv +2 -0
  90. data/spec/integration/regression/issue_85_date_example/output.ledger +8 -0
  91. data/spec/integration/regression/issue_85_date_example/test_args +1 -0
  92. data/spec/integration/spanish_date_example/input.csv +3 -0
  93. data/spec/integration/spanish_date_example/output.ledger +12 -0
  94. data/spec/integration/spanish_date_example/test_args +1 -0
  95. data/spec/integration/suntrust/input.csv +7 -0
  96. data/spec/integration/suntrust/output.ledger +28 -0
  97. data/spec/integration/suntrust/test_args +1 -0
  98. data/spec/integration/test.sh +82 -0
  99. data/spec/integration/test_money_column/input.csv +3 -0
  100. data/spec/integration/test_money_column/output.ledger +8 -0
  101. data/spec/integration/test_money_column/test_args +1 -0
  102. data/spec/integration/two_money_columns/input.csv +5 -0
  103. data/spec/integration/two_money_columns/output.ledger +20 -0
  104. data/spec/integration/two_money_columns/test_args +1 -0
  105. data/spec/integration/yyyymmdd_date_example/input.csv +1 -0
  106. data/spec/integration/yyyymmdd_date_example/output.ledger +4 -0
  107. data/spec/integration/yyyymmdd_date_example/test_args +1 -0
  108. data/spec/reckon/app_spec.rb +18 -2
  109. data/spec/reckon/csv_parser_spec.rb +129 -129
  110. data/spec/reckon/ledger_parser_spec.rb +42 -5
  111. data/spec/reckon/money_column_spec.rb +24 -24
  112. data/spec/reckon/money_spec.rb +36 -42
  113. data/spec/spec_helper.rb +19 -0
  114. metadata +97 -22
  115. 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( ["1.00", ""] ).merge!(
36
- Reckon::MoneyColumn.new( ["", "-2.00"] ) ).should == [
37
- Reckon::Money.new( 1.00 ), Reckon::Money.new( -2.00 ) ]
38
- Reckon::MoneyColumn.new( ["1.00", "0"] ).merge!(
39
- Reckon::MoneyColumn.new( ["0", "-2.00"] ) ).should == [
40
- Reckon::Money.new( 1.00 ), Reckon::Money.new( -2.00 ) ]
41
- Reckon::MoneyColumn.new( ["AB1.00C", ""] ).merge!(
42
- Reckon::MoneyColumn.new( ["", "AB-2.00C"] ) ).should == [
43
- Reckon::Money.new( 1.00 ), Reckon::Money.new( -2.00 ) ]
44
- Reckon::MoneyColumn.new( ["AB1.00C", "AB0C"] ).merge!(
45
- Reckon::MoneyColumn.new( ["AB0C", "AB-2.00C"] ) ).should == [
46
- Reckon::Money.new( 1.00 ), Reckon::Money.new( -2.00 ) ]
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( ["1.00", ""] ).merge!(
51
- Reckon::MoneyColumn.new( ["1.00", "-2.00"] ) ).should == nil
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( ["From1", "Names"] ).merge!(
54
- Reckon::MoneyColumn.new( ["Acc", "NL28 INGB 1200 3244 16,21817"] ) ).should == nil
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
- Reckon::MoneyColumn.new( ["1.00", ""] ).merge!(
59
- Reckon::MoneyColumn.new( ["", "2.00"] ) ).should == [
60
- Reckon::Money.new( -1.00 ), Reckon::Money.new( 2.00 ) ]
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
-
@@ -6,81 +6,75 @@ require 'rubygems'
6
6
  require 'reckon'
7
7
 
8
8
  describe Reckon::Money do
9
- describe "from_s" do
9
+ describe "parse" do
10
10
  it "should handle currency indicators" do
11
- Reckon::Money::from_s( "$2.00" ).should == 2.00
12
- Reckon::Money::from_s( "-$1025.67" ).should == -1025.67
13
- Reckon::Money::from_s( "$-1025.67" ).should == -1025.67
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::from_s( "$2,00", :comma_separates_cents => true ).should == 2.00
18
- Reckon::Money::from_s( "-$1025,67", :comma_separates_cents => true ).should == -1025.67
19
- Reckon::Money::from_s( "$-1025,67", :comma_separates_cents => true ).should == -1025.67
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::from_s( "" ).should == 0
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::from_s( "$2.000,00", :comma_separates_cents => true ).should == 2000.00
28
- Reckon::Money::from_s( "-$1,025.67" ).should == -1025.67
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( -20.00 ).pretty.should == "-$20.00"
54
- Reckon::Money.new( 1558.52 ).pretty.should == " $1558.52"
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( -20.00, :currency => "€", :suffixed => false ).pretty.should == "-€20.00"
59
- Reckon::Money.new( 1558.52, :currency => "€", :suffixed => false ).pretty.should == " €1558.52"
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( -20.00, :currency => "SEK", :suffixed => true ).pretty.should == "-20.00 SEK"
64
- Reckon::Money.new( 1558.52, :currency => "SEK", :suffixed => true ).pretty.should == " 1558.52 SEK"
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( "$20.00" ).should == 45
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( 2.0 ).should == Reckon::Money.new( 2.0 )
77
- Reckon::Money.new( 1.0 ).should <= Reckon::Money.new( 2.0 )
78
- Reckon::Money.new( 3.0 ).should > Reckon::Money.new( 2.0 )
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( 2.0 ).should == 2.0
82
- Reckon::Money.new( 1.0 ).should <= 2.0
83
- Reckon::Money.new( 3.0 ).should > 2.0
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
@@ -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.5.1
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: 2020-02-25 00:00:00.000000000 Z
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
- rubyforge_project:
197
- rubygems_version: 2.7.6.2
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.
@@ -1,13 +0,0 @@
1
- language: ruby
2
- rvm:
3
- # Mac High Sierra
4
- - 2.0.0-p648
5
- # Mac Mojave
6
- - 2.3.7
7
- # Ubuntu 19.10
8
- - 2.5
9
- # Mac Catalina
10
- - 2.6
11
- script: "bundle exec rake"
12
- before_install:
13
- - sudo apt-get -y install ledger