tramway-event 1.9.27 → 1.9.27.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 239e3ac28e3f32df2fa85cb6a245b42d482a353ba98ef1a4229820414f79681c
|
|
4
|
+
data.tar.gz: a5b78651c18e57179fa3777002c562b7e34df12e8ce50a7d576472f03cc7dd63
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2a68fc9b0b98670ea2c4f8afab3e53ea55cc45cf0ccba48085dce06285fd3bfd85a8d1a332c33021ec0bb9e8f3b7a67ca6a561a458725848bc43538ac677a204
|
|
7
|
+
data.tar.gz: 916d2f6349c945085ec32d6219f73c04d8080a87778d120572a1262815b2a6a46e4092cab6f5feef87019b8482f3151288558aef3f69098ce58d5fa1a2a8b786
|
|
@@ -74,8 +74,8 @@ class Tramway::Event::EventDecorator < ::Tramway::Core::ApplicationDecorator
|
|
|
74
74
|
|
|
75
75
|
def events_link
|
|
76
76
|
event_link = Tramway::Event::Engine.routes.url_helpers.event_path object
|
|
77
|
-
event_url = ['molodoy.online', event_link].join
|
|
78
|
-
content_tag(:
|
|
77
|
+
event_url = ['http://molodoy.online', event_link].join
|
|
78
|
+
content_tag(:pre) do
|
|
79
79
|
id = "event#{object.id}"
|
|
80
80
|
concat link_to event_url, event_url, id: id
|
|
81
81
|
concat copy_to_clipboard id
|
|
@@ -18,6 +18,7 @@ class Tramway::Event::ParticipantFormFieldForm < ::Tramway::Core::ExtendedApplic
|
|
|
18
18
|
|
|
19
19
|
def submit(params)
|
|
20
20
|
super(params).tap do
|
|
21
|
+
model.options = {} if model.options == ''
|
|
21
22
|
model.options&.merge! list_field: (params[:list_field] == '1').to_s
|
|
22
23
|
model.save
|
|
23
24
|
end
|
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.9.27
|
|
4
|
+
version: 1.9.27.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-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: Rails engine for events
|
|
14
14
|
email:
|