测试打印结果

This commit is contained in:
huang 2015-07-24 23:25:56 +08:00
parent b9a902bb04
commit 0a1afd7c45
1 changed files with 3 additions and 1 deletions

View File

@ -711,6 +711,8 @@ update
end
all_author = all_author.collect {|c| c.gsub(%r{<.+@.+>}, '') }
commits_by_author = repository.commits(all_author, @date_from, @date_to)
logger.info "start******************************************************************" + commits_by_author
logger.info "end**************************************************************8"
fields = commits_by_author.collect {|r| r.first}
commits_data = commits_by_author.collect {|r| r.last}
@ -719,7 +721,7 @@ update
commits_data = commits_data + [0]*(10 - commits_data.length) if commits_data.length<10
# Remove email adress in usernames
fields = fields.collect {|c| c.gsub(%r{<.+@.+>}, '') }
# fields = fields.collect {|c| c.gsub(%r{<.+@.+>}, '') }
graph = SVG::Graph::BarHorizontal.new(
:height => 400,