This commit is contained in:
Petr Korolev 2015-02-13 15:28:01 +02:00
parent e6f12421ff
commit 1eee70bfe5

View File

@ -74,7 +74,7 @@ module GitHubChangelogGenerator
print " \r"
if @options[:verbose]
puts "Received closed pull requests: #{pull_requests.count}"
puts "Received pull requests: #{pull_requests.count}"
end
pull_requests
@ -120,9 +120,6 @@ module GitHubChangelogGenerator
end
def compund_changelog
if @options[:verbose]
puts 'Generating changelog...'
end
log = "# Changelog\n\n"
@ -429,23 +426,18 @@ module GitHubChangelogGenerator
print "Fetching issues... #{page_i}/#{count_pages * PER_PAGE_NUMBER}\r"
issues.concat(page)
end
#
# print " \r"
#
# # if @options[:verbose]
# puts "Received issues...: #{issues.count}"
# end
print " \r"
if @options[:verbose]
puts "Received issues: #{issues.count}"
end
# remove pull request from issues:
issues.select! { |x|
x.pull_request == nil
}
if @options[:verbose]
puts "Received closed issues: #{issues.count}"
end
if @options[:verbose]
puts "Filtering issues with labels #{@options[:labels]}#{@options[:add_issues_wo_labels] ? ' and w/o labels' : ''}"
end