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

support for mongoid orm #4

Closed
ileitch opened this issue Feb 3, 2014 · 12 comments
Closed

support for mongoid orm #4

ileitch opened this issue Feb 3, 2014 · 12 comments

Comments

@ileitch
Copy link
Member

ileitch commented Feb 3, 2014

Pull request by kwojtaszek from Wednesday Jul 24, 2013 at 18:07 GMT
Originally opened as ileitch/rapns#146


Draft of code that add support for mongoid orm


kwojtaszek included the following code: https://github.com/ileitch/rapns/pull/146/commits

@ileitch
Copy link
Member Author

ileitch commented Feb 3, 2014

Comment by ileitch from Saturday Jul 27, 2013 at 17:45 GMT


Hey, sorry I've not gotten to this yet, will do soon.

@khelll
Copy link

khelll commented Apr 21, 2014

Any updates on this ticket?

@23tux
Copy link

23tux commented Oct 24, 2014

+1
Anything new for mongoid 4?

@ileitch
Copy link
Member Author

ileitch commented Oct 24, 2014

No, sorry. Rpush does now support multiple backends using ActiveModel. It should be fairly simple to integrate. Anyone want to take a stab at it?

@23tux
Copy link

23tux commented Nov 5, 2014

If you have some quick introductions for me where to begin, I'd try to give it a shot

@ileitch
Copy link
Member Author

ileitch commented Nov 12, 2014

@23tux take a look at the backend code for ActiveRecord and Redis here: https://github.com/rpush/rpush/tree/master/lib/rpush/daemon/store

as for the "client" side, i.e Rpush::App, Rpush::Notification, see here: https://github.com/rpush/rpush/tree/master/lib/rpush/client

@pencilcheck
Copy link

+1

@23tux
Copy link

23tux commented Feb 3, 2015

I began with this integration, but didn't come very far (too less time since November). Anyone else who tried it?

@ileitch
Copy link
Member Author

ileitch commented Feb 3, 2015

I've started, I'll let y'all know when it's ready to test.

@ileitch
Copy link
Member Author

ileitch commented Feb 9, 2015

Just pushed this to master, can you please give it a try?

gem 'rpush', github: 'rpush/rpush'
gem 'rpush-mongoid'
Rpush.configure do |config|
  config.client = :mongoid
end

@23tux
Copy link

23tux commented Feb 9, 2015

Awesome, thanks! I'll give it a try and let you know how it works ;)

@ileitch ileitch closed this as completed Feb 18, 2015
@pencilcheck
Copy link

How's the test result?

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