logstash/logstash — pull request #163 by mhuffnagle (2012-06-22 23:04:49+00:00)
Title: Refactored file input to use Addressable::URI for source generation

- Refactored the file input to use Addressable::URI for creating the source, instead of the URI defined in std-lib. The one in std-lib has a few bugs that are fixed by addressable.
- Added a test for the file input that ensures that the source that's generated is correct.
- Added a timeout to the file input tests so they don't run forever if something goes wrong.