workarea-usaepay 1.0.24 → 1.0.26

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: bbf794e16a05b14dda1ef36c175009077ce27e40e72454d6d86572c65715f4ab
4
- data.tar.gz: dd7de4f5f99a5b57832a17ecac583558fe98d815a3c11bbc83a187f7955f444f
3
+ metadata.gz: b50ddf4746d81888f255c53088a6dff2f2f1ddeab58152c83b42531ae8371f62
4
+ data.tar.gz: 1d2db50b2b37d13aeeffd2f14a0ee401736407b778b1f46343509fc0aeb82d2a
5
5
  SHA512:
6
- metadata.gz: bd8f9d2a5b03b42b9795624f31f03cdaa288e622a56d7a2c340af2133a65fd655e392320fd73bf9aeeed260c6e16f9585b378275b2615b57c81d402e476810b7
7
- data.tar.gz: 2c44197fe50f6d960432dac143793278188f6e31debd1cf1dc31e2eba72f20c39b6edf2c65a272434162050b741d39d5a317a6ff8d974fee9bfa5bd4433981e9
6
+ metadata.gz: dc74c51aa3c85016d70c75d3f660fbbaf20286c22e50937edf29f833fc779434973f6db117c76af1287b6006606480e07dd59e06a44ef178f473c9356f8f822b
7
+ data.tar.gz: 146d0ea59a4f69142e314828a042791dbf0ff2ecf0f6fdece86a81db32860f853c0ad025422863a37fd5fb1fa944c9a6c20a342db1ec0ef1164502c7c6155df7
@@ -28,13 +28,7 @@ module Workarea
28
28
  end
29
29
 
30
30
  def self.auto_initialize_gateway
31
- if credentials.present?
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
-
31
+ if credentials.present? && unless Rails.env.test?
38
32
  self.gateway = ActiveMerchant::Billing::UsaEpayCustom.new credentials
39
33
  else
40
34
  self.gateway = ActiveMerchant::Billing::BogusGateway.new
@@ -1,5 +1,5 @@
1
1
  module Workarea
2
2
  module Usaepay
3
- VERSION = "1.0.24".freeze
3
+ VERSION = "1.0.26".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.24
4
+ version: 1.0.26
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gunasekaran.Raja