Sha256: 78efef4a66826d57134d280f5355483612a3c3c14f9373417a8a94acaf65b38f

Contents?: true

Size: 1.83 KB

Versions: 1

Compression:

Stored size: 1.83 KB

Contents

== 0.7.3
  * Add :return_votee => true option to vote function to warranty always return voteable object
  * Add Voteable.voted?, Voteable.up_voted?, Voteable.down_voted?
  * Update parent for ManyToMany relationship
  * Refactor
  
== 0.7.2
  * Use Collection#find_and_modify to retrieve updated votes data and parent_ids (don't need an extra query to get parent_ids)

== 0.7.1
  * Add votee#voted_by?(voter or voter_id)
  * Better doc
  * Refactor & cleanup source code

== 0.7.0
  * Use readable field names (up, down, up_count, down_count, count, point) instead of very short field names (u, d, uc, dc, c, p)

== 0.6.4
  * Drop Voter#votees, Voter#up_votees, Voter#down_votees in favor of Voteable#voted_by(voter), Voteable#up_voted_by(voter), Voteable#down_voted_by(voter) scopes

== 0.6.3
  * Add rake db:mongoid:voteable:migrate_old_votes to migrate vote data created by version < 0.6.0 to new vote data storage

== 0.6.2
  * Fix bug: use before_create instead of after_after_initialize

== 0.6.1
  * Set counters and point to 0 for uninitialized voteable objects in order sort and query

== 0.6.0
  * Minimize vote data store (using short field names votes.u, votes.d, votes.c ...)
  * Add Voter#up_votees, Voter#down_votees
  * Remove index and scope from statistic module. User have to add indexes and scopes manually (see https://github.com/vinova/simple_qa/blob/master/app/models/question.rb)
  * Bug fixes

== 0.5.0
  * Rename vote_point to voteable

== 0.4.5
  * Can use rake db:mongoid:voteable:remake_stats in Rails apps
  * Use mongoid 2.0.0

== 0.4.4
  * Add up_votes_count, down_votes_count
  * Re-generate vote statistic data (counters and point)

== 0.4.3
  * Wrap vote data in voteable namespace (voteable.up_voters_id, voteable.down_voters_ids, voteable.votes_count ...)

== 0.4.2
  * Bug fixes

== 0.4.0
  * Can unvote

== 0.3.5
  * Use mongoid 2.0.0.rc

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
voteable_mongoid-0.7.3 CHANGELOG.rdoc