This commit is contained in:
guange 2015-07-25 12:04:20 +08:00
commit 3662baa0cf
1 changed files with 1 additions and 2 deletions

View File

@ -711,8 +711,7 @@ update
end
# all_author = all_author.collect {|c| c.gsub(%r{/ /<.+@.+>}, '') }
all_author = all_author.collect {|c| c.split.first }
commits_by_author = repository.commits(all_author, "2015-01-24", "2015-07-24", repository.id == 150 ? "szzh" : 'master')
Rails.logger.debug "######################################{commits_by_author}"
commits_by_author = repository.commits(all_author, "#{@date_from}", "#{@date_to}", repository.id == 150 ? "szzh" : 'master')
fields = commits_by_author.collect {|r| r.first}
commits_data = commits_by_author.collect {|r| r.last}