tramway-event 1.11.4.1 → 1.11.5

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: a0674dd966cc5ac9d44ffdf58d117cf1288d5d86b72613ecefeba1f11fb3fe93
4
- data.tar.gz: e4d6e8a4a2c9ea6d804d789c93c9975498b3375f6cd57b1af7fe28b7d4f068bf
3
+ metadata.gz: 1c5f1e0839a5b8e680d3cf1a51ba47326965faba7c4ed4cc07a07d1ac300214e
4
+ data.tar.gz: e79972b0a0b14f085509c5473125cf490e2378192671599443a909f120690a2f
5
5
  SHA512:
6
- metadata.gz: 4a51bdd0dfa3cb6eb6b7572f32f088befe95cd706e8f95df894f52433bbd433c54208361f8d75cf2d8903d9f9966290602f5776a769ff169f9d9a38128308afc
7
- data.tar.gz: 2ea5a5d2f5d831d0e7b33974cf7167bdcb27016da4d84b4b5239eb1290ad02af25d81450397fd538db84e92b434855d0001fcfab661fbd9b9a6c7b5f59c2a810
6
+ metadata.gz: 6a2180b467bfd2b4e9a83f14087be62eef98c561e85f8311b80b7aee2225bd66f3fbab65919069a78d4070c04be4b3cbf87247d3914574ce9802098a3140502b
7
+ data.tar.gz: 5b0481756eece49cec590970de80dbbcc459fedd314b5d4033ce88d3759b47e3d4c3633f652d67687f3b0ff7e77b73bc7d6509366b2486898c1c8e946a03ed5c
@@ -20,7 +20,7 @@ class Tramway::Event::ParticipantXlsDecorator < Tramway::Export::Xls::Applicatio
20
20
  end
21
21
 
22
22
  def flexible_columns
23
- object.values&.keys&.map do |key|
23
+ object.event.participant_form_fields.active.order(position: :asc).map(&:title).map do |key|
24
24
  { Tramway::Event::Participant.human_attribute_name(key).to_sym => -> { values&.dig(key) } }
25
25
  end
26
26
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Tramway
4
4
  module Event
5
- VERSION = '1.11.4.1'
5
+ VERSION = '1.11.5'
6
6
  end
7
7
  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.11.4.1
4
+ version: 1.11.5
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-03-16 00:00:00.000000000 Z
11
+ date: 2020-03-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: configus