voteable-ism 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/voteable-ism.rb +1 -1
  2. metadata +1 -1
@@ -9,7 +9,7 @@ module VoteableIsm
9
9
 
10
10
  module InstanceMethods
11
11
  def total_votes
12
- self.votes.where(vote: true).size - self.votes.where(votes: false).size
12
+ self.votes.where(vote: true).size - self.votes.where(vote: false).size
13
13
  end
14
14
 
15
15
  def generate_slug
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: voteable-ism
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: