bankserv 0.6.9 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -13,7 +13,7 @@ module Bankserv
13
13
  ref = trans.reference.gsub(service.config[:client_abbreviated_name], "")
14
14
 
15
15
  credits = Bankserv::Credit.where(record_type: 'standard', action_date: trans.data[:transmission_date].to_date,
16
- amount: trans.data[:amount].to_i).where('lower(user_ref) = ?', ref.downcase).select do |credit|
16
+ status: ['accepted', 'pending'], amount: trans.data[:amount].to_i).where('lower(user_ref) = ?', ref.downcase).select do |credit|
17
17
 
18
18
  branch_code = if trans.data[:homing_branch_code] == "0" then "" else trans.data[:branch_code] end
19
19
 
@@ -1,3 +1,3 @@
1
1
  module Bankserv
2
- VERSION = "0.6.9"
2
+ VERSION = "0.7.0"
3
3
  end
metadata CHANGED
@@ -4,9 +4,9 @@ version: !ruby/object:Gem::Version
4
4
  prerelease: false
5
5
  segments:
6
6
  - 0
7
- - 6
8
- - 9
9
- version: 0.6.9
7
+ - 7
8
+ - 0
9
+ version: 0.7.0
10
10
  platform: ruby
11
11
  authors:
12
12
  - Jeffrey van Aswegen