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: ee9b98770fa7546d0b7c49c02f766217b562830ec0e1d53f6d21b13277ca3ed0
4
- data.tar.gz: 542630d73692b2d556707204eb618b439af46b49c385161bbb84170d8b6ffc7d
3
+ metadata.gz: 5ef776e85a8e3d3228ab60527785ca5e44c62317cec77605a96538a06628a4f3
4
+ data.tar.gz: e206926ec49c2f5b06e4be1fc25aea6f3da94620f5569e13af25f13f09434693
5
5
  SHA512:
6
- metadata.gz: f4d0e94e345e70cb67c92d63f2ee48822afecf082b536c95bca865c620ed5bd9aabb7dbf699c251613869e1350dda4e0da9d45b98bdac73dd3d3309d91019bbb
7
- data.tar.gz: daae540aefa2f8dfa0a4b387137c6746f63d47949286577b908d3f05aff8569b46e1e3fc40131f96ef1f77935f095b70478a7aea63a27e759109bcb6f467ed14
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&.dig('list_field') == 'true'
30
+ model.options.present? && model.options.dig('list_field') == 'true'
31
31
  end
32
32
 
33
33
  def presence_field
34
- model.options&.dig('validations', 'presence') == 'true'
34
+ model.options.present? && model.options.dig('validations', 'presence') == 'true'
35
35
  end
36
36
 
37
37
  def options
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Tramway
4
4
  module Event
5
- VERSION = '1.11.2'
5
+ VERSION = '1.11.2.1'
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.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-09 00:00:00.000000000 Z
11
+ date: 2020-03-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: configus