Updated to reflect correct SSL config
Updated to reflect correct SSL config
Merge pull request #88 from nikhilben/master

Updated docs for using Slanger with SSL.
Issue #84, modify api_server.rb to conform to new Pusher Rest API
Issue #84, support both REST endpoints, old: /apps/:app_id/channels/:channel_id/events, and new: /apps/:app_id/events
update deps
use sync normal trigger for debugging
do no try to subscribe from channels unsuccessfully subscribed to
api returns empty JSON hash. closes #91 #84
Display version in executable to aid debugging user issues in future. remove puts statement from bin/slanger
bump rack
clean up after webhook test
remove fiber from webhook. we do not use the request response anyway
add redis to travis config
rev gem
change rspec formatting
upgrade rspec and mocha
try to split tests that use mocks from those that do not for travis build. mocking makes the tests that depend on previously mocked objects hang, even after they have been unmocked
tests would fail when run in a certain order because the way Slanger::Redis was set up to listen for messages. if the file was first loaded when EM::Hiredis.connect was stubbed the object would not receive messages for the rest of the test suite causing the integration tests to hang forever. the opposite case was that EM::Hiredis.connext was never mocked if the tests were green in particular order. fixed by explicitly deleting connections from Slanger::Redis before and after they are mocked and making pubsub subscription lazy instead of eager.
move constant into slanger.rb. rev version, closes #93