测试打印结果
This commit is contained in:
parent
b9a902bb04
commit
0a1afd7c45
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue