####################################################################################################### # Substantial portions of this code were adapted from the Radiant CMS project (http://radiantcms.org) # ####################################################################################################### SPREE_ROOT = File.expand_path(File.join(File.dirname(__FILE__), "..")) unless defined? SPREE_ROOT unless defined? Spree::Version module Spree module Version Major = '0' Minor = '10' Tiny = '1' Pre = nil class << self def to_s v = "#{Major}.#{Minor}.#{Tiny}" Pre ? "#{v}.#{Pre}" : v end alias :to_str :to_s end end end end