Sha256: 71a93797753e5d4dabd101105b2b8d3fadf3fdb6501359ce01bbc108f9890d98
Contents?: true
Size: 490 Bytes
Versions: 3
Compression:
Stored size: 490 Bytes
Contents
module OrderReporting class Engine < Rails::Engine require 'spree/core' isolate_namespace Spree engine_name 'order_reporting' # 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
spree_order_reporting-0.0.3 | lib/order_reporting/engine.rb |
spree_order_reporting-0.0.2 | lib/order_reporting/engine.rb |
spree_order_reporting-0.0.1 | lib/order_reporting/engine.rb |