Sha256: a2e753d10acf2fde343e294fd3ed34514b14e46b56598cad4df6dc95b77eb86e

Contents?: true

Size: 687 Bytes

Versions: 9

Compression:

Stored size: 687 Bytes

Contents

require File.expand_path('../boot', __FILE__)

require "active_record/railtie"
require "action_controller/railtie"
require "action_mailer/railtie"
require "action_view/railtie"
require "sprockets/railtie"

Bundler.require(*Rails.groups)
require "spree_purchase_order"

module Dummy
  class Application < Rails::Application

    config.to_prepare do
      Dir.glob(File.join(File.dirname(__FILE__), "../app/**/*_decorator*.rb")) do |c|
        Rails.configuration.cache_classes ? require(c) : load(c)
      end

      Dir.glob(File.join(File.dirname(__FILE__), "../app/overrides/*.rb")) do |c|
        Rails.configuration.cache_classes ? require(c) : load(c)
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
spree_purchase_order-3.7.0 spec/dummy/config/application.rb
spree_purchase_order-3.6.0 spec/dummy/config/application.rb
spree_purchase_order-3.5.0 spec/dummy/config/application.rb
spree_purchase_order-3.5.0.rc1 spec/dummy/config/application.rb
spree_purchase_order-3.4.0 spec/dummy/config/application.rb
spree_purchase_order-3.3.0 spec/dummy/config/application.rb
spree_purchase_order-2.2.0 spec/dummy/config/application.rb
spree_purchase_order-2.3.0 spec/dummy/config/application.rb
spree_purchase_order-2.4.0 spec/dummy/config/application.rb