Awesome! This is great.<p>I'm also working on an APNS gem called Lead Zeppelin, which is similar in design, but adds a few things like a pool of connections (read: concurrent on threaded systems like JRuby and Rubinius): <a href="https://github.com/geoloqi/lead_zeppelin" rel="nofollow">https://github.com/geoloqi/lead_zeppelin</a><p>There is some high quality code here, this is a great start. I think the error handling needs to be drilled down a bit, and there needs to be more logging. I'm definitely going to borrow some components of this.. the apns test server is really awesome! I'm happy that APNS support is improving in the Ruby community.