lib/sprockets/plugin.rb in sprockets-plugin-0.1.0 vs lib/sprockets/plugin.rb in sprockets-plugin-0.1.1

- old
+ new

@@ -47,15 +47,17 @@ end protected def normalize_paths(paths) - paths.inject([]) do |normalized_paths, path| + normalized_paths = [] + paths.each do |path| path = Pathname.new(path) path = root.join(path) if root && path.relative? path = path.expand_path normalized_paths.push(path.to_s) if path.exist? end + normalized_paths end end end end