tramway-event 1.12.3.10 → 1.12.4

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: dd47553c4b2de03f9bcb119c33f4ff67f5acdfd066b1b37149544da08c34d4c7
4
- data.tar.gz: 546acb6986c03adf7c3ece913f2c85608c67b87d06626af355cf5358cff8d50c
3
+ metadata.gz: a9da09b01fa80ca0e68c1eb99562fce606ad2a666651eda6928006a41035f67f
4
+ data.tar.gz: 7da3f0013121edc1958396e6d13dea1921e1af880c95655189cab8b80c8a3c6a
5
5
  SHA512:
6
- metadata.gz: 852ce423513c15988c7147f0ec3bf7434ca04df514c9b7415f960eda1b8ffd683f83777ea172e7e2357baf580c6e02f840f2ec76d414630df8246c6f17dee4c4
7
- data.tar.gz: 83ff03e655e5631f05490a29a9bd84689cde5dc98b3f816bffb9a1301bc84809cceb87d234e8273ad0eb30c581c4a325791428b1a698f0505fe0fda6ed798067
6
+ metadata.gz: 71353d000dbbc4ebc2c5e15a955f001b6febaa974a0ad39a84acf4e9b763ae0b2cbfd721af778f733d7f693a532c8ed7f3dcaca50f8743526a5becc557ca47b0
7
+ data.tar.gz: 3fcc06181a67328fa4f997de517776603c043f24bcf2ff7d0fa81e831cd63debc45d14aa05d527f73293e31a3f7ba115a2c0403df46e2fc0c1a0566573899dd3
@@ -11,7 +11,7 @@ class Tramway::Event::EventDecorator < ::Tramway::Core::ApplicationDecorator
11
11
  end
12
12
 
13
13
  def show_associations
14
- %i[participant_form_fields actions]
14
+ %i[participant_form_fields actions sections]
15
15
  end
16
16
 
17
17
  def list_attributes
@@ -20,8 +20,9 @@ class Tramway::Event::EventDecorator < ::Tramway::Core::ApplicationDecorator
20
20
  end
21
21
 
22
22
  delegate :title, to: :object
23
- decorate_associations :participants, :sections, :partakings, :partnerships, :organizations
23
+ decorate_associations :participants, :partakings, :partnerships, :organizations
24
24
  decorate_association :participant_form_fields, as: :event
25
+ decorate_association :sections, as: :event
25
26
  decorate_association :actions, as: :event, state_machines: [:action_state]
26
27
 
27
28
  def background
@@ -40,6 +40,7 @@ ru:
40
40
  short_description: Краткое описание
41
41
  actions: Действие
42
42
  reach: Доступность мероприятия
43
+ sections: События
43
44
  tramway/event/participant:
44
45
  name: Имя
45
46
  list_fields: Данные
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Tramway
4
4
  module Event
5
- VERSION = '1.12.3.10'
5
+ VERSION = '1.12.4'
6
6
  end
7
7
  end
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.12.3.10
4
+ version: 1.12.4
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-10-27 00:00:00.000000000 Z
11
+ date: 2020-10-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: configus