tramway-sport_school 1.2.12.5 → 1.2.12.6

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: 8938e2e514250dee4e10a58d4cd64c338e810dd483b9841a210d6f1e6c6cac78
4
- data.tar.gz: 6993c213a642ecd84cb1762618173a288138b6d4c12dd5f7a448962c6f0c573c
3
+ metadata.gz: 5c242fd010f3c69258108167b41453eb1be0b70b278f98f4a3a98ee5b3827f78
4
+ data.tar.gz: c13d0352ad9438d8ce8e7fad72d5c6080287350e5c88f0955acdeb2bebb6b0b1
5
5
  SHA512:
6
- metadata.gz: e26da0395038444b00644a4e162dd99675cab679970b6b24f5f32adce7d3eab2aec04fe10d24af0eae24fc5fcdf4d287fd358b13d2f3491c365fa89b3d1eb722
7
- data.tar.gz: 1dce581d88d9afb2f7881dc49b257d6be6a93b7ff6d54b789913154011c6dba7fbc1663036cd8150db66c44085cf639d40609767b38098e7bf9650567a55537d
6
+ metadata.gz: 0e0862e8a57850ff800c8c6a12dffbef40667b8f5d5f8b2052304393fbf8c3e9f6b59c083bec5d53e0224dced233812e337bbf642886e97277671c3a18bd6b65
7
+ data.tar.gz: 978dfcb55dc786a243e529f88ea003539e8d0535a9d82aecf75aa258ea2cef92acf218b30c7ec7593159832c8887734c6e4251ee663271c9db54494b76320970
@@ -4,15 +4,15 @@ require_dependency 'tramway/sport_school/application_controller'
4
4
 
5
5
  class Tramway::SportSchool::Web::WelcomeController < ::Tramway::SportSchool::ApplicationController
6
6
  def index
7
- @kind_sports = ::Tramway::SportSchool::KindSport.active.published.map { |k| ::Tramway::SportSchool::Features::KindSportDecorator.new k }
8
- @documents = ::Tramway::SportSchool::Document.active.published
9
- @trainers = ::Tramway::SportSchool::Trainer.active.published.map { |t| ::Tramway::SportSchool::Cards::TrainerDecorator.new t }
7
+ @kind_sports = ::Tramway::SportSchool::KindSport.published.map { |k| ::Tramway::SportSchool::Features::KindSportDecorator.new k }
8
+ @documents = ::Tramway::SportSchool::Document.published
9
+ @trainers = ::Tramway::SportSchool::Trainer.published.map { |t| ::Tramway::SportSchool::Cards::TrainerDecorator.new t }
10
10
  @institution = ::Tramway::SportSchool::Institution.includes(:social_networks).first
11
11
  blocks = ::Tramway::Landing::Block.on_main_page
12
12
  @links = ::Tramway::Landing::BlockLinkDecorator.decorate blocks.with_navbar_link
13
13
  @blocks = ::Tramway::Landing::BlockDecorator.decorate blocks
14
14
  @organizations = ::Tramway::SportSchool::Organization.published
15
- @news = ::Tramway::News::News.active.last(3).reverse.map { |t| ::Tramway::Landing::Cards::NewsDecorator.new t }
15
+ @news = ::Tramway::News::News.last(3).reverse.map { |t| ::Tramway::Landing::Cards::NewsDecorator.new t }
16
16
  @education_documents = ::Tramway::SportSchool::Document.published.education.map { |t| ::Tramway::SportSchool::Cards::DocumentDecorator.new t }
17
17
  @school_info_documents = ::Tramway::SportSchool::Document.published.school_info.map { |t| ::Tramway::SportSchool::Cards::DocumentDecorator.new t }
18
18
  @provision_documents = ::Tramway::SportSchool::Document.published.provision.map { |t| ::Tramway::SportSchool::Cards::DocumentDecorator.new t }
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Tramway
4
4
  module SportSchool
5
- VERSION = '1.2.12.5'
5
+ VERSION = '1.2.12.6'
6
6
  end
7
7
  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.12.5
4
+ version: 1.2.12.6
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-05-28 00:00:00.000000000 Z
11
+ date: 2021-12-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pg
@@ -122,7 +122,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
122
122
  - !ruby/object:Gem::Version
123
123
  version: '0'
124
124
  requirements: []
125
- rubygems_version: 3.1.2
125
+ rubygems_version: 3.0.3.1
126
126
  signing_key:
127
127
  specification_version: 4
128
128
  summary: Engine for Sport School web sites