Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pubnub Adapter #8

Open
gmaliar opened this issue Apr 24, 2013 · 10 comments
Open

Pubnub Adapter #8

gmaliar opened this issue Apr 24, 2013 · 10 comments

Comments

@gmaliar
Copy link

gmaliar commented Apr 24, 2013

I've written a Pubnub Adapter for sync and it's passing the message_tests, but I'd like to verify also that it receives the messages as it should, can you add the Basecamp style todo application to test suite so I could do some integration tests to see if it actually works?

@chrismccord
Copy link
Owner

I just checkout out your fork and it looks great! I definitely want to get integration tests set up within the test suite so we can handle new additions like this. Basically, I think we need to copy the example application linked in the readme to the test/ folder and setup something like capybara-webkit to get things rolling. On a side note with your fork, may I suggest changing the yaml configuration keys to use "generalized" keys equivalent of the Pusher example? Also, I'm not familiar with the pubnub gem, but will your Message class be able to handle synchronous calls? The preferred, default mode is async, but I want to be sure we can either handle both, or worst case just ensure that we document only async mode is supported for certain adapters. Give me a few days to get the integration suite in place as I have some other things on my list. Thanks!

@gmaliar
Copy link
Author

gmaliar commented Apr 25, 2013

Excellent, message me when the integartion tests are set up and I'll get it into the works,
yeah I will fix the yaml file to be more generalized, it was a 2 hours work on this adapter so it might be passing the unit tests but I don't think it's good for production just yet :-)

@chrismccord
Copy link
Owner

I spent half of Sunday trying to get an integration suite setup with capybara-webkit and have been stumped by the capybara session failing to receive pubsub events from the server. I'm not sure what's preventing the events from being received, but in the meantime I'll be testing your PR manually so we can get this in place. Give me a day or two to get things tested out. Thanks

@gmaliar
Copy link
Author

gmaliar commented Apr 30, 2013

alright man, keep me posted if you need any help!

@chrismccord
Copy link
Owner

Can you submit a pull request with your fork?

@gmaliar
Copy link
Author

gmaliar commented May 6, 2013

Sure

@nadeemja
Copy link

Has this been implemented?

@chrismccord
Copy link
Owner

I haven't seen a full implementation yet. @gmaliar Any status on this?

@ajb ajb added the ready label Mar 7, 2015
@ajb
Copy link
Collaborator

ajb commented Mar 7, 2015

Sounds like @gmaliar is still interested in working on this in #28 -- @nadeemja, maybe you two can sync up! (pun not intended)

@nadeemja
Copy link

nadeemja commented Mar 8, 2015

Haha, I see what you did there! :P

I would like to offer to test the code in dev/production.
@gmaliar, let me know if this might be helpful.

/Nadeem J. Qureshi,
Phone: 452 22 604
Email: [email protected]

On Sat, Mar 7, 2015 at 11:43 PM, Adam Becker [email protected]
wrote:

Sounds like @gmaliar https://github.com/gmaliar is still interested in
working on this in #28 #28 --
@nadeemja https://github.com/nadeemja, maybe you two can sync up!


Reply to this email directly or view it on GitHub
#8 (comment).

@ajb ajb mentioned this issue Feb 6, 2016
@ajb ajb added the enhancement label Feb 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants