tramway-conference 1.5.1 → 1.5.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: e5531ccf5d07d408b3727af1a02607e7e9bd349b6c2a8484643f762f67f2ade7
4
- data.tar.gz: 1a3afe51ff5b91cdaaea9e79a310015eddce24194efcd50d758e76fc266ae76f
3
+ metadata.gz: ab1f4389afe486fe9776ff5a1a8eeb34b969ab1b696dd564ab84bf9256be04bf
4
+ data.tar.gz: 6647addc8c1632808f3a856b01af1519d5112392d69cff851f62aa980077ed25
5
5
  SHA512:
6
- metadata.gz: e8d85cc7a8f091c662aa2c7623dab9c7046240b32369f21e9cbbc5385c0da2e0410b9caed5224341d4336b87c6aa7b8e5b54eeb2762717c2b52cbbf303703892
7
- data.tar.gz: e66eb33f96d8557229556555b6d7d9023d5daed4d7a88c535ffe5c5a38ac22879bd61b0d470e4166c9fc6aaad35a21e8115086cfc111729bce03e392a056ee17
6
+ metadata.gz: ed1674c43977571de1fc50be42be1ee3f93459b4de0720c253dd75270629176a08c3fac320d6d90027ee3e55e8657e7474c3dcc4b87e225193ea78335b29f13a
7
+ data.tar.gz: 24476ba065650e57f695ff790c1f6ed5f22f33adcf42067a7f698f5c9a5d3e523838820dd8405c4487367516526c913e3dca38eb24ab3380864a00ddb2d260f5
@@ -1,5 +1,5 @@
1
1
  class Tramway::Conference::UnityForm < ::Tramway::Core::ApplicationForm
2
- properties :title, :tagline, :logo, :state, :phone, :address, :longtitude, :latitude
2
+ properties :title, :tagline, :logo, :state, :phone, :address, :longtitude, :latitude, :url, :found_date
3
3
 
4
4
  def initialize(object)
5
5
  form_object = super object
@@ -8,7 +8,9 @@ class Tramway::Conference::UnityForm < ::Tramway::Core::ApplicationForm
8
8
  phone: :string,
9
9
  address: :string,
10
10
  latitude: :string,
11
- longtitude: :string
11
+ longtitude: :string,
12
+ url: :string,
13
+ found_date: :date_picker
12
14
  form_object
13
15
  end
14
16
  end
@@ -1,7 +1,7 @@
1
1
  ru:
2
2
  activerecord:
3
3
  models:
4
- tramway/conference/unity: Единство
4
+ tramway/conference/unity: Проект
5
5
  attributes:
6
6
  tramway/conference/unity:
7
7
  title: Название
@@ -11,4 +11,4 @@ ru:
11
11
  phone: Телефон
12
12
  cases:
13
13
  tramway/conference/unity:
14
- genitive: Единство
14
+ genitive: проект
@@ -19,7 +19,12 @@ module Tramway::Conference::Generators
19
19
  end
20
20
 
21
21
  def copy_migrations
22
- ["create_tramway_conference_unities"].each do |migration_name|
22
+ migrations = [
23
+ :create_tramway_conference_unities,
24
+ :add_url_to_tramway_conference_unities,
25
+ :add_found_date_to_tramway_conference_unities
26
+ ]
27
+ migrations.each do |migration_name|
23
28
  migration_template "#{migration_name}.rb", "db/migrate/#{migration_name}.rb"
24
29
  end
25
30
  end
@@ -0,0 +1,5 @@
1
+ class AddFoundDateToTramwayConferenceUnities < ActiveRecord::Migration[5.1]
2
+ def change
3
+ add_column :tramway_conference_unities, :found_date, :date
4
+ end
5
+ end
@@ -0,0 +1,5 @@
1
+ class AddUrlToTramwayConferenceUnities < ActiveRecord::Migration[5.1]
2
+ def change
3
+ add_column :tramway_conference_unities, :url, :text
4
+ end
5
+ end
@@ -1,5 +1,5 @@
1
1
  module Tramway
2
2
  module Conference
3
- VERSION = '1.5.1'
3
+ VERSION = '1.5.2'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tramway-conference
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.1
4
+ version: 1.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dmitry Korotin
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2018-09-25 00:00:00.000000000 Z
12
+ date: 2018-09-26 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Engine for Conference web sites
15
15
  email:
@@ -47,6 +47,8 @@ files:
47
47
  - lib/tramway/conference.rb
48
48
  - lib/tramway/conference/engine.rb
49
49
  - lib/tramway/conference/generates/install_generator.rb
50
+ - lib/tramway/conference/generates/templates/add_found_date_to_tramway_conference_unities.rb
51
+ - lib/tramway/conference/generates/templates/add_url_to_tramway_conference_unities.rb
50
52
  - lib/tramway/conference/generates/templates/create_tramway_conference_unities.rb
51
53
  - lib/tramway/conference/version.rb
52
54
  homepage: https://github.com/ulmic/tramway-conference