license and ruby version added to gemspec
fixed interruptible sleep
use new apns format