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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 46913e76651e2102a3b21c683ecb52055affc0c86e008155cda5ee8529cb7580
4
- data.tar.gz: 343225b74a55187d7020f0079b00a34465440faa5f297eae48f3af8f30830e1f
3
+ metadata.gz: 3a20e23c2d1f6ff1fc2e33cfa799e6455d2c82263ff910a2c920de564d68588d
4
+ data.tar.gz: bd7fda0dabec7029fd0eea28edd2beef18a21aa25dae34789d6ad16607a4672c
5
5
  SHA512:
6
- metadata.gz: 2b306aabce0f0b8c3860930bacc6e9ffd0bdc0cd3f8760e6f530ab2b44dae25f90989c30e82aa371e13165d17d519dbaf9fbc272ea39c633fd479fa2665cc022
7
- data.tar.gz: 7e47158527a7e61ef293ee31d8a90530efa79d76ed7ffef92a9990bcc5560f8cfed0db604914304ca0f58c5e6c1c2c659033c44d595355cc61edb9cf25b0751c
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.draft.where(event: event, owner: owner).where.not(id: event_registration_id).first
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
@@ -1,3 +1,3 @@
1
1
  module EffectiveEvents
2
- VERSION = '3.2.8'.freeze
2
+ VERSION = '3.2.9'.freeze
3
3
  end
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.8
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-25 00:00:00.000000000 Z
11
+ date: 2025-11-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails