tramway-profiles 1.3.2.1 → 1.3.2.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: 3b28de7977204bcb2ad8019a6c47cbdc32ee8082cbdea65f9cc3a276f5eea52f
4
- data.tar.gz: 0ff542ce415faea602d5d1a064c8ec92e3d1471581e9f21dbafe92c69e39be27
3
+ metadata.gz: cb9313718f64bfd5e9e853b696e8daee3d1a3fccbf475e1f440dfb76d172dee0
4
+ data.tar.gz: d2dcbebd1979bcda72165338c4b24904b4f7ce38321283fe8831065baa26ab74
5
5
  SHA512:
6
- metadata.gz: 0025657005e0a03187a6844a84910bff9dddee5c403bb6ba82ad68cdcf5679143d6ca2e935408dca9356b151d48e1bbae57e2a814af6261e5d53d4b0e5681a66
7
- data.tar.gz: eb1f7577aa951fb8d1af3f10be2b9690a4e22f713f6561d2be804ba5c1ba6ee620fd8d086622be6ef31b821e32eb4e984219fc9c316d65d9bce2c936496c0ab1
6
+ metadata.gz: 2d24184d038a1f24a6ac585fb271ae90c69fa98f8ced8dc8a9bbc50ef3ec7735af7d789fa26749ce90c62283570eb9953c3629511745e2a2f9e17182f6d9ca50
7
+ data.tar.gz: 49490b8d38338e017fe92279ebbc6da6a2da5cb7dcf2636c078d586f2b60b3e20542a419a82250ba5bfd6191072d11a6aa4aa6e78c87049a1d0f7b57cb6e6184
@@ -6,5 +6,5 @@ class Tramway::Profiles::SocialNetwork < ::Tramway::Core::ApplicationRecord
6
6
  enumerize :network_name, in: %i[vk facebook twitter instagram telegram patreon]
7
7
  enumerize :record_type, in: ((['Tramway::SportSchool::Institution', 'Tramway::Conference::Unity'].map do |type|
8
8
  type if const_defined?(type)
9
- end + [Tramway::Core.application_object&.model_class]).compact)
9
+ end + [Tramway::Core.application_object.try(:model_class) || Tramway::Core.application_object]).compact)
10
10
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Tramway
4
4
  module Profiles
5
- VERSION = '1.3.2.1'
5
+ VERSION = '1.3.2.2'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tramway-profiles
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.2.1
4
+ version: 1.3.2.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-01-11 00:00:00.000000000 Z
11
+ date: 2020-01-13 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Rails engine for social networks profiles
14
14
  email: