Sha256: b6599a5d09ff62527c5c610f0565b6c86a463d486c3c1e7e21e035d7da04e396

Contents?: true

Size: 335 Bytes

Versions: 4

Compression:

Stored size: 335 Bytes

Contents

# frozen_string_literal: true

require 'spree/core'

module <%= class_name %>
  class Engine < Rails::Engine
    include SolidusSupport::EngineExtensions::Decorators

    isolate_namespace Spree

    engine_name '<%= file_name %>'

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
solidus_dev_support-0.5.0 lib/solidus_dev_support/templates/extension/lib/%file_name%/engine.rb.tt
solidus_dev_support-0.4.1 lib/solidus_dev_support/templates/extension/lib/%file_name%/engine.rb.tt
solidus_dev_support-0.4.0 lib/solidus_dev_support/templates/extension/lib/%file_name%/engine.rb.tt
solidus_dev_support-0.3.0 lib/solidus_dev_support/templates/extension/lib/%file_name%/engine.rb.tt