Sha256: da9f29688be5ed4083f908d83c46c59a8efb8acbb61b13532d0fd2f1430fefda

Contents?: true

Size: 616 Bytes

Versions: 10

Compression:

Stored size: 616 Bytes

Contents

require 'mail'

# Spree Configuration
SESSION_KEY = '_spree_session_id'
#require 'spree/support/core_ext/array/conversions'

# TODO - Add the lib/plugins stuff maybe?

# Initialize preference system
ActiveRecord::Base.class_eval do
  include Spree::Preferences
  include Spree::Preferences::ModelHooks
end

if MailMethod.table_exists?
  Spree::MailSettings.init
  Mail.register_interceptor(Spree::MailInterceptor)
end

# Add extra support goodies (similar to rails active support)
#class Array #:nodoc:
#  include Spree::Support::CoreExtensions::Array
#end

String.class_eval do
  include SpreeCore::Ext::String
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
spree_core-0.40.4 config/initializers/spree.rb
spree_core-0.50.4 config/initializers/spree.rb
spree_core-0.50.3 config/initializers/spree.rb
spree_core-0.50.2 config/initializers/spree.rb
spree_core-0.50.1 config/initializers/spree.rb
spree_core-0.50.0 config/initializers/spree.rb
spree_core-0.40.3 config/initializers/spree.rb
spree_core-0.40.2 config/initializers/spree.rb
spree_core-0.40.1 config/initializers/spree.rb
spree_core-0.40.0 config/initializers/spree.rb