workarea-usaepay 1.0.23 → 1.0.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9a9838bb33de37fbad345fa70f4a4a79e38608b22688a8de616a8a307226902b
4
- data.tar.gz: c4dc0075368f4b7eecbc8dceeafee0600167a422fbd73c6f500527f328549db2
3
+ metadata.gz: bbf794e16a05b14dda1ef36c175009077ce27e40e72454d6d86572c65715f4ab
4
+ data.tar.gz: dd7de4f5f99a5b57832a17ecac583558fe98d815a3c11bbc83a187f7955f444f
5
5
  SHA512:
6
- metadata.gz: 46431e7b62b228a9294d65487594ffd7f2c68956e2d2500292fcdbbd360a3a8aa78861beb77e583080d37a86056fbdb72693a00fa1d06e4c5a2f394ca8c65445
7
- data.tar.gz: 4b06d211e3785331926550978aa356f42399bd21c64542bf826d425ce9631e488e4c4b9bc95782c832c81b7d58d153835dae74b31c54ca40d042a5ed0cefce8a
6
+ metadata.gz: bd8f9d2a5b03b42b9795624f31f03cdaa288e622a56d7a2c340af2133a65fd655e392320fd73bf9aeeed260c6e16f9585b378275b2615b57c81d402e476810b7
7
+ data.tar.gz: 2c44197fe50f6d960432dac143793278188f6e31debd1cf1dc31e2eba72f20c39b6edf2c65a272434162050b741d39d5a317a6ff8d974fee9bfa5bd4433981e9
@@ -29,15 +29,15 @@ module Workarea
29
29
 
30
30
  def self.auto_initialize_gateway
31
31
  if credentials.present?
32
- # if ENV['HTTP_PROXY'].present?
33
- # uri = URI.parse(ENV['HTTP_PROXY'])
34
- # Workarea::UsaEpay::Gateway.proxy_address = uri.host
35
- # Workarea::UsaEpay::Gateway.proxy_port = uri.port
36
- # end
32
+ if ENV['HTTP_PROXY'].present?
33
+ uri = URI.parse(ENV['HTTP_PROXY'])
34
+ ActiveMerchant::Billing::UsaEpayCustom.proxy_address = uri.host
35
+ ActiveMerchant::Billing::UsaEpayCustom.proxy_port = uri.port
36
+ end
37
37
 
38
38
  self.gateway = ActiveMerchant::Billing::UsaEpayCustom.new credentials
39
39
  else
40
- self.gateway = ActiveMerchant::Billing::BogusCreditCardGateway.new
40
+ self.gateway = ActiveMerchant::Billing::BogusGateway.new
41
41
  end
42
42
  end
43
43
  end
@@ -1,5 +1,5 @@
1
1
  module Workarea
2
2
  module Usaepay
3
- VERSION = "1.0.23".freeze
3
+ VERSION = "1.0.24".freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: workarea-usaepay
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.23
4
+ version: 1.0.24
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gunasekaran.Raja