Sha256: 1f56187f889409edd0d54601b598feb6cc5dd92a35ff684d63c5761e0d14c402

Contents?: true

Size: 553 Bytes

Versions: 1

Compression:

Stored size: 553 Bytes

Contents

require 'sprockets/nyny/version'
require 'sprockets/nyny/builder'

module Sprockets
  module NYNY
    def self.load_tasks app
      require 'sprockets/rails/task'
      Sprockets::Rails::Task.new(app)
    end

    def root
      ::NYNY.root
    end

    def self.registered app
      app.helpers ActionView::Helpers::AssetUrlHelper
      app.helpers ActionView::Helpers::AssetTagHelper
      app.helpers Sprockets::Rails::Helper

      Builder.build_environment(app)
      Builder.build_config(app.config)
      Builder.add_hooks(app)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sprockets-nyny-0.0.3 lib/sprockets/nyny.rb