Major update of Selectricity to work with Rails 2.2.2 from 1.2!
author<mako@atdot.cc> <>
Fri, 28 Nov 2008 18:35:26 +0000 (13:35 -0500)
committer<mako@atdot.cc> <>
Fri, 28 Nov 2008 18:35:26 +0000 (13:35 -0500)
commitad088c1324d08a65f6f5336bedf7a88a8a8950e7
treee915bf3896c4762038795ffc8d6cdd254efc4041
parent05ebed925ae2b5e7bf2a599536ba7d7ac15ffbf7
Major update of Selectricity to work with Rails 2.2.2 from 1.2!

This included a large number of changes:

- removal of randarray.rb (features are not in the new version or ruby)
- removal of sparklines plugin and replacement with gemified version of
  sparklines and sparklines_generator
- addition of act_as_list plugin which is no longer in rails
- disabling of all API code because action_web_service is deprecated in
  favor of active_resource (!!!!)
- large number of miscellaneous updates to do the new rails 2ish

I've commented out the new features in the views (i.e., embedded) as
this is going to replace the LIVE version of Selectricity. We should
then test this well, slowly enable the new features, and get the tests i
old_api_code back work with an active_resource interface.
50 files changed:
app/controllers/election_controller.rb
app/controllers/quickvote_controller.rb
app/controllers/sparklines_controller.rb
app/controllers/voter_controller.rb
app/helpers/front_helper.rb [deleted file]
app/helpers/sparklines_helper.rb [moved from vendor/plugins/sparklines/lib/sparklines_helper.rb with 55% similarity]
app/models/vote.rb
app/views/common/_methodinfo_condorcet.rhtml
app/views/common/_methodinfo_ssd.rhtml
app/views/common/pref_tables.rhtml
app/views/election/_overview_form.rhtml
app/views/election/_theme_upload.rhtml
app/views/election/detailed_results.rhtml
app/views/election/general_information.rhtml
app/views/layouts/basic.rhtml
app/views/layouts/frontpage.rhtml
app/views/layouts/main.rhtml
app/views/quickvote/_results_sidebar.rhtml
app/views/voter/_results_sidebar.rhtml
config/boot.rb
config/environment.rb
config/environments/development.rb
db/schema.rb
lib/randarray.rb [deleted file]
lib/tasks/rails.rake [new file with mode: 0644]
old_api_code/apis/selectricity_api.rb [moved from app/apis/selectricity_api.rb with 100% similarity]
old_api_code/graph_controller_test.rb [moved from test/functional/graph_controller_test.rb with 100% similarity]
old_api_code/selectricity_service.rb [moved from app/models/selectricity_service.rb with 100% similarity]
old_api_code/selectricity_service_controller.rb [moved from app/controllers/selectricity_service_controller.rb with 100% similarity]
old_api_code/selectricityservice_test.rb [moved from test/unit/selectricityservice_test.rb with 100% similarity]
public/javascripts/controls.js
public/javascripts/dragdrop.js
public/javascripts/effects.js
public/javascripts/prototype.js
script/dbconsole [new file with mode: 0755]
script/performance/request [new file with mode: 0755]
test/functional/sparklines_controller_test.rb [deleted file]
vendor/plugins/acts_as_list/README [new file with mode: 0644]
vendor/plugins/acts_as_list/init.rb [new file with mode: 0644]
vendor/plugins/acts_as_list/lib/active_record/acts/list.rb [new file with mode: 0644]
vendor/plugins/acts_as_list/test/list_test.rb [new file with mode: 0644]
vendor/plugins/sparklines/MIT-LICENSE [deleted file]
vendor/plugins/sparklines/README [deleted file]
vendor/plugins/sparklines/Rakefile [deleted file]
vendor/plugins/sparklines/about.yml [deleted file]
vendor/plugins/sparklines/generators/sparklines/sparklines_generator.rb [deleted file]
vendor/plugins/sparklines/generators/sparklines/templates/controller.rb [deleted file]
vendor/plugins/sparklines/generators/sparklines/templates/functional_test.rb [deleted file]
vendor/plugins/sparklines/init.rb [deleted file]
vendor/plugins/sparklines/lib/sparklines.rb [deleted file]

Benjamin Mako Hill || Want to submit a patch?