effective_events 3.2.7 → 3.2.8

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: c91b434d747f10bcbec7340c8bfbee4e755e3a72896c44a0fde8304e46c9ff39
4
- data.tar.gz: 562fbb1b148b2c31e308ca0db490a478d7b1b86fc14e680d0c497d3e2455daf0
3
+ metadata.gz: 46913e76651e2102a3b21c683ecb52055affc0c86e008155cda5ee8529cb7580
4
+ data.tar.gz: 343225b74a55187d7020f0079b00a34465440faa5f297eae48f3af8f30830e1f
5
5
  SHA512:
6
- metadata.gz: cb2290e526506a0e3343ed09d6a925cc53197fcae387fe0506421ca34561c7519a755b47fac08f0c2af81491ac3d7e05e7ddfa3b3ac73a19c357f9e010c37996
7
- data.tar.gz: 98f0d6df5d153deed1bb5e713f47b8ea00dbc9a586eef2e064ebda8279f5c8b86d7fe11322de490ae1de7c9d296555e1979f9666bbf8632b40ff3b4e43b38a86
6
+ metadata.gz: 2b306aabce0f0b8c3860930bacc6e9ffd0bdc0cd3f8760e6f530ab2b44dae25f90989c30e82aa371e13165d17d519dbaf9fbc272ea39c633fd479fa2665cc022
7
+ data.tar.gz: 7e47158527a7e61ef293ee31d8a90530efa79d76ed7ffef92a9990bcc5560f8cfed0db604914304ca0f58c5e6c1c2c659033c44d595355cc61edb9cf25b0751c
@@ -411,7 +411,7 @@ module EffectiveEventsEventRegistration
411
411
  existing = event_registrants.find { |er| er.persisted? && er.waitlisted_not_promoted? }
412
412
  capacity = event.capacity_available(event_ticket: event_ticket, event_registration: self)
413
413
 
414
- event_registrants.each_with_index { |er, index| er.assign_attributes(waitlisted: (existing || index >= capacity)) }
414
+ event_registrants.reject(&:registered?).each_with_index { |er, index| er.assign_attributes(waitlisted: (existing || index >= capacity)) }
415
415
  else
416
416
  event_registrants.each { |er| er.assign_attributes(waitlisted: false) }
417
417
  end
@@ -1,2 +1,7 @@
1
1
  - if resource.submitted? && resource.event&.delayed_payment_date_upcoming?
2
2
  .alert.alert-warning.mb-4 Please note: you must submit each step and checkout for your ticket changes to be saved. You will receive a new confirmation email.
3
+
4
+ - if resource.display_countdown?
5
+ .alert.alert-warning.mb-4
6
+ Your tickets are reserved until #{resource.selected_expires_at.strftime("%l:%M%P %Z")}.
7
+ If you have not checked out by this time, your tickets will be released.
@@ -1,11 +1,3 @@
1
1
  .row
2
- .col-lg-3.mb-3
3
- = render_wizard_sidebar(resource)
4
-
5
- - if resource.display_countdown?
6
- .mt-4
7
-
8
- .alert.alert-warning
9
- Your tickets are reserved until #{resource.selected_expires_at.strftime("%l:%M%P %Z")}
10
-
2
+ .col-lg-3.mb-3= render_wizard_sidebar(resource)
11
3
  .col-lg-9.mb-3= yield
@@ -1,3 +1,3 @@
1
1
  module EffectiveEvents
2
- VERSION = '3.2.7'.freeze
2
+ VERSION = '3.2.8'.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.7
4
+ version: 3.2.8
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-20 00:00:00.000000000 Z
11
+ date: 2025-11-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails