Application version number and cool codename based on subversion number
#codename generated from the dictionary REVISION_NUMBER = `svn info`.split("\n")[4][/\d+/].to_i APP_CODENAME = IO.readlines("/usr/share/dict/words")[REVISION_NUMBER]
DZone Snippets > heavysixer > svn
12388 users tagging and storing useful source code snippets
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
#codename generated from the dictionary REVISION_NUMBER = `svn info`.split("\n")[4][/\d+/].to_i APP_CODENAME = IO.readlines("/usr/share/dict/words")[REVISION_NUMBER]