tramway-event 1.11.2 → 1.11.2.1
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: 5ef776e85a8e3d3228ab60527785ca5e44c62317cec77605a96538a06628a4f3
|
4
|
+
data.tar.gz: e206926ec49c2f5b06e4be1fc25aea6f3da94620f5569e13af25f13f09434693
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cfcac46d6fdad8680646692e57292e71701dba53a040ca72b88278b3c8fe33d87b535a09873c65b786cde9e10a1d9296affb9396746b0a4c1fd9a3fc16681af7
|
7
|
+
data.tar.gz: 7b42aebeb2379362df3f286b12630b7aaf613ac4e4b7021d06d951b690c5d1fcb7a7280969b5802a576f1fe02cfd6824707df9ea597d19fb8f156707c70ef014
|
@@ -27,11 +27,11 @@ class Admin::Tramway::Event::ParticipantFormFieldForm < ::Tramway::Core::Extende
|
|
27
27
|
end
|
28
28
|
|
29
29
|
def list_field
|
30
|
-
model.options
|
30
|
+
model.options.present? && model.options.dig('list_field') == 'true'
|
31
31
|
end
|
32
32
|
|
33
33
|
def presence_field
|
34
|
-
model.options
|
34
|
+
model.options.present? && model.options.dig('validations', 'presence') == 'true'
|
35
35
|
end
|
36
36
|
|
37
37
|
def options
|
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.11.2
|
4
|
+
version: 1.11.2.1
|
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-03-
|
11
|
+
date: 2020-03-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: configus
|