Sha256: b92a4549f4de7ca782723aad2f35d1d6d0f09388c27e5ceb39b60ea8001a5482

Contents?: true

Size: 592 Bytes

Versions: 24

Compression:

Stored size: 592 Bytes

Contents

# frozen_string_literal: true

require "solidus_core"
require "solidus_support"

module SolidusBrazilianAdaptations
  class Engine < Rails::Engine
    include SolidusSupport::EngineExtensions

    isolate_namespace ::Spree

    engine_name "solidus_brazilian_adaptations"

    ::Spree::PermittedAttributes.checkout_address_attributes.prepend :tax_id
    ::Spree::PermittedAttributes.address_attributes.prepend :number
    ::Spree::PermittedAttributes.address_attributes.prepend :district

    # use rspec for tests
    config.generators do |g|
      g.test_framework :rspec
    end
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
solidus_brazilian_adaptations-1.0.7 lib/solidus_brazilian_adaptations/engine.rb
solidus_brazilian_adaptations-1.0.6 lib/solidus_brazilian_adaptations/engine.rb
solidus_brazilian_adaptations-1.0.5 lib/solidus_brazilian_adaptations/engine.rb
solidus_brazilian_adaptations-1.0.4 lib/solidus_brazilian_adaptations/engine.rb