money_s3 2.1.0 → 2.2.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 +4 -4
- data/README.md +1 -0
- data/lib/money_s3/utils/bank_statements.rb +1 -1
- data/money_s3.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5d87a282d86a00bdaf8eb45f861d8f7c97bcf7452918ad08dba20f372e10ed23
|
|
4
|
+
data.tar.gz: 5d031c2ccb6f156c1ba1ba59ca348463360532a09cd4d19d13d43e8456292dc3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0f6049996b7d440dfbdcf539af8d23b1935cf629e04ded55f846a3d74308e71d18e9cf378ac27837007e95dbd011817b2f1bc21304091c66a080601081a9fbc4
|
|
7
|
+
data.tar.gz: 49e89cf98b5c32f3910322b813ef76ede1629e39951c62a85253e1d289ed419187f5e3791492c84d74775518771576723d2900dd43c6d8feb9f888cc70ac58f5
|
data/README.md
CHANGED
|
@@ -56,6 +56,7 @@ Then call `#to_xml` on the generator and pass it an array containing hashes with
|
|
|
56
56
|
transactions = [
|
|
57
57
|
{ :date => #<Date: 2019-12-05 ((2458823j,0s,0n),+0s,2299161j)>,
|
|
58
58
|
:transaction_id => "121205SI201442",
|
|
59
|
+
:my_bank_account_id => "ACC1", # if given it overwrites the one from configuration
|
|
59
60
|
:amount => 8500.0,
|
|
60
61
|
:statement_id => "012/00001",
|
|
61
62
|
:variable_symbol => "0000112019",
|
|
@@ -28,7 +28,7 @@ module MoneyS3
|
|
|
28
28
|
dat_pln: item[:date],
|
|
29
29
|
vypis: item[:statement_id],
|
|
30
30
|
celkem: amount,
|
|
31
|
-
ucet: { zkrat: @my_bank_account_id },
|
|
31
|
+
ucet: { zkrat: item.fetch(:my_bank_account_id, @my_bank_account_id) },
|
|
32
32
|
popis: item[:description],
|
|
33
33
|
pozn: item[:note],
|
|
34
34
|
var_sym: item[:variable_symbol],
|
data/money_s3.gemspec
CHANGED