Sha256: 2d3b38df016d0c2baeaf90734d020b6523a3bc74707a3a32c70afa9e411648cc
Contents?: true
Size: 512 Bytes
Versions: 4
Compression:
Stored size: 512 Bytes
Contents
module SolidusJwt class Engine < Rails::Engine require 'spree/core' isolate_namespace Spree engine_name 'solidus_jwt' # use rspec for tests config.generators do |g| g.test_framework :rspec end def self.activate decorator_pattern = File.join(__dir__, '../../app/**/*_decorator*.rb') Dir.glob(decorator_pattern) do |c| Rails.configuration.cache_classes ? require(c) : load(c) end end config.to_prepare(&method(:activate).to_proc) end end
Version data entries
4 entries across 4 versions & 1 rubygems