tramway-sport_school 1.1.3.1 → 1.1.3.2

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: b4dbb22f1ac61272eac826b00c83c4321538db0bf38c03880d76c2a3cc3c9479
4
- data.tar.gz: 9efe07de4533d10949d33ade1c05472d54b3a491352fdc220f4772c71fe2f6e1
3
+ metadata.gz: 886ee4188b0901440b48125c2b471289f2757d8532b6b679f0afa58208bd0acf
4
+ data.tar.gz: 2b5490955445f4c2ee376d65f078e121c53007decde0e5ce4fa2b2cd227b99a5
5
5
  SHA512:
6
- metadata.gz: 82bb717efdac9e68eadaa2eedbcb8d22763a2c431cc029d5fc7ed3b48df38f45ec76bfa5b52f2e183bfed99e45a7e3083d7cb31f7ac92df3873906c57528564e
7
- data.tar.gz: f368629baec84386653c79a71dce5f75d102f132b3a253909e01d528c7a6e4bc0e9830d5e6a46090c7ef5eb978e4c960721a6e524ca42e9006d445727286d026
6
+ metadata.gz: e1e3e476181e24de8155abc96edfa90c5c92e479a75f1e4631ffb2427386a5eb5039b9a1cd11aa2baa9902e5c35a69d16ce0d41431a16df40146aadcf8d41d9f
7
+ data.tar.gz: c42af4944aecb9046c48133cce93a1fad2d94ca91b058d3e52f7502de7d43f71d1178d4c35adc1d9758923e679100c94d5aa2097186466758c4bf272d6fe444f
@@ -17,8 +17,8 @@ module Tramway::SportSchool
17
17
  end
18
18
  end
19
19
 
20
- scope :published, -> { where view_state: :published }
21
- scope :hidden, -> { where view_state: :hidden }
20
+ scope :published, -> { active.where view_state: :published }
21
+ scope :hidden, -> { active.where view_state: :hidden }
22
22
 
23
23
  scope :education, -> { where document_type: :education }
24
24
  scope :school_info, -> { where document_type: :school_info }
@@ -15,7 +15,7 @@ module Tramway::SportSchool
15
15
  end
16
16
  end
17
17
 
18
- scope :published, -> { where view_state: :published }
19
- scope :hidden, -> { where view_state: :hidden }
18
+ scope :published, -> { active.where view_state: :published }
19
+ scope :hidden, -> { active.where view_state: :hidden }
20
20
  end
21
21
  end
@@ -16,6 +16,6 @@ class Tramway::SportSchool::Organization < ::Tramway::Core::ApplicationRecord
16
16
  end
17
17
  end
18
18
 
19
- scope :published, -> { where view_state: :published }
20
- scope :hidden, -> { where view_state: :hidden }
19
+ scope :published, -> { active.where view_state: :published }
20
+ scope :hidden, -> { active.where view_state: :hidden }
21
21
  end
@@ -17,7 +17,7 @@ module Tramway::SportSchool
17
17
  end
18
18
  end
19
19
 
20
- scope :published, -> { where view_state: :published }
21
- scope :hidden, -> { where view_state: :hidden }
20
+ scope :published, -> { active.where view_state: :published }
21
+ scope :hidden, -> { active.where view_state: :hidden }
22
22
  end
23
23
  end
@@ -8,6 +8,7 @@ ru:
8
8
  tramway/sport_school/kind_sport:
9
9
  view_state:
10
10
  states:
11
+ published: Отображаемый
11
12
  hidden: Скрытый
12
13
  events:
13
14
  publish: Показать на сайте
@@ -15,6 +16,7 @@ ru:
15
16
  tramway/sport_school/trainer:
16
17
  view_state:
17
18
  states:
19
+ published: Отображаемый
18
20
  hidden: Скрыт с сайта
19
21
  events:
20
22
  publish: Показать на сайте
@@ -22,6 +24,7 @@ ru:
22
24
  tramway/sport_school/document:
23
25
  view_state:
24
26
  states:
27
+ published: Отображаемый
25
28
  hidden: Скрыт с сайта
26
29
  events:
27
30
  publish: Показать на сайте
@@ -1,5 +1,5 @@
1
1
  module Tramway
2
2
  module SportSchool
3
- VERSION = '1.1.3.1'
3
+ VERSION = '1.1.3.2'
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.1.3.1
4
+ version: 1.1.3.2
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-01 00:00:00.000000000 Z
11
+ date: 2018-06-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pg