tramway-event 1.12.3.1 → 1.12.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '0608556ec1455f2c866928e358bacb162d2d23cd2addf7b48b86a6aaec061e55'
4
- data.tar.gz: c99be8faf627154f6cd8a49849a39fd3fe61f1b7baa1c2195abd2b81c1816e56
3
+ metadata.gz: 31e0a33d06507e1ec4360f7ed5202190b7eff90ccc3ddd28de57af9646d6d333
4
+ data.tar.gz: 4732391a8653ed16662136553b1201814c4c6b910c9fb0bc7d90e872ea5073ea
5
5
  SHA512:
6
- metadata.gz: 9064b081f4c524f9d581706002ccf043387fc4c47826fd8611510c46f5ed67ec4cde3a2866ee7f35342bf5d4c70e132d960df1a92b3d926924190327899d7546
7
- data.tar.gz: 35f25dd3478061426fc7f3126d3d72387b613a341b70a4d5e5b93afb5828152ad8acdd1268b2057cf27a671701cd8d3c5289c6b2dbaff8b9f1589b4ac36a06c8
6
+ metadata.gz: 5ecc58fc35a0408efe4feb309b6a037e0502f0816d73fefac35b9d354b21872a8f79e6605dc17176caec476d87051799098ad646539837279789dd03d22dc8d6
7
+ data.tar.gz: 798ab7fba9ee38bce25d8a2246e2ff365fdb3c0863ded3345492cb6e57f4f401ea4bfb7e222a1df2687a1fcfca2ad1fb325239993a05f0f7ac2fac333969303f
@@ -45,7 +45,7 @@ class Tramway::Event::Events::Show::EventDecorator < ::Tramway::Core::Applicatio
45
45
 
46
46
  def responsible_person
47
47
  {
48
- title: Tramway::User::UserDecorator.decorate(object.creator).name,
48
+ title: Tramway::User::UserDecorator.decorate(object.creator)&.name,
49
49
  phone: (object.creator.phone if object.creator&.phone&.present?),
50
50
  email: (object.creator.email if object.creator&.email&.present?),
51
51
  social_networks: (object.creator.social_networks.active if object.creator.respond_to?(:social_networks))
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Tramway
4
4
  module Event
5
- VERSION = '1.12.3.1'
5
+ VERSION = '1.12.3.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.12.3.1
4
+ version: 1.12.3.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-04-12 00:00:00.000000000 Z
11
+ date: 2020-04-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: configus