fixes, more error codes for gcm
updated gemspec