tramway-sport_school 1.2.10 → 1.2.10.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/forms/tramway/sport_school/document_form.rb +4 -4
- data/app/forms/tramway/sport_school/institution_form.rb +10 -10
- data/app/forms/tramway/sport_school/kind_sport_form.rb +3 -3
- data/app/forms/tramway/sport_school/organization_form.rb +8 -8
- data/app/forms/tramway/sport_school/trainer_form.rb +9 -9
- 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: d48c8e6188d7547f1af70755570b6de7c192f70a6a0cdb46c3f814b406399c35
|
4
|
+
data.tar.gz: 31cdd0f87b5f071ebff8402ffe924944a84f0df4ff0d26cdeae3a73eeccf18de
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: da3cf574fd5ee125593b29c79d8c0c8e5e95e9e932ca17f47b6b044b1a68cca70f73ddab6694fa5125207ed58f5230aedac1dabd726cf089748650d6c13e9533
|
7
|
+
data.tar.gz: 832dedecda4002433ef88d626c4b53cb00ea9153a87ac885eaec6da3b5775bc1e826f83cc4ed0e6fec581c445d9c8d78426dbbc715dbb596b1776b122f1ce7b3
|
@@ -1,11 +1,11 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
class Tramway::SportSchool::DocumentForm < ::Tramway::Core::ApplicationForm
|
4
|
-
properties :title, :file, :
|
4
|
+
properties :title, :file, :view_state_event, :document_type
|
5
5
|
|
6
6
|
def initialize(object)
|
7
|
-
|
8
|
-
|
9
|
-
|
7
|
+
super(object).tap do
|
8
|
+
form_properties title: :string, file: :file, document_type: :default
|
9
|
+
end
|
10
10
|
end
|
11
11
|
end
|
@@ -4,15 +4,15 @@ class Tramway::SportSchool::InstitutionForm < ::Tramway::Core::ApplicationForm
|
|
4
4
|
properties :title, :tagline, :logo, :state, :phone, :address, :longtitude, :latitude, :url, :found_date
|
5
5
|
|
6
6
|
def initialize(object)
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
7
|
+
super(object).tap do
|
8
|
+
form_properties title: :string,
|
9
|
+
tagline: :string,
|
10
|
+
phone: :string,
|
11
|
+
address: :string,
|
12
|
+
latitude: :string,
|
13
|
+
longtitude: :string,
|
14
|
+
url: :string,
|
15
|
+
found_date: :date_picker
|
16
|
+
end
|
17
17
|
end
|
18
18
|
end
|
@@ -4,8 +4,8 @@ class Tramway::SportSchool::KindSportForm < ::Tramway::Core::ApplicationForm
|
|
4
4
|
properties :title, :view_state, :image, :description
|
5
5
|
|
6
6
|
def initialize(object)
|
7
|
-
|
8
|
-
|
9
|
-
|
7
|
+
super(object).tap do
|
8
|
+
form_properties title: :string, image: :file, description: :default
|
9
|
+
end
|
10
10
|
end
|
11
11
|
end
|
@@ -1,15 +1,15 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
class Tramway::SportSchool::OrganizationForm < ::Tramway::Core::ApplicationForm
|
4
|
-
properties :title, :description, :logo, :organization_type, :state, :
|
4
|
+
properties :title, :description, :logo, :organization_type, :state, :view_state_event, :link
|
5
5
|
|
6
6
|
def initialize(object)
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
7
|
+
super(object).tap do
|
8
|
+
form_properties title: :string,
|
9
|
+
description: :default,
|
10
|
+
organization_type: :default,
|
11
|
+
logo: :file,
|
12
|
+
link: :string
|
13
|
+
end
|
14
14
|
end
|
15
15
|
end
|
@@ -1,16 +1,16 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
class Tramway::SportSchool::TrainerForm < ::Tramway::Core::ApplicationForm
|
4
|
-
properties :first_name, :last_name, :patronymic, :photo, :degree, :
|
4
|
+
properties :first_name, :last_name, :patronymic, :photo, :degree, :view_state_event, :description
|
5
5
|
|
6
6
|
def initialize(object)
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
7
|
+
super(object).tap do
|
8
|
+
form_properties first_name: :string,
|
9
|
+
last_name: :string,
|
10
|
+
patronymic: :string,
|
11
|
+
photo: :file,
|
12
|
+
degree: :default,
|
13
|
+
description: :text
|
14
|
+
end
|
15
15
|
end
|
16
16
|
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.10
|
4
|
+
version: 1.2.10.1
|
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-01-
|
11
|
+
date: 2020-01-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pg
|