Autolab icon indicating copy to clipboard operation
Autolab copied to clipboard

prepare for rubyzip transition

Open cg2v opened this issue 4 years ago • 1 comments

Seen on bundle install. Looks like autolab will be affected (Archive.create_zip)

RubyZip 3.0 is coming!


The public API of some Rubyzip classes has been modernized to use named parameters for optional arguments. Please check your usage of the following classes:

  • Zip::File
  • Zip::Entry
  • Zip::InputStream
  • Zip::OutputStream

Please ensure that your Gemfiles and .gemspecs are suitably restrictive to avoid an unexpected breakage when 3.0 is released (e.g. ~> 2.3.0).

cg2v avatar Nov 23 '21 15:11 cg2v

Change required should be Zip::Entry.new(zos, "#{File.basename(filepath)}", nil, nil, nil, nil, nil, nil, ctimestamp) --> Zip::Entry.new(zos, "#{File.basename(filepath)}", time: ctimestamp)

damianhxy avatar Aug 28 '22 20:08 damianhxy