tristandunn / pusher-fake

A fake Pusher server for development and testing.
https://rubygems.org/gems/pusher-fake
MIT License
173 stars 32 forks source link

Support for Pusher 2.0 #17

Closed scudco closed 11 years ago

scudco commented 11 years ago

I'm having trouble getting this working with Pusher JS 2.0. I'm still trying to figure out where it's breaking, but I wanted to open the issue in case you had any information on adding support for 2.0.

tristandunn commented 11 years ago

Any major differences between your setup and pusher-fake-example?

scudco commented 11 years ago

Yeah, I'm using PusherJS 2.0 from Pusher's CDN

http://pusher.com/docs/client_libraries#js https://github.com/pusher/pusher-js

I am going to dedicate some time to finding out what is different between 1.0 and 2.0 that would make it not able to connect, but I didn't want to go down that (potential) rabbit hole if you had already looked into 2.0 support.

scudco commented 11 years ago

Just posting this for future readers https://github.com/pusher/pusher-js/blob/master/CHANGELOG.markdown

tristandunn commented 11 years ago

I've had 2.0 in the test suite for about two months now. Just double checked the example application with the latest released version and master, which I just updated some, with no issues.

I suspect if there are issues in 2.0 then they're not being tested yet. If you're using capybara-webkit, or any driver that supports it, I'd try checking the logs to see if anything interesting shows up. I guess you could also get crazy and run your server in test mode and hit it manually.

scudco commented 11 years ago

I tried again and got it working in test. Sorry for the false alarm and thanks for the response :)