effective_polls 0.6.1 → 0.6.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: 6f0bb62aded7cf4461b6ac474f751db47c9709b0079e39ebfced3aac50327beb
4
- data.tar.gz: 43c9c7448edee9b0ec1d913187bd28f28c7ca9222494a13f34790ce66f36d40d
3
+ metadata.gz: ef6b14276ec4d44a44936aff57b9cc1f933a08f88406551d6424ded7f70ff37f
4
+ data.tar.gz: d1b6619c056f9d702eab75a3f17fa6227edd8c3386864653d5fc9ce19e7edfa2
5
5
  SHA512:
6
- metadata.gz: 911327063e49263e213ff7a35243a655e955eacbb9c37d432c9677ab2fc96e2b49066bef2514bd13351c8902691f086e4c00c2f33fed9890223fb3499889fc27
7
- data.tar.gz: 8bb1b75e904a57867e0f0392be9e8f897c81a9b528f41cc7814f3f99feca0be06503ab0f5b8fd0ca8e2266a974c9722520e2c39b6c5a53cec14661e4750cff5c
6
+ metadata.gz: deada936517080769fc4c1ccfd8f7d91359116c3ce2ee92c3d195fb6d4aabe681cf292a960c24b46efd2d96c8bc220113ae2a88e18aa44677eacb86eb31c9add
7
+ data.tar.gz: a95e7c178730c0ee8f495a51ecc68c8d62d3d76669debc0e0f19c0c3ba21144e771da3a74e616cac3b71051c9bfbba9fd657fe3fb08fc3979219a3aa506a8d8a
@@ -1,5 +1,5 @@
1
1
  -# In progress ballot
2
- - ballot = Effective::Ballot.in_progress.where(user: current_user).first
2
+ - ballot = Effective::Ballot.in_progress.where(user: current_user).select { |ballot| ballot.poll.present? }.first
3
3
  - datatable = EffectiveResources.best('EffectivePollsAvailablePollsDatatable').new(self, namespace: :effective)
4
4
 
5
5
  - if ballot.present?
@@ -1,3 +1,3 @@
1
1
  module EffectivePolls
2
- VERSION = '0.6.1'
2
+ VERSION = '0.6.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_polls
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.1
4
+ version: 0.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect