ileitch/rapns — pull request #164 by mattconnolly (2013-09-16 11:49:13+00:00)
Title: Feature: Notify / wake feeder via UDP socket

This feature adds a class Rapns::Notifier which allows a web or other process to wake the Rapns daemon from sleep to send a notification immediately. This allows a much longer sleep time for lower polling / log activity.

Example notifier usage:

```ruby
require 'rapns/notifier'
notifier = Rapns::Notifier.new(udp_host, udp_port)
notifier.notify # => wakes the daemon.
```

This is left as a separate require because it isn't used in the daemon, and can be used externally.