cmxl 1.4.4 → 1.4.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.mdown +9 -1
- data/lib/cmxl/fields/statement_details.rb +2 -2
- data/lib/cmxl/fields/transaction.rb +2 -2
- data/lib/cmxl/version.rb +1 -1
- data/spec/fields/statement_details_spec.rb +1 -1
- data/spec/statement_spec.rb +2 -2
- 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: fe9599937da1fa4217f44747b0214af2111514da12832eea323afca3ce1bf11b
|
4
|
+
data.tar.gz: 0b9bd79c985742fcfcaab730fe69eea91dc2d50b9d0cc1f3f96e6c15b50a3d16
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 48ce33cbd21b7df6dce69cc610ccd02efd01df7b2c080be21b47682ad8754b641ee0598795ff9ec380373cab2679cc0235f344e986e1c274d427a435895c2e5c
|
7
|
+
data.tar.gz: 0ee463246d09088cb8d4f9c7aa3979d19db3a4f487f8efdd359e01050503714d20e88a6fa40e1fd226dc83f785a031269516ca466b4ad974bc8c048127c72e50
|
data/CHANGELOG.mdown
CHANGED
@@ -1,6 +1,14 @@
|
|
1
|
+
# 1.4.6
|
2
|
+
|
3
|
+
- `[ENHANCEMENT]` make sure that tag, gemversion and readme align ʘ‿ʘ
|
4
|
+
|
5
|
+
# 1.4.5
|
6
|
+
|
7
|
+
- `[ENHANCEMENT]` renames transaction_id to primanota
|
8
|
+
|
1
9
|
# 1.4.4
|
2
10
|
|
3
|
-
- `[
|
11
|
+
- `[FEATURE]` adds transaction id parsing to statement details
|
4
12
|
|
5
13
|
# 1.4.3
|
6
14
|
|
@@ -38,7 +38,7 @@ module Cmxl
|
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
-
def
|
41
|
+
def primanota
|
42
42
|
sub_fields['10']
|
43
43
|
end
|
44
44
|
|
@@ -64,7 +64,7 @@ module Cmxl
|
|
64
64
|
'description' => description,
|
65
65
|
'sub_fields' => sub_fields,
|
66
66
|
'transaction_code' => transaction_code,
|
67
|
-
'
|
67
|
+
'primanota' => primanota,
|
68
68
|
'details' => details
|
69
69
|
}
|
70
70
|
end
|
data/lib/cmxl/version.rb
CHANGED
@@ -70,7 +70,7 @@ describe Cmxl::Fields::StatementDetails do
|
|
70
70
|
'99' => ''
|
71
71
|
},
|
72
72
|
'transaction_code' => '171',
|
73
|
-
'
|
73
|
+
'primanota' => '281',
|
74
74
|
'details' => '?00SEPA LASTSCHRIFT KUNDE?10281?20KREF+EREF+TRX-0A4A47C3-F846-4729?21-8A1B-5DF620F?22MREF+CAC97D2144174318AC18D9?23BF815BD4FB?24CRED+DE98ZZZ09999999999?25SVWZ+FOO TRX-0A4A47C3-F84?266-4729-8A1B-5DF620F?30HYVEDEMMXXX?31HUkkbbbsssskcccccccccccccccx?32Peter Pan?99?34171'
|
75
75
|
)
|
76
76
|
}
|
data/spec/statement_spec.rb
CHANGED
@@ -13,7 +13,7 @@ describe Cmxl do
|
|
13
13
|
it { expect(subject.entry_date).to eql(Date.new(2014, 9, 2)) }
|
14
14
|
it { expect(subject.amount).to eql(1.62) }
|
15
15
|
it { expect(subject.amount_in_cents).to eql(162) }
|
16
|
-
it { expect(subject.
|
16
|
+
it { expect(subject.primanota).to eql('281') }
|
17
17
|
it {
|
18
18
|
expect(subject.to_h).to eql(
|
19
19
|
'date' => Date.new(2014, 9, 1),
|
@@ -59,7 +59,7 @@ describe Cmxl do
|
|
59
59
|
'34' => '171'
|
60
60
|
},
|
61
61
|
'transaction_code' => '171',
|
62
|
-
'
|
62
|
+
'primanota' => '281',
|
63
63
|
'details' => '?00SEPA LASTSCHRIFT KUNDE?10281?20KREF+EREF+TRX-0A4A47C3-F846-4729?21-8A1B-5DF620F?22:FOO:MREF+CAC97D2144174318A?23BF815BD4FB?24CRED+DE98ZZZ09999999999?25SVWZ+FOO TRX-0A4A47C3-F84?266-4729-8A1B-5DF620F?30HYVEDEMMXXX?31HUkkbbbsssskcccccccccccccccx?32Peter Pan?99?34171'
|
64
64
|
)
|
65
65
|
}
|