lib/sinatra/assetpack.rb in sinatra-assetpack-0.1.2 vs lib/sinatra/assetpack.rb in sinatra-assetpack-0.1.3
- old
+ new
@@ -1,6 +1,7 @@
require 'rack/test'
+require 'backports' if RUBY_VERSION < "1.9"
module Sinatra
module AssetPack
def self.registered(app)
app.helpers Helpers
@@ -45,10 +46,9 @@
autoload :Package, "#{PREFIX}/assetpack/package"
autoload :Compressor, "#{PREFIX}/assetpack/compressor"
autoload :Image, "#{PREFIX}/assetpack/image"
autoload :Css, "#{PREFIX}/assetpack/css"
autoload :Configurator, "#{PREFIX}/assetpack/configurator"
- autoload :HashArray, "#{PREFIX}/assetpack/hasharray"
include ClassMethods
Error = Class.new(StandardError)