add ruby requirement in gemspec
bump version and add changelog
use SecureRandom