diff --git a/Gemfile.lock b/Gemfile.lock index 97b01085ee3..36c22a2576a 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -245,11 +245,11 @@ GEM rack-test (>= 0.6.3) regexp_parser (>= 1.5, < 3.0) xpath (~> 3.2) - caxlsx (3.4.1) + caxlsx (4.3.0) htmlentities (~> 4.3, >= 4.3.4) marcel (~> 1.0) nokogiri (~> 1.10, >= 1.10.4) - rubyzip (>= 1.3.0, < 3) + rubyzip (>= 2.4, < 4) cbor (0.5.9.8) childprocess (5.1.0) logger (~> 1.5) @@ -652,7 +652,7 @@ GEM nokogiri (>= 1.13.10) rexml ruby-statistics (3.0.2) - rubyzip (2.4.1) + rubyzip (3.0.1) safe_target_blank (1.0.2) rails safely_block (0.3.0) @@ -663,11 +663,11 @@ GEM ffi-compiler (>= 1.0, < 2.0) rake (>= 9, < 14) securerandom (0.4.1) - selenium-webdriver (4.29.1) + selenium-webdriver (4.35.0) base64 (~> 0.2) logger (~> 1.4) rexml (~> 3.2, >= 3.2.5) - rubyzip (>= 1.2.2, < 3.0) + rubyzip (>= 1.2.2, < 4.0) websocket (~> 1.0) shoulda-matchers (4.5.1) activesupport (>= 4.2.0) diff --git a/spec/support/doc_auth_image_fixtures.rb b/spec/support/doc_auth_image_fixtures.rb index 82cb562e053..6f4c36dbbec 100644 --- a/spec/support/doc_auth_image_fixtures.rb +++ b/spec/support/doc_auth_image_fixtures.rb @@ -116,7 +116,7 @@ def self.zipped_files(reference_id:, selfie: false, passport: false) zip_filename = "#{temp_dir}/document.zip" - Zip::File.open(zip_filename, Zip::File::CREATE) do |zipfile| + Zip::File.open(zip_filename, create: true) do |zipfile| Dir.glob(File.join(temp_dir, '*')).each do |file| next if File.directory?(file) zipfile.add(File.basename(file), file)