barmstrong/ribbot — pull request #8 by 3aHyga (2012-06-28 12:07:12+00:00)
Title: 4 new abilitites to the ribbot

Hello

I've added 4 abilitites to the ribbot:
- to sign-in via Facebook;
- to link at the user table of owners to user's posts;
- to edit a user account ability to superusers;
- to promote (set level 0) and disrank (set level 10) users in participation table of forums.

To sign in via Facebook the user must pass special ENV variables similar this:
# FACEBOOK_KEY=############# FACEBOOK_SECRET=########################## script/rails s -e development
or
# FACEBOOK_KEY=############# FACEBOOK_SECRET=########################## unicorn_rails -c config/unicorn.rb -E production -D

If user omit the ENV vars, the ability will be disabled.