github-changelog-generator/lib/github_changelog_generator
Raphaël Pinson 6a732ceb99 Do not alter pull_requests while iterating on it
Deleting elements of an array while iterating on it
results in never seeing the last element.

    > a = [1,2,3]
     => [1, 2, 3]
    > a.each do |e|
    >   p a
    >   a.delete(e)
    > end
    [1, 2, 3]
    [2, 3]
     => [2]
2015-08-27 13:36:41 +02:00
..
2015-08-25 14:27:40 +03:00
2015-08-26 17:01:18 +03:00
2015-08-24 14:55:57 +02:00
2015-08-26 17:02:00 +03:00