hackathon_manager 0.13.2 → 0.13.3

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: 7496dfde19a105b82b8ad9ed044127c612d9edeffe215d8aaca871cb9542fa65
4
- data.tar.gz: 2beec10c47c9e6e2bf5df5f8310414c100a784bb11195c5bea90f8b1fcebfc4c
3
+ metadata.gz: c58a704ae8b7dbe7c60e7d346291e843a41dccddcb599f14f45fe7ffa314b7f0
4
+ data.tar.gz: 724aa46d5d2daa6ede4cfca4418c52be743efa49d5104792887b0f8afe34ab20
5
5
  SHA512:
6
- metadata.gz: 3f28ad43a041257be5a9fd335ca7855d89b4a66bddacd732459587c8c13e49d4f00800eaee3b724942e70100bafc6019ece1f014fedca4a972a0548c00703dcb
7
- data.tar.gz: '09e7f61155f287b0432fde7255d3065c60efa8565ffecb653bf1a507b5e56f8c7125e36c70773d4812f95a7c7cd6de822405a2d7dc3280596c58c2a07605f8d7'
6
+ metadata.gz: 345caf9ec10d34970e60c16df519473d97f0c3150bb975fab263b7f729255e63337d625d24cc053d7631c093cb24ea2f7b9218e3d3263403f3b3088a5feabf10
7
+ data.tar.gz: 29ae8d5e018acc37da83ea02047d1d849b156cd5b98a865ab4c8cc89ad19dd10c0d92c196dff8fc53035be5e39f3cc9301c17808920407700af88baedff1069e
@@ -27,9 +27,10 @@
27
27
  = link_to(school.name, manage_school_path(school))
28
28
  %br
29
29
  %small.text-muted
30
+ - riding = @bus_list.passengers.where(school_id: school.id).count
31
+ - no_bus = school.questionnaires.where(acc_status: 'rsvp_confirmed').count - riding
30
32
  - accepted = school.questionnaires.where(acc_status: 'accepted').count
31
- - no_bus = school.questionnaires.where(acc_status: 'rsvp_confirmed', bus_list_id: nil).count
32
- #{accepted} yet to RSVP, #{no_bus} attending but not using bus
33
+ #{riding} passengers, #{no_bus} attending but not riding bus, #{accepted} yet to RSVP
33
34
 
34
35
  .col-lg-6
35
36
  %h4.border-bottom.pb-2.mb-3 Bus Notes
@@ -1,3 +1,3 @@
1
1
  module HackathonManager
2
- VERSION = '0.13.2'.freeze
2
+ VERSION = '0.13.3'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hackathon_manager
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.2
4
+ version: 0.13.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stuart Olivera
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-01-25 00:00:00.000000000 Z
11
+ date: 2019-01-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails