>>>>>>>>>>>>>> This breaks the API. <<<<<<<<<<<<<<<<<<<<<<<<<<
authorBenjamin Mako Hill <mako@atdot.cc>
Sat, 18 Aug 2007 00:00:04 +0000 (00:00 +0000)
committerBenjamin Mako Hill <mako@atdot.cc>
Sat, 18 Aug 2007 00:00:04 +0000 (00:00 +0000)
Refactored the commits added by Joe Slag to return the full lists of
candidates.

In Joe's code, the full list of candidates were associated with the vote
objects which didn't make sense since they are really part of results.
I've gone ahead and reimplented this. It does mean that the API has
changed. In the old version, you would get a ranked list of candidates
by using:

  vote_object.results

You now get it by doing:

  result_object.ranked_candidates
  vote_object.result.ranked_candidates

>>>>>>>>>>>>>> This breaks the API. <<<<<<<<<<<<<<<<<<<<<<<<<<

git-svn-id: svn://rubyforge.org/var/svn/rubyvote/trunk@46 1440c7f4-e209-0410-9a04-881b5eb134a8


No differences found

Benjamin Mako Hill || Want to submit a patch?