reckon 0.11.0 → 0.11.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 58ef387a88fd33e7aeddc98842e3c5cf147e74830b659393ec5f75d0179d6bba
4
- data.tar.gz: 3983fafdcce5b9e016dfd09cfa7a905bc0bf829d3b15f383f162b5738bbf0f49
3
+ metadata.gz: 23eeb4d40884fa3721807faa2580467427e2ce2a9a2a1c32174e1e58101ccee7
4
+ data.tar.gz: 9d0552619bd84b4e77bd4779cfd35b1d5d4cabbde6a555c5e762363da7ebd7f2
5
5
  SHA512:
6
- metadata.gz: 44731aea841dc2c3a4830085eda5dccc3b8958502eb21b8aee7ea4d52f2429e7dc2125de4c15084c804970ebc1199a859ef87437518f9635d0f8c33ae7c4444c
7
- data.tar.gz: c2f4ed1e9ccf0f169a285d5337b3f97b7867d018a8541f4c009fe4dc105f0141884066071860a68b9baf688452b44ccc34b109d6ad4ff576645213c0ece3019e
6
+ metadata.gz: 22d0d738f1bff3445a7c7676d9a59506dbf59351ac28afb116ec51638147150accc5ff9f1c9085c8cb3a12c15a42df1164d85708fcd8d85473f4199f01ec6707
7
+ data.tar.gz: b324e37f568b19c2e12844c8892f250782707cb087469f8d61154c9e83dc1ba9f5c844c9cef3cf844fadb87622d93c35d3d05defffdbb11c16c542275f1e5931
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Changelog
2
2
 
