NicosKaralis/pushmeup — pull request #46 by lserman (2014-10-27 22:05:27+00:00)
Title: Check string keys in APNS::Notifications message hash

When queuing a message through Redis (Sidekiq in my case), hash parameters are serialized and unserialized via JSON dump/load, so any symbol keys are converted to strings. Since APNS::Notification only checks symbol keys, the push will fail unless you symbolize the keys again after the body is given to the Sidekiq worker.

This PR will check for string keys in addition to symbol keys so that this situation can be avoided.