tramway-sport_school 1.2.2.1 → 1.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/config/initializers/tramway.rb +6 -5
- data/lib/tramway/sport_school.rb +9 -0
- data/lib/tramway/sport_school/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: bdb825f53fb7ea74aa1e115dd8c25b787c5997ed4bc58815c270f7d5d56083e2
|
4
|
+
data.tar.gz: 2703a4d8892004b37d2001e10e58de83ad480e5619bc00b6530e683a989fd82d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6e713ad3e2c4e577df2c6d46566d4e041ec6f489b80efda2925e37e0ae80fd7180e5bec66140475730a88e47c86ce687c6329fbde1a1848e9e06f702f6e60273
|
7
|
+
data.tar.gz: 5cd5d096218bac69e8c5d6fc84782f99a852f0bed9f2dd8102c289efe42760755c4c50dd81287097a82f821d5e6172f9749756db3d3168b8bbbcf67fdb053186
|
@@ -1,12 +1,13 @@
|
|
1
1
|
::Tramway::User.root_path = '/admin'
|
2
|
-
::Tramway::Admin.set_available_models
|
2
|
+
::Tramway::Admin.set_available_models(::Tramway::SportSchool::KindSport,
|
3
3
|
::Tramway::SportSchool::Trainer,
|
4
4
|
::Tramway::SportSchool::Document,
|
5
|
-
::Tramway::SportSchool::Organization
|
6
|
-
|
5
|
+
::Tramway::SportSchool::Organization,
|
6
|
+
project: :sport_school)
|
7
|
+
::Tramway::Admin.set_singleton_models(::Tramway::SportSchool::Institution, project: :sport_school)
|
7
8
|
::Tramway::Core.initialize_application model_class: ::Tramway::SportSchool::Institution
|
8
9
|
::Tramway::Profiles.records = [ ::Tramway::SportSchool::Institution ]
|
9
|
-
::Tramway::Admin.set_additional_buttons Tramway::SportSchool::Institution.to_s => {
|
10
|
+
::Tramway::Admin.set_additional_buttons({ Tramway::SportSchool::Institution.to_s => {
|
10
11
|
show: ::Tramway::Profiles::SocialNetwork.network_name.values.map do |network|
|
11
12
|
{
|
12
13
|
action: :new,
|
@@ -21,4 +22,4 @@
|
|
21
22
|
}
|
22
23
|
}
|
23
24
|
end
|
24
|
-
}
|
25
|
+
}}, project: :sport_school)
|
data/lib/tramway/sport_school.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tramway-sport_school
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.3
|
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-07-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pg
|