Sha256: 220e59500b97f6f14c13e27f2b051f3f5aa4115115fbef7a7f092bca76454991

Contents?: true

Size: 435 Bytes

Versions: 5

Compression:

Stored size: 435 Bytes

Contents

# frozen_string_literal: true

module WCC::Contentful::App
  class Engine < ::Rails::Engine
    if config.try(:assets)
      config.assets.precompile += %w[*.jpg *.png *.svg]
      config.assets.precompile +=
        [
          'config/manifest.js'
        ].map { |f| File.expand_path("../../../../../app/assets/#{f}", __FILE__) }
    end

    config.generators do |g|
      g.test_framework :rspec, fixture: false
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
wcc-contentful-app-1.7.1 lib/wcc/contentful/app/engine.rb
wcc-contentful-app-1.7.0 lib/wcc/contentful/app/engine.rb
wcc-contentful-app-1.6.2 lib/wcc/contentful/app/engine.rb
wcc-contentful-app-1.6.1 lib/wcc/contentful/app/engine.rb
wcc-contentful-app-1.6.0 lib/wcc/contentful/app/engine.rb