workarea-usaepay 1.0.40 → 1.0.41
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/usaepay/bogus_usaepay.rb +9 -0
- data/lib/workarea/usaepay.rb +3 -2
- data/lib/workarea/usaepay/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a89c33058a70e4bc964c5ea6d27236a766005795d057e477d91e272b49a02ed7
|
4
|
+
data.tar.gz: 764b16194460342703c2ab33df722611c59b01dc74d1b44fe722bc8e6b7c89f3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d888fc34dffa6aa984ceef47b4c7cca7b90df786f613feadcf11814975105e33eb8d8044ee5ae7514c2ac334d2aeeecceafbe89154205635bf1d3737403e48a3
|
7
|
+
data.tar.gz: eb57c2ef96819e31b17e0a50ca359cab881405f2e8cbf0a4e50cc897a64b4fea8ad4423cab9728a7ef1e50e552085b61351f4ed7c06bda75a9263efff164e944
|
data/lib/workarea/usaepay.rb
CHANGED
@@ -4,6 +4,7 @@ require 'workarea/admin'
|
|
4
4
|
require 'workarea/usaepay/engine'
|
5
5
|
require 'workarea/usaepay/version'
|
6
6
|
require 'usaepay/gateway'
|
7
|
+
require 'usaepay/bogus_usaepay'
|
7
8
|
|
8
9
|
module Workarea
|
9
10
|
module Usaepay
|
@@ -30,12 +31,12 @@ module Workarea
|
|
30
31
|
def self.auto_initialize_gateway
|
31
32
|
if credentials.present?
|
32
33
|
if Rails.env.test?
|
33
|
-
self.gateway = ActiveMerchant::Billing::
|
34
|
+
self.gateway = ActiveMerchant::Billing::BogusUsaEpayGateway.new credentials
|
34
35
|
else
|
35
36
|
self.gateway = ActiveMerchant::Billing::UsaEpayCustom.new credentials
|
36
37
|
end
|
37
38
|
else
|
38
|
-
self.gateway = ActiveMerchant::Billing::
|
39
|
+
self.gateway = ActiveMerchant::Billing::BogusUsaEpayGateway.new
|
39
40
|
end
|
40
41
|
end
|
41
42
|
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.
|
4
|
+
version: 1.0.41
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gunasekaran.Raja
|
@@ -53,6 +53,7 @@ files:
|
|
53
53
|
- bin/rails
|
54
54
|
- config/initializers/workarea.rb
|
55
55
|
- config/routes.rb
|
56
|
+
- lib/usaepay/bogus_usaepay.rb
|
56
57
|
- lib/usaepay/gateway.rb
|
57
58
|
- lib/workarea/storefront/system_test.rb
|
58
59
|
- lib/workarea/usaepay.rb
|