effective_events 3.2.8 → 3.2.9
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 +4 -4
- data/app/models/effective/event_registrant.rb +1 -1
- data/lib/effective_events/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: 3a20e23c2d1f6ff1fc2e33cfa799e6455d2c82263ff910a2c920de564d68588d
|
|
4
|
+
data.tar.gz: bd7fda0dabec7029fd0eea28edd2beef18a21aa25dae34789d6ad16607a4672c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d19a7f0d3f1971aa9d93cb50422623c473efc84a0b2b9fae580a1f42212b4e6487841638820cdcf69434b89a62f2a7b83f5df3de3fe6efa61f9a3e063f49e8f7
|
|
7
|
+
data.tar.gz: b5f65bbc418de37eba98bdb4e3e5437703d2012020e8ec770b12aa5f848a19356b983e828519224166df86aaa2b074f05f478a5f24a21946a86fd569583afbbe
|
|
@@ -382,7 +382,7 @@ module Effective
|
|
|
382
382
|
update!(promoted: true, purchased_order: nil)
|
|
383
383
|
|
|
384
384
|
# Check if the ticket owner has an unpurchased event registration for the event or create a new one
|
|
385
|
-
event_registration = EffectiveEvents.EventRegistration.
|
|
385
|
+
event_registration = EffectiveEvents.EventRegistration.submitted.where(event: event, owner: owner).where.not(id: event_registration_id).first
|
|
386
386
|
event_registration ||= EffectiveEvents.EventRegistration.new(event: event, owner: owner)
|
|
387
387
|
|
|
388
388
|
# Put the event registration on the checkout step
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: effective_events
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.2.
|
|
4
|
+
version: 3.2.9
|
|
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: 2025-11-
|
|
11
|
+
date: 2025-11-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|