module Ronn
def self.version
of the version is incremented by the commit offset, such that version
A semantic version number based on the git revision. The third element
version: 0.6.11
def self.version ver = revision[/^[0-9.-]+/].split(/[.-]/).map { |p| p.to_i } ver[2] += ver.pop while ver.size > 3 ver.join('.') end