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 +4 -4
- data/app/models/tramway/profiles/social_network.rb +1 -1
- data/lib/tramway/profiles/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cb9313718f64bfd5e9e853b696e8daee3d1a3fccbf475e1f440dfb76d172dee0
|
4
|
+
data.tar.gz: d2dcbebd1979bcda72165338c4b24904b4f7ce38321283fe8831065baa26ab74
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
9
|
+
end + [Tramway::Core.application_object.try(:model_class) || Tramway::Core.application_object]).compact)
|
10
10
|
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.
|
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
|
+
date: 2020-01-13 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Rails engine for social networks profiles
|
14
14
|
email:
|