3
+ ## [v0.11.1](https://github.com/cantino/reckon/tree/v0.11.1) (2025-03-05)
4
+
5
+ [Full Changelog](https://github.com/cantino/reckon/compare/v0.11.0...v0.11.1)
6
+
7
+ **Implemented enhancements:**
8
+
9
+ - Ledger output should support comma separated values [\#39](https://github.com/cantino/reckon/issues/39)
10
+
11
+ **Closed issues:**
12
+
13
+ - Missing dependency erb [\#132](https://github.com/cantino/reckon/issues/132)
14
+ - Feature request: relabeling existing ledger [\#125](https://github.com/cantino/reckon/issues/125)
15
+
3
16
  ## [v0.11.0](https://github.com/cantino/reckon/tree/v0.11.0) (2025-03-04)
4
17
 
5
18
  [Full Changelog](https://github.com/cantino/reckon/compare/v0.10.0...v0.11.0)
data/Gemfile.lock CHANGED
@@ -1,40 +1,44 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- reckon (0.11.0)
4
+ reckon (0.11.1)
5
+ abbrev (> 0.1)
5
6
  chronic (>= 0.3.0)
7
+ csv (> 0.1)
6
8
  highline (~> 2.0)
7
9
  matrix (>= 0.4.2)
8
- rchardet (>= 1.8.0)
10
+ rchardet (= 1.8.0)
9
11
 
10
12
  GEM
11
13
  remote: http://rubygems.org/
12
14
  specs:
15
+ abbrev (0.1.2)
13
16
  chronic (0.10.2)
14
17
  coderay (1.1.3)
15
- diff-lcs (1.5.0)
18
+ csv (3.3.2)
19
+ diff-lcs (1.6.0)
16
20
  highline (2.1.0)
17
21
  matrix (0.4.2)
18
- method_source (1.0.0)
19
- pry (0.14.2)
22
+ method_source (1.1.0)
23
+ pry (0.15.2)
20
24
  coderay (~> 1.1)
21
25
  method_source (~> 1.0)
22
- rake (13.0.6)
26
+ rake (13.2.1)
23
27
  rantly (1.2.0)
24
- rchardet (1.9.0)
25
- rspec (3.12.0)
26
- rspec-core (~> 3.12.0)
27
- rspec-expectations (~> 3.12.0)
28
- rspec-mocks (~> 3.12.0)
29
- rspec-core (3.12.1)
30
- rspec-support (~> 3.12.0)
31
- rspec-expectations (3.12.2)
28
+ rchardet (1.8.0)
29
+ rspec (3.13.0)
30
+ rspec-core (~> 3.13.0)
31
+ rspec-expectations (~> 3.13.0)
32
+ rspec-mocks (~> 3.13.0)
33
+ rspec-core (3.13.3)
34
+ rspec-support (~> 3.13.0)
35
+ rspec-expectations (3.13.3)
32
36
  diff-lcs (>= 1.2.0, < 2.0)
33
- rspec-support (~> 3.12.0)
34
- rspec-mocks (3.12.3)
37
+ rspec-support (~> 3.13.0)
38
+ rspec-mocks (3.13.2)
35
39
  diff-lcs (>= 1.2.0, < 2.0)
36
- rspec-support (~> 3.12.0)
37
- rspec-support (3.12.0)
40
+ rspec-support (~> 3.13.0)
41
+ rspec-support (3.13.2)
38
42
 
39
43
  PLATFORMS
40
44
  ruby
@@ -1,3 +1,3 @@
1
1
  module Reckon
2
- VERSION = "0.11.0"
2
+ VERSION = "0.11.1"
3
3
  end
data/reckon.gemspec CHANGED
@@ -10,6 +10,7 @@ Gem::Specification.new do |s|
10
10
  s.description = %q{Reckon automagically converts CSV files for use with the command-line accounting tool Ledger. It also helps you to select the correct accounts associated with the CSV data using Bayesian machine learning.}
11
11
  s.summary = %q{Utility for interactively converting and labeling CSV files for the Ledger accounting tool.}
12
12
  s.licenses = ['MIT']
13
+ s.required_ruby_version = ">= 2.6"
13
14
 
14
15
  s.files = `git ls-files`.split("\n")
15
16
  s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
@@ -20,7 +21,9 @@ Gem::Specification.new do |s|
20
21
  s.add_development_dependency "pry", ">= 0.12.2"
21
22
  s.add_development_dependency "rantly", "= 1.2.0"
22
23
  s.add_runtime_dependency "chronic", ">= 0.3.0"
23
- s.add_runtime_dependency "highline", "~> 2.0" # 3.0 replaces readline with reline and breaks reckon
24
- s.add_runtime_dependency "rchardet", ">= 1.8.0"
24
+ s.add_runtime_dependency "highline", "~> 2.0" # 3.0 replaces readline with reline and breaks reckon
25
+ s.add_runtime_dependency "rchardet", "= 1.8.0"
25
26
  s.add_runtime_dependency "matrix", ">= 0.4.2"
27
+ s.add_runtime_dependency "csv", "> 0.1"
28
+ s.add_runtime_dependency "abbrev", "> 0.1"
26
29
  end
@@ -112,11 +112,11 @@ compare_output_for () {
112
112
  EXPECTED_FILE=$(mktemp)
113
113
  ACTUAL_FILE=$(mktemp)
114
114
 
115
- EXPECTED_CMD="$LEDGER -f output.ledger r >$EXPECTED_FILE"
115
+ EXPECTED_CMD="$LEDGER -f output.ledger reg >$EXPECTED_FILE"
116
116
  echo "$EXPECTED_CMD"
117
117
  eval "$EXPECTED_CMD" || return 1
118
118
 
119
- ACTUAL_CMD="$LEDGER -f \"$OUTPUT_FILE\" r"
119
+ ACTUAL_CMD="$LEDGER -f \"$OUTPUT_FILE\" reg"
120
120
  echo "running $ACTUAL_CMD"
121
121
  eval $ACTUAL_CMD >$ACTUAL_FILE || return 1
122
122
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: reckon
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0
4
+ version: 0.11.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Cantino
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2025-03-04 00:00:00.000000000 Z
13
+ date: 2025-03-05 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rspec
@@ -86,14 +86,14 @@ dependencies:
86
86
  name: rchardet
87
87
  requirement: !ruby/object:Gem::Requirement
88
88
  requirements:
89
- - - ">="
89
+ - - '='
90
90
  - !ruby/object:Gem::Version
91
91
  version: 1.8.0
92
92
  type: :runtime
93
93
  prerelease: false
94
94
  version_requirements: !ruby/object:Gem::Requirement
95
95
  requirements:
96
- - - ">="
96
+ - - '='
97
97
  - !ruby/object:Gem::Version
98
98
  version: 1.8.0
99
99
  - !ruby/object:Gem::Dependency
@@ -110,6 +110,34 @@ dependencies:
110
110
  - - ">="
111
111
  - !ruby/object:Gem::Version
112
112
  version: 0.4.2
113
+ - !ruby/object:Gem::Dependency
114
+ name: csv
115
+ requirement: !ruby/object:Gem::Requirement
116
+ requirements:
117
+ - - ">"
118
+ - !ruby/object:Gem::Version
119
+ version: '0.1'
120
+ type: :runtime
121
+ prerelease: false
122
+ version_requirements: !ruby/object:Gem::Requirement
123
+ requirements:
124
+ - - ">"
125
+ - !ruby/object:Gem::Version
126
+ version: '0.1'
127
+ - !ruby/object:Gem::Dependency
128
+ name: abbrev
129
+ requirement: !ruby/object:Gem::Requirement
130
+ requirements:
131
+ - - ">"
132
+ - !ruby/object:Gem::Version
133
+ version: '0.1'
134
+ type: :runtime
135
+ prerelease: false
136
+ version_requirements: !ruby/object:Gem::Requirement
137
+ requirements:
138
+ - - ">"
139
+ - !ruby/object:Gem::Version
140
+ version: '0.1'
113
141
  description: Reckon automagically converts CSV files for use with the command-line
114
142
  accounting tool Ledger. It also helps you to select the correct accounts associated
115
143
  with the CSV data using Bayesian machine learning.
@@ -302,7 +330,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
302
330
  requirements:
303
331
  - - ">="
304
332
  - !ruby/object:Gem::Version
305
- version: '0'
333
+ version: '2.6'
306
334
  required_rubygems_version: !ruby/object:Gem::Requirement
307
335
  requirements:
308
336
  - - ">="