diff --git a/lib/dialoga_plugin/report_job.rb b/lib/dialoga_plugin/report_job.rb index 5960d7b..0ce09d8 100644 --- a/lib/dialoga_plugin/report_job.rb +++ b/lib/dialoga_plugin/report_job.rb @@ -30,7 +30,7 @@ class DialogaPlugin::ReportJob < Struct.new(:profile_id, :report_path) def create_proposals_report(profile, report_folder) filepath = "/tmp/#{report_path}/propostas.csv" - CSV.open(filepath, 'w' ) do |csv| + CSV.open(filepath, 'w', {:col_sep => ';'} ) do |csv| tasks = ProposalsDiscussionPlugin::ProposalTask.all count = 0 csv << ['Origem', 'Status', 'Criada em', 'Moderado por', 'Data de Moderado', 'Validado por', 'Data de Validado', 'Autor', 'Proposta', 'Categorias'] -- libgit2 0.21.2