grocer/grocer — pull request #59 by somezack (2013-06-20 00:34:37+00:00)
Title: Failing test case for issue with content-available in using Grocer::Serv...

Here's a failing test case for this issue:

When testing notifications, Grocer::NotificationReader instantiates a new Grocer::Notification from the payload sent to it by Grocer::Pusher. Because I change :content_available to :'content-available', this ends up causing a NoMethodError in the server process. How do you think I should fix this? The option that feels best to me, though still kinda clunky, is for Grocer::NotificationReader to modify the hash key before passing it to Grocer::Notification.new.