Update version.rb

Probably not the most elegant solution, but it works. shows the most recent tagged releases in repository.