voteable_yl 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/voteable.rb +1 -1
  3. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bfc482d634c2de40809191b721fd327020b8a801
4
- data.tar.gz: 3a8c297df1705a919a8f292d0a80b656229449d2
3
+ metadata.gz: 35b24b1453127500b114e116b690406bdf00f433
4
+ data.tar.gz: aac294b5167ec0d5fe58f99601f545a09dc3784c
5
5
  SHA512:
6
- metadata.gz: 4950185b08300f4025f28501e6f21a936f6e7c98d35f58104c4d1947b915d39492ae1220568a85f0ccbf0dcd054ceae9be421a2ff9b5d039d282ad1f32741a75
7
- data.tar.gz: 700ce11481ebe092e6f0d17205e408526cf79a4a53d28fef94af51c21348c9bd17ca5faba7b7a2cb6f821d2011120ed8e8a18ae494c26953c9df93b0569a8dea
6
+ metadata.gz: 5c0b302789c14b39139e8d58163b902b75752963b5c8a9c032c185cfab31be3798d3281deb8544993e061bc0d8e042382ab2eb80e6fdae08179a0a610815e098
7
+ data.tar.gz: 6dd6bfbf95a0087704c37b32423da7ca5bb3f8294fd221a066ad0922fe561b99ceb4c2c0767a38dafa0c890935daf2860d4ea4cefe61129cb8e8b06cc788b2bc
@@ -2,7 +2,7 @@ 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_yl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - lushunshun
@@ -10,7 +10,7 @@ bindir: bin
10
10
  cert_chain: []
11
11
  date: 2014-06-18 00:00:00.000000000 Z
12
12
  dependencies: []
13
- description: A voting gem
13
+ description: Fixed the incorrect association name issue
14
14
  email: lu.shunshun@gmail.com
15
15
  executables: []
16
16
  extensions: []
@@ -39,5 +39,5 @@ rubyforge_project:
39
39
  rubygems_version: 2.2.2
40
40
  signing_key:
41
41
  specification_version: 4
42
- summary: whatever
42
+ summary: Voteable gem
43
43
  test_files: []