Sha256: f01d4c2651eec8486ba21cd3bea4351b7a746af76bb7dbf5a0ff797eff4d0b7b

Contents?: true

Size: 713 Bytes

Versions: 2

Compression:

Stored size: 713 Bytes

Contents

require 'saulabs/reportable'
require 'rails'

module Saulabs

  module Reportable

    class Railtie < Rails::Railtie

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

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

      generators do
        require File.join(GEM_ROOT, 'generators', 'reportable_migration', 'reportable_migration_generator')
        require File.join(GEM_ROOT, 'generators', 'reportable_raphael_assets', 'reportable_raphael_assets_generator')
        require File.join(GEM_ROOT, 'generators', 'reportable_jquery_flot_assets', 'reportable_jquery_flot_assets_generator')
      end

    end

  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
reportable-1.1.2 lib/saulabs/reportable/railtie.rb
reportable-1.1.0 lib/saulabs/reportable/railtie.rb