tramway-event 1.10.0.1 → 1.10.0.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: 94be4aa2b3d228cdb652c1f12756a5b0c69b772969905043ff3b2946a1baac3e
4
- data.tar.gz: 2a6cf0e2b8af18012ef0fbf683d1a673d73de4c19e66209f7975c9ffc815257e
3
+ metadata.gz: 0b841d056f385e8a5ddf3ef86bcb097333a2027a7587fcd524364f326cc22b39
4
+ data.tar.gz: 8eb206387dd0ec9c93f5228e3e9b134ce726611838414d8b8e43feb2abd4c99a
5
5
  SHA512:
6
- metadata.gz: d775ec815b6fb48533b93d8d817d1810e122868000817b02f9346b39b657968fb3bcdde12bdc46a1d2bbcda340a7c0e1a64697df3b7e4ddb154e1c476217244c
7
- data.tar.gz: d2965276b5611f43ac24efcc9a9f9890ced35ee7ca6a201fc7ee97657d0b10500db4f35e1a3fd82e3bac2dfffd0b745647979b68c042683285afd1dd1ff381ad
6
+ metadata.gz: 62dacb6c653d864c7ef080107be261f274818f75202e3fab1243db4922b38a342e4a99b160504f084079cf53d33942f33160fab479ada5e9c1aef6d2ee954aca
7
+ data.tar.gz: 07fb703824dc433a4f96ba9b96ccb9d8a4413bef0cb96f0a7e34ed31396db40f87c50bbace239f8af605b397a88dd32e640a75726816c725a69839dd7f9abba8
@@ -91,7 +91,7 @@ class Tramway::Event::EventDecorator < ::Tramway::Core::ApplicationDecorator
91
91
  end
92
92
 
93
93
  def requested_participants
94
- object.participants.count
94
+ object.participants.active.count
95
95
  end
96
96
 
97
97
  def approved_participants
@@ -8,4 +8,4 @@
8
8
  = f.input :event_id, as: :hidden, input_html: { value: event.id, class: class_name, id: "#{class_name}_event_id", name: "#{class_name}[event_id]" }
9
9
  - event.participant_form_fields.inputs_list.each do |field|
10
10
  = render 'tramway/core/shared/input_extended', field: field, class_name: class_name, f: f
11
- = f.button :submit, t('.submit_form')
11
+ = f.button :submit, t('.submit_form')
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Tramway
4
4
  module Event
5
- VERSION = '1.10.0.1'
5
+ VERSION = '1.10.0.2'
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.10.0.1
4
+ version: 1.10.0.2
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-02-27 00:00:00.000000000 Z
11
+ date: 2020-03-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: configus