Sha256: 5f3ecf1afe0b50ee273fc93307d6c4b6d29418079386699f0bd5c64c5d1a7662
Contents?: true
Size: 542 Bytes
Versions: 8
Compression:
Stored size: 542 Bytes
Contents
module SpreeCarousels class Engine < Rails::Engine require 'spree/core' isolate_namespace Spree engine_name 'spree_carousels' config.autoload_paths += %W(#{config.root}/lib) # use rspec for tests config.generators do |g| g.test_framework :rspec end def self.activate Dir.glob(File.join(File.dirname(__FILE__), '../../app/**/*_decorator*.rb')) do |c| Rails.configuration.cache_classes ? require(c) : load(c) end end config.to_prepare &method(:activate).to_proc end end
Version data entries
8 entries across 8 versions & 1 rubygems