bankserv 0.7.3 → 0.7.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -90,7 +90,7 @@ module Bankserv
90
90
  next if set.contra_records.empty?
91
91
 
92
92
  set = input_document.set_with_generation_number(transaction.data[:user_code_generation_number])
93
- user_ref = set.contra_records.first.reference.match(/CONTRA([0-9]*)/)[1]
93
+ user_ref = set.contra_records.first.data[:user_ref].match(/CONTRA([0-9]*)/)[1]
94
94
  request_id = Bankserv::Credit.where(user_ref: user_ref)[0].bankserv_request_id
95
95
 
96
96
  Bankserv::Credit.where(bankserv_request_id: request_id).each do |credit|
@@ -1,3 +1,3 @@
1
1
  module Bankserv
2
- VERSION = "0.7.3"
2
+ VERSION = "0.7.4"
3
3
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 7
8
- - 3
9
- version: 0.7.3
8
+ - 4
9
+ version: 0.7.4
10
10
  platform: ruby
11
11
  authors:
12
12
  - Jeffrey van Aswegen
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2014-07-31 00:00:00 +02:00
18
+ date: 2014-08-01 00:00:00 +02:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency