diff --git a/developer/ruby/GitHubIssueStats.rb b/developer/ruby/GitHubIssueStats.rb index 827aac2cc..4bc2bac89 100644 --- a/developer/ruby/GitHubIssueStats.rb +++ b/developer/ruby/GitHubIssueStats.rb @@ -139,7 +139,16 @@ def print_issue(issue) totalOpenPullRequests.sort! {|x,y| get_num(x) <=> get_num(y)} puts "\n**Date Range: #{@begin_date.to_date.iso8601}**#{@prev_tag} - **#{@end_date.to_date.iso8601}:**" -puts "\n**New Issues: #{newIssues.length}** (" + newIssues.map{|issue| get_issue_num(issue)}.join(', ') + ')' + +puts "\n**New Issues: #{newIssues.length}**" +puts "\n**Closed Issues: #{closedIssues.length}**" +puts "\n**Accepted Pull Requests: #{acceptedPullRequests.length}**" +puts "\n**Total Open Issues: #{totalOpenIssues.length}**" +puts "\n**Total Open Pull Requests: #{totalOpenPullRequests.length}**" + + +puts "\n\n
" +puts "\n Click to see details" puts "\n**Closed Issues: #{closedIssues.length}**" # (" + closedIssues.map{|issue| get_issue_num(issue)}.join(', ') + ')' closedIssues.each{|issue| puts print_issue(issue)} @@ -149,3 +158,5 @@ def print_issue(issue) puts "\n**Total Open Issues: #{totalOpenIssues.length}** (" + totalOpenIssues.map{|issue| get_issue_num(issue)}.join(', ') + ')' puts "\n**Total Open Pull Requests: #{totalOpenPullRequests.length}** (" + totalOpenPullRequests.map{|issue| get_issue_num(issue)}.join(', ') + ')' +puts "\n
" +