Skip to content

Commit faafac6

Browse files
authored
Merge pull request #1488 from MITLibraries/update-dependencies
Upgrade rubyzip to v3
2 parents 953ada9 + 448a2a9 commit faafac6

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ GEM
383383
ruby-saml (1.18.0)
384384
nokogiri (>= 1.13.10)
385385
rexml
386-
rubyzip (2.4.1)
386+
rubyzip (3.2.2)
387387
sass-rails (6.0.0)
388388
sassc-rails (~> 2.1, >= 2.1.1)
389389
sassc (2.4.0)

app/models/marc_batch.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def create_marc_file(marc_file)
2727
end
2828

2929
def zip_marc_file(zip_file, marc_file)
30-
Zip::File.open(zip_file.path, Zip::File::CREATE) do |zip|
30+
Zip::File.open(zip_file.path, create: true) do |zip|
3131
zip.add(@marc_filename, marc_file.path)
3232
end
3333
marc_file.close

0 commit comments

Comments
 (0)