lib/mercurial-ruby/blame.rb in mercurial-ruby-0.7.7 vs lib/mercurial-ruby/blame.rb in mercurial-ruby-0.7.8

- old
+ new

@@ -39,10 +39,10 @@ # # Returns an array of {Mercurial::BlameLine BlameLine} instances. # def lines [].tap do |result| - contents.each do |line| + contents.each_line do |line| author, revision, linenum, text = line.scan(METADATA_AND_CODE_RE).first result << BlameLine.new( :author => author, :revision => revision, :num => linenum, \ No newline at end of file