lib/linner.rb in linner-0.4.3 vs lib/linner.rb in linner-0.4.4
- old
+ new
@@ -74,10 +74,10 @@
private
def concat(config)
config["concat"].each_with_index do |pair, index|
dest, pattern, order = pair.first, pair.last, config["order"]||[]
- matches = Dir.glob(pattern).order_by(order)
+ matches = Dir.glob(pattern).sort_by(&:downcase).order_by(order)
next if matches.select {|p| cache.miss? p}.empty?
write_asset(dest, matches)
end
end