effective_events 3.3.12 → 3.3.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: afa75e1c361ba6645aaa6d2a53132b28d5bd76869c4c36f33ce8b2c34c3e3339
|
|
4
|
+
data.tar.gz: ec7a9afae2c8f3a1d79cb3a05cc818b9e2269b12c113cb7348fec7c1f5a648fa
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 60e7eb8ce89a2767661e99f3a997079674af3c80edcecea010cef0ac3046e8518268e3d9b820f5098be410005091a25ba476386e1ea2cc478ed5bcc722b6b4c4
|
|
7
|
+
data.tar.gz: 9372a62e3c59605c613e74b0d082588f9f27f4043fbe1e9de86aafa0e127fe3c2fd6a29a9ec81e9c02f0e9a60b681c2e3491d8cd7420e468da798ac67d7d9410
|
|
@@ -574,10 +574,13 @@ module EffectiveEventsEventRegistration
|
|
|
574
574
|
assign_attributes(current_step: :details) if current_step.blank? # Enables validations
|
|
575
575
|
save!
|
|
576
576
|
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
577
|
+
# Never touch a declined submit order. Rebuilding it would build a brand new pending
|
|
578
|
+
# order, which hides the declined one and breaks the submitted step. And there's no
|
|
579
|
+
# order email to send, the buyer was already told their payment was declined.
|
|
580
|
+
# The fees and order are rebuilt by ready! when they return to the checkout step.
|
|
581
|
+
unless submit_order&.declined?
|
|
582
|
+
update_submit_fees_and_order! if submit_order.present? && !submit_order.purchased?
|
|
583
|
+
after_commit { send_order_emails! }
|
|
581
584
|
end
|
|
582
585
|
|
|
583
586
|
true
|
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: effective_events
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.3.
|
|
4
|
+
version: 3.3.13
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Code and Effect
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: bin
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
13
12
|
- !ruby/object:Gem::Dependency
|
|
14
13
|
name: rails
|
|
@@ -332,7 +331,6 @@ homepage: https://github.com/code-and-effect/effective_events
|
|
|
332
331
|
licenses:
|
|
333
332
|
- MIT
|
|
334
333
|
metadata: {}
|
|
335
|
-
post_install_message:
|
|
336
334
|
rdoc_options: []
|
|
337
335
|
require_paths:
|
|
338
336
|
- lib
|
|
@@ -347,8 +345,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
347
345
|
- !ruby/object:Gem::Version
|
|
348
346
|
version: '0'
|
|
349
347
|
requirements: []
|
|
350
|
-
rubygems_version:
|
|
351
|
-
signing_key:
|
|
348
|
+
rubygems_version: 4.0.17
|
|
352
349
|
specification_version: 4
|
|
353
350
|
summary: Event registrations, tickets and products
|
|
354
351
|
test_files: []
|