lib/sinatra/assetpack/package.rb in sinatra-assetpack-0.2.6 vs lib/sinatra/assetpack/package.rb in sinatra-assetpack-0.2.7
- old
+ new
@@ -35,10 +35,10 @@
attr_reader :filespecs
attr_reader :name
# Returns a list of URIs
def paths_and_files
- list = @assets.glob(@filespecs, :preserve => true)
+ list = @assets.glob(@filespecs)
list.reject! { |path, file| @assets.ignored?(path) }
list
end
def files