tramway-profiles 1.3.2 → 1.3.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -10
- data/app/models/tramway/profiles/social_network.rb +1 -1
- data/lib/tramway/profiles/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3b28de7977204bcb2ad8019a6c47cbdc32ee8082cbdea65f9cc3a276f5eea52f
|
4
|
+
data.tar.gz: 0ff542ce415faea602d5d1a064c8ec92e3d1471581e9f21dbafe92c69e39be27
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0025657005e0a03187a6844a84910bff9dddee5c403bb6ba82ad68cdcf5679143d6ca2e935408dca9356b151d48e1bbae57e2a814af6261e5d53d4b0e5681a66
|
7
|
+
data.tar.gz: eb1f7577aa951fb8d1af3f10be2b9690a4e22f713f6561d2be804ba5c1ba6ee620fd8d086622be6ef31b821e32eb4e984219fc9c316d65d9bce2c936496c0ab1
|
data/README.md
CHANGED
@@ -32,18 +32,11 @@ rails db:migrate
|
|
32
32
|
...coming soon
|
33
33
|
|
34
34
|
## Использование
|
35
|
+
[Прочитайте нашу инструкцию по использованию гема](https://github.com/ulmic/tramway-dev/blob/develop/tramway-profiles/docs/main.md)
|
35
36
|
|
37
|
+
## Troubleshooting
|
36
38
|
|
37
|
-
|
38
|
-
And then execute:
|
39
|
-
```bash
|
40
|
-
$ bundle
|
41
|
-
```
|
42
|
-
|
43
|
-
Or install it yourself as:
|
44
|
-
```bash
|
45
|
-
$ gem install tramway-profiles
|
46
|
-
```
|
39
|
+
1. `undefined method 'profile_link'` just add `include ::Tramway::Profiles::ApplicationHelper` to your main helper
|
47
40
|
|
48
41
|
## Contributing
|
49
42
|
Contribution directions go here.
|
@@ -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&.model_class]).compact)
|
10
10
|
end
|