lib/ci/queue/file.rb in ci-queue-0.7.0 vs lib/ci/queue/file.rb in ci-queue-0.8.0

- old
+ new

@@ -8,10 +8,11 @@ new(uri.path, config) end end def initialize(path, *args) - super(::File.readlines(path).map(&:strip).reject(&:empty?), *args) + io = path == '-' ? STDIN : ::File.open(path) + super(io.each_line.map(&:strip).reject(&:empty?), *args) end end end end