fixes #91 for the missing constant WebsocketRails::InternalEvents::InternalController bug when reloading the routes
Add the unsubscribe function to the javascript dispatcher class

Add a destroy function on the channel class of the javascript to allow
the client-side to unsubscribe to a channel.
Merge pull request #95 from DarkSwoop/master

fix for the "missing constant WebsocketRails::InternalEvents::InternalController" bug when reloading the routes
Merge pull request #94 from moaa/master

Stop events from being published again.
Use old Hash syntax in EventRoutingError#to_json.
Update CHANGELOG and Version for release.
Fix credits in the CHANGELOG.
fix on the destroy function of the channel js class
Merge pull request #97 from Oxynum/master

Add an unsubscribe (to channel) method to the javascript dispatcher object.
Enhaced/fixed js library. Now on_close and on_error events pass the event straight. Tests added and fixed for this too
Merge pull request #100 from imton/master

on_close and on_error events fixed
Update jasmine gem to fix Travis build.
Fix Logging spec by stubbing Time.now with a real Time object.
Remove ruby 1.9.2 from travis.yml since Rails 4 requires > 1.9.3
Don't call unloadable on inherited controllers if Rails.version =~ 4

Fixes #101 RuntimeError (Circular dependency detected while autoloading
constant EventsController)
Add #close! method to WebSocket and HTTP connection adapters.

This provides an easy way to close a connection from within a
WebsocketRails Controller by calling connection.close!. This works
with both WebSocket connections as well as streaming HTTP connections.

This closes #99 and closes #15 as well.

As far as #15 is concerned, the pull request submitted by @imton
takes care of managing disconnects on the client side cleanly.
Granted, you still need to manually resubscribe to any events
after you reconnect. The next step will be to manage reconnects
better internally within the JavaScript client.
Bump version and update CHANGELOG for release.
Properly handle connection state and add .connection_stale function

The `on_close` and `on_error` events now properly set the connection
state to 'disconnected'.

I also added a .connection_stale() function for easily checking whether
or not the connection is active.
Update version and CHANGELOG for release.
Mention which IRC network #websocket-rails is in.