lib/sprockets/nyny.rb in sprockets-nyny-0.0.2 vs lib/sprockets/nyny.rb in sprockets-nyny-0.0.3

- old
+ new

@@ -1,6 +1,5 @@ -require 'rack' require 'sprockets/nyny/version' require 'sprockets/nyny/builder' module Sprockets module NYNY @@ -11,20 +10,16 @@ def root ::NYNY.root end - def before_run &block - before_run_hooks << Proc.new(&block) - 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 \ No newline at end of file +end