X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/fcc68b4dc198b7cb0cf93467d96038b0844675fe..a8006b0bf9687f8882c3073eca2e8b4ebc7cde4a:/config/environment.rb?ds=inline diff --git a/config/environment.rb b/config/environment.rb index ba92734..571638d 100644 --- a/config/environment.rb +++ b/config/environment.rb @@ -63,8 +63,11 @@ MAIL_CONFIG = { :from => 'Selectricity '} require 'uniq_token' require 'randarray' -require 'rubyvote' require 'gruff' +require 'sparklines' + +require 'rubyvote' +ELECTION_TYPES = %w(ssd plurality approval condorcet borda) class String # alternate capitalization method that does not lowercase the rest of