voteable_vanrails 0.0.1 → 0.0.2

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_vanrails.rb +2 -2
  2. metadata +1 -1
@@ -1,8 +1,8 @@
1
- module VoteableVanrails
1
+ module Voteable
2
2
  extend ActiveSupport::Concern
3
3
 
4
4
  included do
5
- has_many :votes, as: voteable
5
+ has_many :votes, as: :voteable
6
6
  end
7
7
 
8
8
  def total_votes
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: voteable_vanrails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: