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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 05dfb40f3081f9e6cf6e42ef5c2f0c374235ec491510682bb5bde27e9b1319e7
4
- data.tar.gz: ce8e86d7b2c13e557b5d38f7d79d4f462c1577506b6fd88452359b8299d0d2ee
3
+ metadata.gz: d48c8e6188d7547f1af70755570b6de7c192f70a6a0cdb46c3f814b406399c35
4
+ data.tar.gz: 31cdd0f87b5f071ebff8402ffe924944a84f0df4ff0d26cdeae3a73eeccf18de
5
5
  SHA512:
6
- metadata.gz: b01839db199f1e5c4e8961746f91688450b6f1380851a6dd75b5ee74c37a56888f33c074523be346852acedd34959f568ad913565df4ce6c7eb51d12a7075609
7
- data.tar.gz: '092feb533e21658138270db8fe20fee04376e507f57ceb6adaf7c05cf2c045e8e419cf99e4357be5b0c046316a16fb48b5fbb55c9bc19b695bbbf6178d7fd0b6'
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, :view_state, :document_type
4
+ properties :title, :file, :view_state_event, :document_type
5
5
 
6
6
  def initialize(object)
7
- form_object = super object
8
- form_properties title: :string, file: :file, document_type: :default
9
- form_object
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
- form_object = super object
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
- form_object
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
- form_object = super object
8
- form_properties title: :string, image: :file, description: :default
9
- form_object
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, :view_state, :link
4
+ properties :title, :description, :logo, :organization_type, :state, :view_state_event, :link
5
5
 
6
6
  def initialize(object)
7
- form_object = super object
8
- form_properties title: :string,
9
- description: :default,
10
- organization_type: :default,
11
- logo: :file,
12
- link: :string
13
- form_object
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, :view_state, :description
4
+ properties :first_name, :last_name, :patronymic, :photo, :degree, :view_state_event, :description
5
5
 
6
6
  def initialize(object)
7
- form_object = super object
8
- form_properties first_name: :string,
9
- last_name: :string,
10
- patronymic: :string,
11
- photo: :file,
12
- degree: :default,
13
- description: :text
14
- form_object
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
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Tramway
4
4
  module SportSchool
5
- VERSION = '1.2.10'
5
+ VERSION = '1.2.10.1'
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.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-22 00:00:00.000000000 Z
11
+ date: 2020-01-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pg