Bump to 1.0.40
Update gemspec homepage