tramway-profiles 1.0 → 1.0.1
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 272578136687eb0ce386a0917b48a2301fc5e03c7f7b44200297f944bc39c8ae
|
|
4
|
+
data.tar.gz: c9814153a955b937745979c5495eaaaa2b024377579306934102f24e187eee13
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8e40176d95db8803b6a281ac9e265ea05ca220c9d25a1ff1ee19ba144499d7b90c2a1abf4dace2c9ab16739d4fa17d9ce6a2b980e7f3a01b260ab661d57b9677
|
|
7
|
+
data.tar.gz: adcff8e7ceea96f8818c45e6c67583e287546b2174000905517e15da7303d64303cda8b3f5263b02afbe99696ec70d2743c852368f30fa99b483481e8ddac6c0
|
|
@@ -3,4 +3,5 @@ class Tramway::Profiles::SocialNetwork < ::Tramway::Core::ApplicationRecord
|
|
|
3
3
|
|
|
4
4
|
enumerize :network_name, in: [ :vk, :facebook, :twitter ]
|
|
5
5
|
#enumerize :record_type, in: ::Tramway::Profiles.records
|
|
6
|
+
enumerize :record_type, in: [ 'Tramway::SportSchool::Institution' ], default: 'Tramway::SportSchool::Institution'
|
|
6
7
|
end
|
data/config/locales/models.yml
CHANGED
|
@@ -4,11 +4,11 @@ ru:
|
|
|
4
4
|
tramway/profiles/social_network: Социальная сеть
|
|
5
5
|
attributes:
|
|
6
6
|
tramway/profiles/social_network:
|
|
7
|
-
title:
|
|
7
|
+
title: Название ссылки
|
|
8
8
|
network_name: Социальная сеть
|
|
9
9
|
record_id: ID записи
|
|
10
10
|
record_type: Тип записи
|
|
11
|
-
uid:
|
|
11
|
+
uid: Username в социальной сети
|
|
12
12
|
cases:
|
|
13
13
|
tramway/profiles/social_network:
|
|
14
14
|
plural: социальные сети
|
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:
|
|
4
|
+
version: 1.0.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: 2018-
|
|
11
|
+
date: 2018-03-17 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: Rails engine for social networks profiles
|
|
14
14
|
email:
|