lib/dwc-archive/generator.rb in dwc-archive-0.7.6 vs lib/dwc-archive/generator.rb in dwc-archive-0.7.7
- old
+ new
@@ -7,10 +7,10 @@
@dwc_path = dwc_path
@path = File.join(tmp_dir, 'dwc_' + rand(10000000000).to_s)
FileUtils.mkdir(@path)
@meta_xml_data = {:extensions => []}
@eml_xml_data = {:id => nil, :title => nil, :authors => [], :abstract => nil, :citation => nil, :url => nil}
- @write = R19 ? 'w:utf-8' : 'w'
+ @write = 'w:utf-8'
end
#TODO refactor!
def clean
FileUtils.rm_rf(@path) if FileTest.exists?(@path)