lib/spree.rb in spree-0.9.4 vs lib/spree.rb in spree-0.10.0.beta
- old
+ new
@@ -6,15 +6,17 @@
unless defined? Spree::Version
module Spree
module Version
Major = '0'
- Minor = '9'
- Tiny = '4'
+ Minor = '10'
+ Tiny = '0'
+ Pre = 'beta'
class << self
def to_s
- [Major, Minor, Tiny].join('.')
+ v = "#{Major}.#{Minor}.#{Tiny}"
+ Pre ? "#{v}.#{Pre}" : v
end
alias :to_str :to_s
end
end
end
\ No newline at end of file