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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 90eb0604e60b1612f7314c0c8222c2e1a80becac8847215da234ff36163cc49b
4
- data.tar.gz: dcac26bd290696e1ceffa36f33a28d6e037b898e3219e288a2bae77afa1c1d6e
3
+ metadata.gz: 3dc467f3312d3856f5343d19a15ac620e07561dbd7bd753fb0436c34b74723ce
4
+ data.tar.gz: 5684c01ee91cb52af4d78c6231d21f64c1ad14f9ed562fd03d8bbacb45dccb59
5
5
  SHA512:
6
- metadata.gz: ec4b565fec0d10db7336d6d3187f55b4ed9bc19d49ee951a502eb5a0dcfec157a54e0f9f46d2ebeaf8001a31c28074bda9680f4abed3d7b1b386fc00f5f943c0
7
- data.tar.gz: 57f0f4b9de6de32cbd22ce3eae12de21b278223edc41e6b87d3791308031c9ee0def6da7c14151eef916079ba6dcb695f287a227e10f52d4f915480ac9f13f94
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 ActiveRecord::RecordInvalid => e
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 ActiveRecord::RecordInvalid => e
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 ActiveRecord::RecordInvalid => e
845
+ rescue => e
846
846
  self.status = status_was
847
847
  error = e.message
848
848
  end
@@ -1,3 +1,3 @@
1
1
  module EffectiveOrders
2
- VERSION = '6.14.3'.freeze
2
+ VERSION = '6.14.4'.freeze
3
3
  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.3
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-01 00:00:00.000000000 Z
11
+ date: 2024-08-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails