From 10add50b65559f754241dc2fc9c991114e860b0c Mon Sep 17 00:00:00 2001 From: Andrew Waage Date: Thu, 19 May 2016 23:56:11 -0700 Subject: [PATCH] stringify more keys --- lib/github_changelog_generator/fetcher.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/github_changelog_generator/fetcher.rb b/lib/github_changelog_generator/fetcher.rb index 0c9e048..baddf0e 100644 --- a/lib/github_changelog_generator/fetcher.rb +++ b/lib/github_changelog_generator/fetcher.rb @@ -178,9 +178,9 @@ Make sure, that you push tags to remote repo via 'git push --tags'" response = @github.issues.events.list user: @options[:user], repo: @options[:project], issue_number: issue["number"] - issue[:events] = [] + issue['events'] = [] response.each_page do |page| - issue[:events].concat(page) + issue['events'].concat(page) end rescue Github::Error::Forbidden => e Helper.log.warn e.error_messages.map { |m| m[:message] }.join(", ")