activemerchant 1.87.0 → 1.88.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (28) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG +5 -0
  3. data/lib/active_merchant/billing/gateways/authorize_net.rb +15 -15
  4. data/lib/active_merchant/billing/gateways/authorize_net_cim.rb +33 -33
  5. data/lib/active_merchant/billing/gateways/cardknox.rb +10 -10
  6. data/lib/active_merchant/billing/gateways/cyber_source.rb +13 -13
  7. data/lib/active_merchant/billing/gateways/epay.rb +9 -9
  8. data/lib/active_merchant/billing/gateways/eway_managed.rb +18 -18
  9. data/lib/active_merchant/billing/gateways/exact.rb +10 -10
  10. data/lib/active_merchant/billing/gateways/litle.rb +1 -1
  11. data/lib/active_merchant/billing/gateways/merchant_one.rb +3 -3
  12. data/lib/active_merchant/billing/gateways/merchant_ware.rb +4 -4
  13. data/lib/active_merchant/billing/gateways/mundipagg.rb +1 -1
  14. data/lib/active_merchant/billing/gateways/netbilling.rb +8 -8
  15. data/lib/active_merchant/billing/gateways/ogone.rb +2 -2
  16. data/lib/active_merchant/billing/gateways/omise.rb +5 -5
  17. data/lib/active_merchant/billing/gateways/opp.rb +1 -1
  18. data/lib/active_merchant/billing/gateways/paymill.rb +5 -5
  19. data/lib/active_merchant/billing/gateways/paypal.rb +1 -1
  20. data/lib/active_merchant/billing/gateways/paystation.rb +76 -76
  21. data/lib/active_merchant/billing/gateways/payu_latam.rb +1 -1
  22. data/lib/active_merchant/billing/gateways/quickbooks.rb +2 -2
  23. data/lib/active_merchant/billing/gateways/quickpay/quickpay_v10.rb +150 -150
  24. data/lib/active_merchant/billing/gateways/sage.rb +11 -11
  25. data/lib/active_merchant/billing/gateways/sage_pay.rb +5 -5
  26. data/lib/active_merchant/billing/gateways/wirecard.rb +5 -5
  27. data/lib/active_merchant/version.rb +1 -1
  28. metadata +2 -8
@@ -97,17 +97,17 @@ module ActiveMerchant #:nodoc:
97
97
  end
98
98
 
99
99
  def scrub(transcript)
100
- force_utf8(transcript).
101
- gsub(%r((M_id=)[^&]*), '\1[FILTERED]').
102
- gsub(%r((M_key=)[^&]*), '\1[FILTERED]').
103
- gsub(%r((C_cardnumber=)[^&]*), '\1[FILTERED]').
104
- gsub(%r((C_cvv=)[^&]*), '\1[FILTERED]').
105
- gsub(%r((C_rte=)[^&]*), '\1[FILTERED]').
106
- gsub(%r((C_acct=)[^&]*), '\1[FILTERED]').
107
- gsub(%r((C_ssn=)[^&]*), '\1[FILTERED]').
108
- gsub(%r((<ns1:CARDNUMBER>).+(</ns1:CARDNUMBER>)), '\1[FILTERED]\2').
109
- gsub(%r((<ns1:M_ID>).+(</ns1:M_ID>)), '\1[FILTERED]\2').
110
- gsub(%r((<ns1:M_KEY>).+(</ns1:M_KEY>)), '\1[FILTERED]\2')
100
+ force_utf8(transcript).
101
+ gsub(%r((M_id=)[^&]*), '\1[FILTERED]').
102
+ gsub(%r((M_key=)[^&]*), '\1[FILTERED]').
103
+ gsub(%r((C_cardnumber=)[^&]*), '\1[FILTERED]').
104
+ gsub(%r((C_cvv=)[^&]*), '\1[FILTERED]').
105
+ gsub(%r((C_rte=)[^&]*), '\1[FILTERED]').
106
+ gsub(%r((C_acct=)[^&]*), '\1[FILTERED]').
107
+ gsub(%r((C_ssn=)[^&]*), '\1[FILTERED]').
108
+ gsub(%r((<ns1:CARDNUMBER>).+(</ns1:CARDNUMBER>)), '\1[FILTERED]\2').
109
+ gsub(%r((<ns1:M_ID>).+(</ns1:M_ID>)), '\1[FILTERED]\2').
110
+ gsub(%r((<ns1:M_KEY>).+(</ns1:M_KEY>)), '\1[FILTERED]\2')
111
111
  end
112
112
 
113
113
  private
@@ -361,11 +361,11 @@ module ActiveMerchant #:nodoc:
361
361
  when :store
362
362
  response['Token']
363
363
  else
364
- [ params[:VendorTxCode],
365
- response['VPSTxId'] || params[:VPSTxId],
366
- response['TxAuthNo'],
367
- response['SecurityKey'] || params[:SecurityKey],
368
- action ].join(';')
364
+ [ params[:VendorTxCode],
365
+ response['VPSTxId'] || params[:VPSTxId],
366
+ response['TxAuthNo'],
367
+ response['SecurityKey'] || params[:SecurityKey],
368
+ action ].join(';')
369
369
  end
370
370
  end
371
371
 
@@ -202,11 +202,11 @@ module ActiveMerchant #:nodoc:
202
202
  xml.tag! 'WIRECARD_BXML' do
203
203
  xml.tag! 'W_REQUEST' do
204
204
  xml.tag! 'W_JOB' do
205
- xml.tag! 'JobID', ''
206
- # UserID for this transaction
207
- xml.tag! 'BusinessCaseSignature', options[:signature] || options[:login]
208
- # Create the whole rest of the message
209
- add_transaction_data(xml, money, options)
205
+ xml.tag! 'JobID', ''
206
+ # UserID for this transaction
207
+ xml.tag! 'BusinessCaseSignature', options[:signature] || options[:login]
208
+ # Create the whole rest of the message
209
+ add_transaction_data(xml, money, options)
210
210
  end
211
211
  end
212
212
  end
@@ -1,3 +1,3 @@
1
1
  module ActiveMerchant
2
- VERSION = '1.87.0'
2
+ VERSION = '1.88.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activemerchant
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.87.0
4
+ version: 1.88.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tobias Luetke
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-11-29 00:00:00.000000000 Z
11
+ date: 2018-12-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -17,9 +17,6 @@ dependencies:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '4.2'
20
- - - "<"
21
- - !ruby/object:Gem::Version
22
- version: 6.x
23
20
  type: :runtime
24
21
  prerelease: false
25
22
  version_requirements: !ruby/object:Gem::Requirement
@@ -27,9 +24,6 @@ dependencies:
27
24
  - - ">="
28
25
  - !ruby/object:Gem::Version
29
26
  version: '4.2'
30
- - - "<"
31
- - !ruby/object:Gem::Version
32
- version: 6.x
33
27
  - !ruby/object:Gem::Dependency
34
28
  name: i18n
35
29
  requirement: !ruby/object:Gem::Requirement