holman/play — pull request #94 by joeyw (2012-02-12 04:08:55+00:00)
Title: Next use pusher instead of websockets

I wasn't sure how you wanted to wire up pusher so instead of adding a bunch of stuff everywhere in the app I wired it up similar to bin/clean. This gets it started though.

This commit replaces websockets as the means of updating
whats playing right now in the web client.

GEMFILE changes
'eventmachine' removed
'pusher' added

bin/realtime replaces realtime.rb which previously updated
now_playing via websockets. It has been setup to run in a similar
mannar as bin/clean.

Play.yml has new config options for pusherapp.com api credentials
for pusher.

pusher_app_id: __PUSHER_APP_ID__
pusher_key: __PUSHER_KEY__
pusher_secret: __PUSHER_SECRET__