tramway-event 1.12.6.4 → 1.12.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/decorators/tramway/event/partaking_decorator.rb +1 -0
- data/app/decorators/tramway/event/person_decorator.rb +1 -1
- data/app/decorators/tramway/event/section_decorator.rb +1 -1
- data/app/models/tramway/event/participant_form_field.rb +1 -1
- data/app/models/tramway/event/person.rb +2 -0
- data/lib/tramway/event/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 29c27b41dea39b385832e0663627b1bacbf8be038a0619564a2a8e58b46eb594
|
4
|
+
data.tar.gz: 9fc233bd896c0a4f0b5ef8213642b9be2c67ee81dac5edb898dc1b7922fd6e6b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cfaa2dec299f7274d7d96deadf7aecc07cba72f381617b07de1461f21a8ec58b5d49f0f3da712780adca69fee0a58e328b63bba9c57c12aec1fc2e4e33292d78
|
7
|
+
data.tar.gz: c3f8b0a2acd2ae8d63a72490176602901bad0f4a85409821a6db1d38fb701ee5957d79d9abb027eb951262abd5725b25c4a844798d015b75a32982efa5b768db
|
@@ -11,7 +11,7 @@ class Tramway::Event::SectionDecorator < ::Tramway::Landing::BlockTypes::Feature
|
|
11
11
|
end
|
12
12
|
end
|
13
13
|
|
14
|
-
|
14
|
+
delegate_attributes :description, :created_at
|
15
15
|
decorate_association :event
|
16
16
|
decorate_association :partakings, as: :part, decorator: Tramway::Event::PartakingFeatureDecorator
|
17
17
|
|
@@ -5,7 +5,7 @@ class Tramway::Event::ParticipantFormField < ::Tramway::Core::ApplicationRecord
|
|
5
5
|
|
6
6
|
enumerize :field_type, in: %i[text string numeric date_picker select checkbox], default: :text
|
7
7
|
|
8
|
-
scope :inputs_list, -> {
|
8
|
+
scope :inputs_list, -> { order(position: :asc) }
|
9
9
|
|
10
10
|
def required
|
11
11
|
options.present? && options.dig('validations', 'presence') == 'true'
|
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.
|
4
|
+
version: 1.12.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pavel Kalashnikov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-11-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: configus
|