Sha256: 8b99dc5c80b646b44f85844ebdb196003876807902d2b37fa796f24514d6128c

Contents?: true

Size: 362 Bytes

Versions: 7

Compression:

Stored size: 362 Bytes

Contents

require 'grafico'
require 'rails'

module Grafico
  class Railtie < Rails::Railtie

    GEM_ROOT = File.join(File.dirname(__FILE__), '..', '..')

    initializer 'grafico.initialization' do
      require File.join(GEM_ROOT, 'rails', 'init')
    end

    generators do
      require File.join(GEM_ROOT, 'generators', 'grafico_assets_generator')
    end

  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
grafico-0.2.4 lib/grafico/railtie.rb
grafico-0.2.3 lib/grafico/railtie.rb
grafico-0.2.2 lib/grafico/railtie.rb
grafico-0.2.1 lib/grafico/railtie.rb
grafico-0.2.0 lib/grafico/railtie.rb
grafico-0.1.1 lib/grafico/railtie.rb
grafico-0.1.0 lib/grafico/railtie.rb