Sha256: 9cbb5c4778a118d0c316595da7c63dd3ebe2f54b3c2d14924318bbf51f5a0c0a

Contents?: true

Size: 614 Bytes

Versions: 6

Compression:

Stored size: 614 Bytes

Contents

require 'pageflow-public-i18n'

module Pageflow
  module Chart
    class Engine < Rails::Engine
      isolate_namespace Pageflow::Chart

      config.paths.add('lib', eager_load: true)
      config.assets.precompile += ['pageflow/chart/custom.css', 'pageflow/chart/transparent_background.css']
      config.i18n.load_path += Dir[config.root.join('config', 'locales', '**', '*.yml').to_s]

      config.generators do |g|
        g.test_framework :rspec,:fixture => false
        g.fixture_replacement :factory_girl, :dir => 'spec/factories'
        g.assets false
        g.helper false
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
pageflow-chart-2.5.0 lib/pageflow/chart/engine.rb
pageflow-chart-2.4.0 lib/pageflow/chart/engine.rb
pageflow-chart-2.3.0 lib/pageflow/chart/engine.rb
pageflow-chart-2.2.0 lib/pageflow/chart/engine.rb
pageflow-chart-2.1.0 lib/pageflow/chart/engine.rb
pageflow-chart-2.0.0 lib/pageflow/chart/engine.rb