Sha256: f1123921e00527fc9057a7d188ab9ba3cc6bac65e40896769c714ca809bab3b0
Contents?: true
Size: 507 Bytes
Versions: 2
Compression:
Stored size: 507 Bytes
Contents
module SpreeBrazilianFields class Engine < Rails::Engine require 'spree/core' isolate_namespace Spree engine_name 'spree_zaez_brazilian_fields' # 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_zaez_brazilian_fields-3.1.0 | lib/spree_zaez_brazilian_fields/engine.rb |
spree_zaez_brazilian_fields-3.0.1 | lib/spree_zaez_brazilian_fields/engine.rb |