lib/sxp/version.rb in sxp-0.0.4 vs lib/sxp/version.rb in sxp-0.0.5
- old
+ new
@@ -1,13 +1,12 @@
module SXP
module VERSION
MAJOR = 0
MINOR = 0
- TINY = 4
+ TINY = 5
EXTRA = nil
- STRING = [MAJOR, MINOR, TINY].join('.')
- STRING << ".#{EXTRA}" if EXTRA
+ STRING = [MAJOR, MINOR, TINY, EXTRA].compact.join('.')
##
# @return [String]
def self.to_s() STRING end