effective_orders 6.14.3 → 6.14.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/effective/order.rb +3 -3
- data/lib/effective_orders/version.rb +1 -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: 3dc467f3312d3856f5343d19a15ac620e07561dbd7bd753fb0436c34b74723ce
|
4
|
+
data.tar.gz: 5684c01ee91cb52af4d78c6231d21f64c1ad14f9ed562fd03d8bbacb45dccb59
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: df7d61c8cf858251e6999387856e95a951718e7a6353342f34e6fa114e573a5b27370360c323161943aedb7f28dc4436da6b5ac782a68c91e734f22550a5dd94
|
7
|
+
data.tar.gz: 1d12a7f3836a74b6feca7b9f30ba38f4ce8426972c80fd72cf1587de587517ad4d949ab6b99cb4daf9a2ac5d7aee4b8a99756b23cdc7cb9057c8d2e1aff34c5a
|
@@ -725,7 +725,7 @@ module Effective
|
|
725
725
|
|
726
726
|
run_purchasable_callbacks(:after_purchase)
|
727
727
|
end
|
728
|
-
rescue
|
728
|
+
rescue => e
|
729
729
|
Effective::Order.transaction do
|
730
730
|
save!(validate: false)
|
731
731
|
update_purchasables_purchased_order!
|
@@ -802,7 +802,7 @@ module Effective
|
|
802
802
|
save!(validate: validate)
|
803
803
|
run_purchasable_callbacks(:after_defer)
|
804
804
|
end
|
805
|
-
rescue
|
805
|
+
rescue => e
|
806
806
|
self.status = status_was
|
807
807
|
error = e.message
|
808
808
|
end
|
@@ -842,7 +842,7 @@ module Effective
|
|
842
842
|
run_purchasable_callbacks(:before_decline)
|
843
843
|
save!(validate: validate)
|
844
844
|
run_purchasable_callbacks(:after_decline)
|
845
|
-
rescue
|
845
|
+
rescue => e
|
846
846
|
self.status = status_was
|
847
847
|
error = e.message
|
848
848
|
end
|
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.14.
|
4
|
+
version: 6.14.4
|
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-08-
|
11
|
+
date: 2024-08-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|