tramway-event 1.9.31.1 → 1.9.31.2

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: eca92e584773c5effe967dedf5295b6e72760305c3d1abc02a6a8ab1f028b59b
4
- data.tar.gz: '09dc9dd27d0faa05002dbaa131cdbe3728c2ef4fc46163090f59368561600c43'
3
+ metadata.gz: 389fa955d28b590eee11a279a178a13666b3a86d76f5eb21359901666e524f59
4
+ data.tar.gz: ac723fb0e351f2888753963b76febe034745128fa3bad07c1fa1af4035372f43
5
5
  SHA512:
6
- metadata.gz: 5e7b456fab796106a23288b814e0f9fa26046155bcea94f0cb773a5e9d88950bdc01736728313c5cb106a35e9ad122a61f7f07ea66ab7fdb392175836ec4565b
7
- data.tar.gz: 6482ca0c495535133d2c6e3467572089ff14e86357ccddff6ad83beeadda66882fac8742b4f0460d3e1a371ff4550ba759a14bdb84e2aaec1978f7376c851375
6
+ metadata.gz: 8163d819f33edeff900a9eeba0ea89dc5f18ce9256124f0b6e42fadf169eff2417ccefeae6cd8ddb770a28321aa7bcb8cd0e9e324b8cca6afc5c6bb6f6829ef6
7
+ data.tar.gz: 033466f38c2f791c3480f45233e187d39ccc2db6b030466adfb8b882b5cba0e8d72d74f089dde6215a1430d2058df2917900f6ba154eeb3e0ab958af6f91c11a
@@ -8,6 +8,6 @@ class Tramway::Event::ParticipantFormField < ::Tramway::Event::ApplicationRecord
8
8
  scope :inputs_list, -> { active.order(position: :asc) }
9
9
 
10
10
  def required
11
- options&.dig('validations', 'presence') == 'true'
11
+ options.present? && options.dig('validations', 'presence') == 'true'
12
12
  end
13
13
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Tramway
4
4
  module Event
5
- VERSION = '1.9.31.1'
5
+ VERSION = '1.9.31.2'
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.9.31.1
4
+ version: 1.9.31.2
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-02-24 00:00:00.000000000 Z
11
+ date: 2020-02-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: configus