go_import 3.0.6 → 3.0.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -399,19 +399,14 @@ module GoImport
399
399
  # we dont need to check that the file exists since
400
400
  # we assume that rootmodel.validate has been
401
401
  # called before save_to_zip.
402
- puts "file.path: #{file.path}, relative: #{file.has_relative_path?}"
403
402
  if file.has_relative_path?
404
403
  file.location_in_zip_file = "files/#{file.path}"
405
404
  zip_file.add(file.location_in_zip_file, "#{root_folder}/#{file.path}")
406
405
  else
407
- puts "ABS!"
408
- puts files_folder_at_customer
409
406
  file.location_in_zip_file = "files/__abs/#{SecureRandom.uuid}/#{::File.basename(file.path).to_s}"
410
407
  if files_folder_at_customer.empty?
411
408
  zip_file.add(file.location_in_zip_file, file.path)
412
409
  else
413
- puts "file.path.downcase.sub(files_folder_at_customer.downcase, root_folder): "
414
- puts file.path.downcase.sub(files_folder_at_customer.downcase, root_folder)
415
410
  zip_file.add(file.location_in_zip_file,
416
411
  file.path.downcase.sub(files_folder_at_customer.downcase, root_folder))
417
412
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: go_import
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.6
4
+ version: 3.0.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: