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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ffa33665fa5af04954108d70f64895af61c92aa692fcf51ed66c8468fa1498bf
4
- data.tar.gz: 3d96ecf58a32a0b4e4b54497d598382feda33eee72179f92db2d76d8362afda4
3
+ metadata.gz: 5d05df34a90172ec81cc5cae1f0cc206236358f70601c644e0468bd860d2481f
4
+ data.tar.gz: f5f8d8a13a508f10f88d3a45ce3aaebe7280830228900cd53b4025fd2e7d0f28
5
5
  SHA512:
6
- metadata.gz: bbbfd9685c8460f66e4b99bcc77e3be6b4bbbf9c429a5d10825347bb059edc68ac7895e853e01ea46ed23a49f5b9febee15997d6f0c10a6b5f7817bad92e12ce
7
- data.tar.gz: 15fa6f23120b52cbb7c80bef5f860e272bcc6f6933eeef3ad0579a7156f9d7059bfa0dde7b28c15fb347fe99b1e3e48d92499d6a42619472faca36cc6a748d4e
6
+ metadata.gz: c7957c31b1eacf9f6119f327f541636c65ec738742f9dff5c2e2363ebea81d1be1126a58ae8f024489abb0038b7e94159cdca4d91b10160a1c8ad1e12d4c68a5
7
+ data.tar.gz: ccce3f3ccbfa90884daa1259ddbf1f4d13afce92d05fdaa57acf6f1b1b0b69f18b2d155fc18c39c34d38a9e90c2d976cb34fbe448d174e6f8fc3d3bc2ff86ec2
@@ -1,3 +1,3 @@
1
1
  module EffectiveOrders
2
- VERSION = '6.16.1'.freeze
2
+ VERSION = '6.16.3'.freeze
3
3
  end
@@ -298,7 +298,11 @@ module EffectiveOrders
298
298
  end
299
299
 
300
300
  def self.deluxe_script_url
301
- "https://hostedform2.deluxe.com/V2/deluxe.js"
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.1
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-08 00:00:00.000000000 Z
11
+ date: 2024-10-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails