lib/rack/linkeddata/version.rb in rack-linkeddata-0.1.1 vs lib/rack/linkeddata/version.rb in rack-linkeddata-0.1.2
- old
+ new
@@ -1,13 +1,12 @@
module Rack; module LinkedData
module VERSION
MAJOR = 0
MINOR = 1
- TINY = 1
+ TINY = 2
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