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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0076db827050e25a81dfab8bd176f967e76311c998bfca779ba73035e8b907d8
4
- data.tar.gz: 3a419d74d63fbfe0fb743777d1d83c36648329cd3828c5906537cbb5105c7e7c
3
+ metadata.gz: bdb825f53fb7ea74aa1e115dd8c25b787c5997ed4bc58815c270f7d5d56083e2
4
+ data.tar.gz: 2703a4d8892004b37d2001e10e58de83ad480e5619bc00b6530e683a989fd82d
5
5
  SHA512:
6
- metadata.gz: 7445984c7be9e5ae0bef64cb7ab685dce4768018269df1f264b46bc6833eedf9fb8566a9fdd6b313f55544dbe8ef7708704ef7ad57de79dae367e0aac20e817c
7
- data.tar.gz: 6b92b839301393e951f2626f90d679f14d674740de1bc3135e9c5f79be14411c36ec6879ef34785e3996e93de1b3c59da21a9238c856f08ee2f050d6c538c9c6
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 ::Tramway::SportSchool::KindSport,
2
+ ::Tramway::Admin.set_available_models(::Tramway::SportSchool::KindSport,
3
3
  ::Tramway::SportSchool::Trainer,
4
4
  ::Tramway::SportSchool::Document,
5
- ::Tramway::SportSchool::Organization
6
- ::Tramway::Admin.set_singleton_models ::Tramway::SportSchool::Institution
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)
@@ -4,5 +4,14 @@ require 'font-awesome-rails'
4
4
 
5
5
  module Tramway
6
6
  module SportSchool
7
+ class << self
8
+ def dependencies
9
+ [ :landing, :profiles, :news, :user ]
10
+ end
11
+
12
+ def application
13
+ :institution
14
+ end
15
+ end
7
16
  end
8
17
  end
@@ -1,5 +1,5 @@
1
1
  module Tramway
2
2
  module SportSchool
3
- VERSION = '1.2.2.1'
3
+ VERSION = '1.2.3'
4
4
  end
5
5
  end
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.2.1
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-06-29 00:00:00.000000000 Z
11
+ date: 2018-07-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pg