Sha256: 31d511686623bdfefdf27851fcab149f393008d58231e0df54b5d1aa63333c54

Contents?: true

Size: 530 Bytes

Versions: 2

Compression:

Stored size: 530 Bytes

Contents

module EmberCLI
  class Engine < Rails::Engine
    initializer "ember-cli-rails.view_helpers" do
      ActionView::Base.send :include, ViewHelpers
    end

    initializer "ember-cli-rails.inflector" do
      if Rails.version > "3.2"
        ActiveSupport::Inflector.inflections :en do |inflect|
          inflect.acronym "CLI"
        end
      end
    end

    initializer "ember-cli-rails.enable" do
      EmberCLI.enable! unless ENV["SKIP_EMBER"]
    end

    rake_tasks do
      load "tasks/ember-cli.rake"
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ember-cli-rails-0.1.10 lib/ember-cli/engine.rb
ember-cli-rails-0.1.9 lib/ember-cli/engine.rb