lib/geonames_rails/puller.rb in geonames_rails-0.1.1 vs lib/geonames_rails/puller.rb in geonames_rails-0.1.2
- old
+ new
@@ -17,13 +17,13 @@
remote_file.close
@temp_geonames_files << target_file_name
file_base_name, file_extension = file_name.split('.')
- if file_extension == 'zip'
- `unzip #{target_file_name} -d #{target_dir}`
- @temp_geonames_files << File.join(target_dir, "#{file_base_name}.txt")
- end
+ #if file_extension == 'zip'
+ # `unzip #{target_file_name} -d #{target_dir}`
+ # @temp_geonames_files << File.join(target_dir, "#{file_base_name}.txt")
+ #end
end
end
def cleanup
\ No newline at end of file