Sha256: fe29717a2aadd4c378c52e1f4a32a2b39f1a86fceea5d0f04928a0d88241371e

Contents?: true

Size: 581 Bytes

Versions: 12

Compression:

Stored size: 581 Bytes

Contents

module Hubstats
  class Engine < ::Rails::Engine
    isolate_namespace Hubstats

    initializer :assets do |config|
      Rails.application.config.assets.paths << root.join("app", "assets", "fonts")
    end

    config.to_prepare do
      Dir.glob(Rails.root + "app/decorators/**/*_decorator*.rb").each do |c|
        require_dependency(c)
      end
      ApplicationController.helper(MetricsHelper)
    end

    require 'octokit'
    require 'select2-rails'
    require 'will_paginate-bootstrap'

    config.generators do |g|
      g.test_framework :rspec
    end
    
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
hubstats-0.7.3 lib/hubstats/engine.rb
hubstats-0.7.2 lib/hubstats/engine.rb
hubstats-0.7.1 lib/hubstats/engine.rb
hubstats-0.7.0 lib/hubstats/engine.rb
hubstats-0.6.0 lib/hubstats/engine.rb
hubstats-0.5.12 lib/hubstats/engine.rb
hubstats-0.5.11 lib/hubstats/engine.rb
hubstats-0.5.10 lib/hubstats/engine.rb
hubstats-0.5.9 lib/hubstats/engine.rb
hubstats-0.5.7 lib/hubstats/engine.rb
hubstats-0.5.6 lib/hubstats/engine.rb
hubstats-0.5.5 lib/hubstats/engine.rb