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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 659574bcb0b01c7d048c9f64da650f5d6680e489eecd875c13619e6ec310e33d
4
- data.tar.gz: 43e91209aa8598ab9c20f72e0fddabcaf9c0d8fcf0023d6edb896959f2956db9
3
+ metadata.gz: fe9599937da1fa4217f44747b0214af2111514da12832eea323afca3ce1bf11b
4
+ data.tar.gz: 0b9bd79c985742fcfcaab730fe69eea91dc2d50b9d0cc1f3f96e6c15b50a3d16
5
5
  SHA512:
6
- metadata.gz: 2c44dc0c4458ef320dc2e40406e1a98037fae46c8542d5dfb827f4fedae889f237d2f4b9dcefbd1166eaa0c0dd1a63a840a6d31b95e9e68063a854338c3ca081
7
- data.tar.gz: 6f24a6efabd3e4d0a0bcf8a8ad8038cbc595a85ce1c76164bf130a79408990dcd51879004675bb65e17a77edb30475229cd0e39421ba2a3f74dd1230d5925585
6
+ metadata.gz: 48ce33cbd21b7df6dce69cc610ccd02efd01df7b2c080be21b47682ad8754b641ee0598795ff9ec380373cab2679cc0235f344e986e1c274d427a435895c2e5c
7
+ data.tar.gz: 0ee463246d09088cb8d4f9c7aa3979d19db3a4f487f8efdd359e01050503714d20e88a6fa40e1fd226dc83f785a031269516ca466b4ad974bc8c048127c72e50
@@ -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
- - `[ENHANCEMENT]` adds transaction id parsing to statement details
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 transaction_id
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
- 'transaction_id' => transaction_id,
67
+ 'primanota' => primanota,
68
68
  'details' => details
69
69
  }
70
70
  end
@@ -126,8 +126,8 @@ module Cmxl
126
126
  details.sub_fields if details
127
127
  end
128
128
 
129
- def transaction_id
130
- details.transaction_id if details
129
+ def primanota
130
+ details.primanota if details
131
131
  end
132
132
 
133
133
  def to_h
@@ -1,3 +1,3 @@
1
1
  module Cmxl
2
- VERSION = '1.4.4'.freeze
2
+ VERSION = '1.4.6'.freeze
3
3
  end
@@ -70,7 +70,7 @@ describe Cmxl::Fields::StatementDetails do
70
70
  '99' => ''
71
71
  },
72
72
  'transaction_code' => '171',
73
- 'transaction_id' => '281',
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
  }
@@ -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.transaction_id).to eql('281') }
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
- 'transaction_id' => '281',
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
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cmxl
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.4
4
+ version: 1.4.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Bumann