Add rest dependency to gemspec.