tramway-event 1.12.6.4 → 1.12.7
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 84351714cbce95a1b7aafc0a214ea11d2723f5af8966e4d95dfa3a371786e746
|
4
|
+
data.tar.gz: 9908e812262e70188cfe85befbf79312ed5b5175bf39127fede2db9ddb65f9d2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 816e107cf8d8e6241cd430c6289fa61926b66560a91cf7954b529ba487d43ed8f2b3e503048e7d6809c64392339ff83c8a13413404f6551bfc8f29be7426dd1e
|
7
|
+
data.tar.gz: 7a503e524cca519f19467175190c1aadfcd297d106841292af06b6d2343c9b05cd042c04731072d472024abb85acb671731adbc7cf6575b14ad7b19e0bfccf12
|
@@ -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.7
|
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
|