replacing IO#lines with IO#each_line to suppress warnings in ruby 2.0
Merge pull request #54 from donpinkster/deprecation-warning-ruby-2

Suppress warning about IO#lines in Ruby 2.0