Updated gemspec syntax

Inspired by [xcpretty](https://github.com/supermarin/xcpretty/blob/420cb8701187635e4aaf35d85bc8ee928b6dde42/xcpretty.gemspec).