Update dependencies

Update dependencies to get rid of warnings when building the gem.
Also fixes an issue with rdoc < 2.5.3.