We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 953ada9 + 448a2a9 commit faafac6Copy full SHA for faafac6
2 files changed
Gemfile.lock
@@ -383,7 +383,7 @@ GEM
383
ruby-saml (1.18.0)
384
nokogiri (>= 1.13.10)
385
rexml
386
- rubyzip (2.4.1)
+ rubyzip (3.2.2)
387
sass-rails (6.0.0)
388
sassc-rails (~> 2.1, >= 2.1.1)
389
sassc (2.4.0)
app/models/marc_batch.rb
@@ -27,7 +27,7 @@ def create_marc_file(marc_file)
27
end
28
29
def zip_marc_file(zip_file, marc_file)
30
- Zip::File.open(zip_file.path, Zip::File::CREATE) do |zip|
+ Zip::File.open(zip_file.path, create: true) do |zip|
31
zip.add(@marc_filename, marc_file.path)
32
33
marc_file.close
0 commit comments