nathell/clj-tagsoup — pull request #4 by rossabaker (2012-02-04 06:55:48+00:00)
Title: input-stream not returning a map for file URL

`input-stream` on a file URL is returning the stream, instead of a map with a `:stream` key like the other methods.

Before:

pl.danieljanus.tagsoup> (input-stream (clojure.java.io/resource "scores.html"))
#

After:

pl.danieljanus.tagsoup> (input-stream (clojure.java.io/resource "scores.html"))
{:stream #}

Fixed by delegating to the File method, so a file URL is always treated like a File.