ynab_convert 1.0.5 → 1.0.6
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/Gemfile.lock +1 -1
- data/lib/ynab_convert/processor/ubs_chequing.rb +10 -6
- data/lib/ynab_convert/version.rb +1 -1
- data/ynab_convert.gemspec +5 -0
- metadata +5 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 697f0d80eaec169e83bea48407e9d00c1b000a362aaa6147160be65bafef72a7
|
|
4
|
+
data.tar.gz: 8e45ffa5ec9094c54057ebba3f241c00764fc0e256ec19bdfa0d9395f590a156
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8150a18508c46b6267b38ccf56ff6b542e82df49100c4fff164959a24445a36e8271cfca6bd07abbc583f76d372bfc77f9ab830a88dd9e37eb5d95af15ab6ef5
|
|
7
|
+
data.tar.gz: 7490a9741e4bf27fd21e526fe4aff6c777cca8882f64a9558ceb698f16b7c080f92ae24ebf136a21c3768f5e76077c4ccbe6536a81cdc0cd0dec1453e279a40d
|
data/Gemfile.lock
CHANGED
|
@@ -63,12 +63,16 @@ module Processor
|
|
|
63
63
|
# Moreover, UBS thought wise to append a bunch of junk information after
|
|
64
64
|
# the transaction details within the third description field. *Most* of
|
|
65
65
|
# this junk starts after the meaningful data and starts with ", OF",
|
|
66
|
-
# ", ON", ", ESR", two digits then five groups of five digits
|
|
67
|
-
# so we discard it; YNAB4 being unable to automatically
|
|
68
|
-
# transactions at the same store/payee because the payee
|
|
69
|
-
# different (thanks to the variable nature of the appended
|
|
70
|
-
#
|
|
71
|
-
|
|
66
|
+
# ", ON", ", ESR", ", QRR", two digits then five groups of five digits
|
|
67
|
+
# then ", TN" so we discard it; YNAB4 being unable to automatically
|
|
68
|
+
# categorize new transactions at the same store/payee because the payee
|
|
69
|
+
# always looks different (thanks to the variable nature of the appended
|
|
70
|
+
# junk).
|
|
71
|
+
# See `spec/fixtures/ubs_chequing/statement.csv` L2 and L18--22
|
|
72
|
+
|
|
73
|
+
# rubocop:disable Metrics/LineLength
|
|
74
|
+
junk_desc_regex = /, (O[FN]|ESR|QRR|\d{2} \d{5} \d{5} \d{5} \d{5} \d{5}, TN)/
|
|
75
|
+
# rubocop:enable Metrics/LineLength
|
|
72
76
|
|
|
73
77
|
[
|
|
74
78
|
row[headers[:payee_line_1]],
|
data/lib/ynab_convert/version.rb
CHANGED
data/ynab_convert.gemspec
CHANGED
|
@@ -13,6 +13,11 @@ Gem::Specification.new do |spec|
|
|
|
13
13
|
spec.summary = 'Convert online banking CSV files to YNAB 4 format.'
|
|
14
14
|
spec.homepage = 'https://github.com/coaxial/ynab_convert'
|
|
15
15
|
spec.license = 'MIT'
|
|
16
|
+
spec.description = <<~DESC
|
|
17
|
+
Utility to convert CSV statements into the YNAB4 format for easier
|
|
18
|
+
transation import. Supports several banks and can easily be extended to
|
|
19
|
+
add more.
|
|
20
|
+
DESC
|
|
16
21
|
|
|
17
22
|
spec.required_ruby_version = '~> 2.6'
|
|
18
23
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ynab_convert
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- coaxial
|
|
@@ -192,7 +192,10 @@ dependencies:
|
|
|
192
192
|
- - ">="
|
|
193
193
|
- !ruby/object:Gem::Version
|
|
194
194
|
version: '0'
|
|
195
|
-
description:
|
|
195
|
+
description: |
|
|
196
|
+
Utility to convert CSV statements into the YNAB4 format for easier
|
|
197
|
+
transation import. Supports several banks and can easily be extended to
|
|
198
|
+
add more.
|
|
196
199
|
email:
|
|
197
200
|
- hi@64b.it
|
|
198
201
|
executables:
|