effective_orders 6.16.1 → 6.16.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/effective_orders/version.rb +1 -1
- data/lib/effective_orders.rb +5 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5d05df34a90172ec81cc5cae1f0cc206236358f70601c644e0468bd860d2481f
|
4
|
+
data.tar.gz: f5f8d8a13a508f10f88d3a45ce3aaebe7280830228900cd53b4025fd2e7d0f28
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c7957c31b1eacf9f6119f327f541636c65ec738742f9dff5c2e2363ebea81d1be1126a58ae8f024489abb0038b7e94159cdca4d91b10160a1c8ad1e12d4c68a5
|
7
|
+
data.tar.gz: ccce3f3ccbfa90884daa1259ddbf1f4d13afce92d05fdaa57acf6f1b1b0b69f18b2d155fc18c39c34d38a9e90c2d976cb34fbe448d174e6f8fc3d3bc2ff86ec2
|
data/lib/effective_orders.rb
CHANGED
@@ -298,7 +298,11 @@ module EffectiveOrders
|
|
298
298
|
end
|
299
299
|
|
300
300
|
def self.deluxe_script_url
|
301
|
-
|
301
|
+
case EffectiveOrders.deluxe.fetch(:environment)
|
302
|
+
when 'production' then 'https://hostedpaymentform.deluxe.com/v2/deluxe.js'
|
303
|
+
when 'sandbox' then 'https://hostedform2.deluxe.com/V2/deluxe.js'
|
304
|
+
else raise('unexpected EffectiveOrders.deluxe :environment key. Please check your config/initializers/effective_orders.rb file')
|
305
|
+
end
|
302
306
|
end
|
303
307
|
|
304
308
|
def self.moneris_checkout_script_url
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: effective_orders
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.16.
|
4
|
+
version: 6.16.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Code and Effect
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-10-
|
11
|
+
date: 2024-10-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|