tramway-event 1.8.5 → 1.8.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/decorators/tramway/event/partaking_feature_decorator.rb +4 -0
- data/app/forms/tramway/event/person_form.rb +3 -2
- data/lib/tramway/event/generators/install_generator.rb +2 -1
- data/lib/tramway/event/generators/templates/add_description_to_tramway_event_people.rb +5 -0
- data/lib/tramway/event/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dcf9a40307340af1bf8a365b3c10fec72513ece02ff6230b56c17b8adf25fc32
|
4
|
+
data.tar.gz: b2701f002905ded09b693b4544f75dc090c4b3de6c199644df8c9f29fd8ab8cd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5240099a929df8a4805e61a9b6bc40fa375aac570dae399581de4b660989ee2343d685471dd2e12f3062e1f371f79724ec7fa8bdf13d6780be953baab67f437e
|
7
|
+
data.tar.gz: 6b47424bef617f6dbc7b0b049aee550447dec6413c93c408403ce098e1a39b1823583038f1c2f730eb5f0df4e7aebe84b07a6f1e424a11033596ddcc65464833
|
@@ -1,11 +1,12 @@
|
|
1
1
|
class Tramway::Event::PersonForm < ::Tramway::Core::ApplicationForm
|
2
|
-
properties :first_name, :last_name, :photo
|
2
|
+
properties :first_name, :last_name, :photo, :description
|
3
3
|
|
4
4
|
def initialize(object)
|
5
5
|
super(object).tap do
|
6
6
|
form_properties first_name: :string,
|
7
7
|
last_name: :string,
|
8
|
-
photo: :file
|
8
|
+
photo: :file,
|
9
|
+
description: :ckeditor
|
9
10
|
end
|
10
11
|
end
|
11
12
|
end
|
@@ -39,7 +39,8 @@ module Tramway::Event::Generators
|
|
39
39
|
# NOTE must be removed until tramway-event 2.0
|
40
40
|
:rebuild_association_between_participant_and_partakings_to_polymorphic,
|
41
41
|
|
42
|
-
:add_request_period_to_tramway_event_events
|
42
|
+
:add_request_period_to_tramway_event_events,
|
43
|
+
:add_description_to_tramway_event_people
|
43
44
|
]
|
44
45
|
migrations.each do |migration|
|
45
46
|
migration_template "#{migration}.rb", "db/migrate/#{migration}.rb"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tramway-event
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.8.
|
4
|
+
version: 1.8.6
|
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-
|
11
|
+
date: 2018-11-01 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Rails engine for events
|
14
14
|
email:
|
@@ -68,6 +68,7 @@ files:
|
|
68
68
|
- lib/tramway/event.rb
|
69
69
|
- lib/tramway/event/engine.rb
|
70
70
|
- lib/tramway/event/generators/install_generator.rb
|
71
|
+
- lib/tramway/event/generators/templates/add_description_to_tramway_event_people.rb
|
71
72
|
- lib/tramway/event/generators/templates/add_icon_to_tramway_event_sections.rb
|
72
73
|
- lib/tramway/event/generators/templates/add_more_fields_to_tramway_event_participants.rb
|
73
74
|
- lib/tramway/event/generators/templates/add_options_to_tramway_event_participant_form_fields.rb
|