lib/classy_assets.rb in classy_assets-0.1.2 vs lib/classy_assets.rb in classy_assets-0.1.3

- old
+ new

@@ -1,8 +1,15 @@ # encoding: utf-8 +require 'compass' +require 'sass' +require 'coffee_script' +require 'sprockets' +require 'sprockets-sass' +require 'sinatra/base' require 'classy_assets/version' + module ClassyAssets class Configuration def self.configure yield self end @@ -85,10 +92,10 @@ end dir_names end def self.sprockets - @sprockets ||= Sprockets::Environment.new(root_path) + @sprockets ||= ::Sprockets::Environment.new(root_path) asset_paths.each do |asset_path| @sprockets.append_path asset_path unless @sprockets.paths.include? asset_path end @sprockets end