effective_events 0.5.4 → 0.5.5

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: 569c49b04014de818642e164da4ef47325b13b8fed83b1bbedb784561463e106
4
- data.tar.gz: 9b8997c85d23c620adcceafe4bf2ab006e5dc1c8412b0e21e2a2f9cc31bed427
3
+ metadata.gz: 0f91b10984338119e096e1d4e0b783a0a17267342e0323f511fdd105374f3fbe
4
+ data.tar.gz: 0c5df12892710b0e5cb80fc23a4e077594bc07fb9352d0c40b5bcaa651bab20c
5
5
  SHA512:
6
- metadata.gz: 724b0d2767459dcb3f2d51507175110d3c5e846bb8a5444b5ed1b3768a3abb0f1f1272a7d5b1fa838a41f769cdd13ccd7b540a2bdced273b7c9eae6b7ad7d8ba
7
- data.tar.gz: aaa83c634752e12c8d72008986db445a6eef8938d57d93604e6033133c6d4f738c152a23ce8064df410d72f41518377b981f30da199f8f4f6bc47a8d8ca00fba
6
+ metadata.gz: b988cdfe2cd4d6b69ae69a58b3d8c35f4ed6be63ca1dd483d81b5337084695739bbe63757e7ebd891161e18b4edf1de3cdcd46c752f346a29ecf2ec2c20a658a
7
+ data.tar.gz: c33c40aae8312259f32cf5eab48f7b1acca56e78026b445813e48747cc77829d3dda213706901efd60e0db8f55033ae0b7e0b66588020e4bc505836f64893976
@@ -39,7 +39,7 @@ module Admin
39
39
 
40
40
  def event
41
41
  @event ||= if attributes[:event_id]
42
- Effective::Event.find(attributes[:event_id])
42
+ Effective::Event.find_by_id(attributes[:event_id])
43
43
  end
44
44
  end
45
45
  end
@@ -47,7 +47,7 @@ module Admin
47
47
  end
48
48
 
49
49
  def event
50
- Effective::Event.find(attributes[:event_id])
50
+ Effective::Event.find_by_id(attributes[:event_id])
51
51
  end
52
52
  end
53
53
  end
@@ -45,7 +45,7 @@ module Admin
45
45
 
46
46
  def event
47
47
  @event ||= if attributes[:event_id]
48
- Effective::Event.find(attributes[:event_id])
48
+ Effective::Event.find_by_id(attributes[:event_id])
49
49
  end
50
50
  end
51
51
  end
@@ -42,7 +42,7 @@ module Admin
42
42
  end
43
43
 
44
44
  def event
45
- Effective::Event.find(attributes[:event_id])
45
+ Effective::Event.find_by_id(attributes[:event_id])
46
46
  end
47
47
  end
48
48
  end
@@ -34,7 +34,7 @@ class EffectiveEventAddonsDatatable < Effective::Datatable
34
34
 
35
35
  def event
36
36
  @event ||= if attributes[:event_id]
37
- Effective::Event.find(attributes[:event_id])
37
+ Effective::Event.find_by_id(attributes[:event_id])
38
38
  end
39
39
  end
40
40
 
@@ -44,7 +44,7 @@ class EffectiveEventRegistrantsDatatable < Effective::Datatable
44
44
 
45
45
  def event
46
46
  @event ||= if attributes[:event_id]
47
- Effective::Event.find(attributes[:event_id])
47
+ Effective::Event.find_by_id(attributes[:event_id])
48
48
  end
49
49
  end
50
50
 
@@ -40,7 +40,7 @@
40
40
  - if @event.registration_end_at.present?
41
41
  %li
42
42
  %strong Registration Closes:
43
- = @event.registration_end_at.strftime('%F %R')
43
+ = @event.registration_end_at.strftime("%b %d, %Y %I:%M%P")
44
44
 
45
45
  - if @event.event_tickets.present?
46
46
  %li
@@ -1,3 +1,3 @@
1
1
  module EffectiveEvents
2
- VERSION = '0.5.4'.freeze
2
+ VERSION = '0.5.5'.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: 0.5.4
4
+ version: 0.5.5
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: 2022-11-24 00:00:00.000000000 Z
11
+ date: 2022-11-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails