lib/spree.rb in spree-0.11.4 vs lib/spree.rb in spree-0.30.0.beta1
- old
+ new
@@ -1,24 +1,11 @@
-#######################################################################################################
-# Substantial portions of this code were adapted from the Radiant CMS project (http://radiantcms.org) #
-#######################################################################################################
+require 'spree_core'
+require 'spree_auth'
+require 'spree_api'
+require 'spree_dash'
+#require 'spree_promotions'
+require 'spree_sample'
-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 = '11'
- Tiny = '4'
- Pre = nil # 'beta'
-
- class << self
- def to_s
- v = "#{Major}.#{Minor}.#{Tiny}"
- Pre ? "#{v}.#{Pre}" : v
- end
- alias :to_str :to_s
- end
- end
+module Spree
+ class Engine < Rails::Engine
end
-end
+end
\ No newline at end of file