Sha256: fc91b0d228f599c5ff1ad42879d4a35bdb63123e828430241e2992a2f5de7e2e
Contents?: true
Size: 502 Bytes
Versions: 2
Compression:
Stored size: 502 Bytes
Contents
module SpreeCategoryBullets class Engine < Rails::Engine engine_name 'spree_category_bullets' 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
spree_category_bullets-0.0.2 | lib/spree_category_bullets/engine.rb |
spree_category_bullets-0.0.1 | lib/spree_category_bullets/engine.rb |