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 +4 -4
- data/app/forms/tramway/conference/unity_form.rb +4 -2
- data/config/locales/models.yml +2 -2
- data/lib/tramway/conference/generates/install_generator.rb +6 -1
- data/lib/tramway/conference/generates/templates/add_found_date_to_tramway_conference_unities.rb +5 -0
- data/lib/tramway/conference/generates/templates/add_url_to_tramway_conference_unities.rb +5 -0
- data/lib/tramway/conference/version.rb +1 -1
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ab1f4389afe486fe9776ff5a1a8eeb34b969ab1b696dd564ab84bf9256be04bf
|
4
|
+
data.tar.gz: 6647addc8c1632808f3a856b01af1519d5112392d69cff851f62aa980077ed25
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
data/config/locales/models.yml
CHANGED
@@ -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
|
-
|
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
|
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.
|
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-
|
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
|