tramway-event 1.9.24.1 → 1.9.25
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: 23b8602b08fac64e7da272703bf4c1736f8b92b237d74e4449d1f09e4b183746
|
|
4
|
+
data.tar.gz: 5e18c8beb8894f1583dc55e2f1cb7e8e634aa3273c3c7ff80382f0dda93af38a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d53b02a1a97ef8caf98133f4d80f9c73b59ee21112ae99c5bafceee7856b3d0a355827a42ce6086cfc23fe1b83d58dfdd37ca02097aa8c1e8050b9736652331c
|
|
7
|
+
data.tar.gz: 5fbcecc075ee3b6f1b6e4c49831071ed75090d10cdcb3a8d240c78d13e4e6b830068302eb33ad37e879657296b6229b096647956f49e361575f853aa4675065c
|
|
@@ -19,6 +19,10 @@ class Tramway::Event::EventDecorator < ::Tramway::Core::ApplicationDecorator
|
|
|
19
19
|
]
|
|
20
20
|
end
|
|
21
21
|
|
|
22
|
+
def show_associations
|
|
23
|
+
%i[participant_form_fields]
|
|
24
|
+
end
|
|
25
|
+
|
|
22
26
|
def list_attributes
|
|
23
27
|
%i[requested_participants approved_participants]
|
|
24
28
|
end
|
|
@@ -27,7 +31,7 @@ class Tramway::Event::EventDecorator < ::Tramway::Core::ApplicationDecorator
|
|
|
27
31
|
delegate :title, to: :object
|
|
28
32
|
delegate :status, to: :object
|
|
29
33
|
decorate_association :participants
|
|
30
|
-
decorate_association :participant_form_fields
|
|
34
|
+
decorate_association :participant_form_fields, as: :event
|
|
31
35
|
decorate_association :sections
|
|
32
36
|
decorate_association :partakings
|
|
33
37
|
decorate_association :partnerships
|
data/config/locales/models.yml
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: tramway-event
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.9.
|
|
4
|
+
version: 1.9.25
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Pavel Kalashnikov
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-01-
|
|
11
|
+
date: 2020-01-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: Rails engine for events
|
|
14
14
|
email:
|