From 82dd0b3cce0f5042ef24a1ebfd6fe420c093ce24 Mon Sep 17 00:00:00 2001 From: Petr Korolev Date: Tue, 25 Aug 2015 14:27:20 +0300 Subject: [PATCH 1/2] This commit close #262 --- lib/github_changelog_generator/fetcher.rb | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/lib/github_changelog_generator/fetcher.rb b/lib/github_changelog_generator/fetcher.rb index b6175bb..fa81112 100644 --- a/lib/github_changelog_generator/fetcher.rb +++ b/lib/github_changelog_generator/fetcher.rb @@ -163,10 +163,13 @@ Make sure, that you push tags to remote repo via 'git push --tags'".yellow issues_slice.each do |issue| threads << Thread.new do begin - obj = @github.issues.events.list user: @options[:user], - repo: @options[:project], - issue_number: issue["number"] - issue[:events] = obj.body + response = @github.issues.events.list user: @options[:user], + repo: @options[:project], + issue_number: issue["number"] + issue[:events] = [] + response.each_page do |page| + issue[:events].concat(page) + end rescue Helper.log.warn GH_RATE_LIMIT_EXCEEDED_MSG.yellow end From bc37d0277beca65ad85a0dddaf0381a2ce53efdf Mon Sep 17 00:00:00 2001 From: Petr Korolev Date: Tue, 25 Aug 2015 15:15:30 +0300 Subject: [PATCH 2/2] update change log --- lib/CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/CHANGELOG.md b/lib/CHANGELOG.md index 2358ec5..f9f5146 100644 --- a/lib/CHANGELOG.md +++ b/lib/CHANGELOG.md @@ -21,6 +21,7 @@ **Merged pull requests:** +- This a PR with a lot of comments and events [\#17](https://github.com/skywinder/changelog_test/pull/17) ([skywinder](https://github.com/skywinder)) - PR [\#16](https://github.com/skywinder/changelog_test/pull/16) ([skywinder](https://github.com/skywinder)) - This PR closes 14 from commit [\#15](https://github.com/skywinder/changelog_test/pull/15) ([skywinder](https://github.com/skywinder)) - This PR to close \#12 from body [\#13](https://github.com/skywinder/changelog_test/pull/13) ([skywinder](https://github.com/skywinder))