From f106a2c43084fe3871a5083bf08a50a888c21938 Mon Sep 17 00:00:00 2001 From: Zeke Gabrielse Date: Fri, 15 Nov 2024 16:06:07 -0600 Subject: [PATCH] remove superfluous requires --- app/workers/process_oci_image_worker.rb | 1 - spec/factories/release_descriptor.rb | 4 ---- 2 files changed, 5 deletions(-) diff --git a/app/workers/process_oci_image_worker.rb b/app/workers/process_oci_image_worker.rb index 1efeb3d92..6fecb9ac5 100644 --- a/app/workers/process_oci_image_worker.rb +++ b/app/workers/process_oci_image_worker.rb @@ -1,7 +1,6 @@ # frozen_string_literal: true require 'minitar' -require 'zlib' require Rails.root / 'lib/oci_image_layout' diff --git a/spec/factories/release_descriptor.rb b/spec/factories/release_descriptor.rb index 9360077f4..68bdffe61 100644 --- a/spec/factories/release_descriptor.rb +++ b/spec/factories/release_descriptor.rb @@ -1,9 +1,5 @@ # frozen_string_literal: true -require 'rubygems/package' -require 'minitar' -require 'zlib' - FactoryBot.define do factory :release_descriptor, aliases: %i[descriptor] do initialize_with { new(**attributes.reject { _2 in NIL_ACCOUNT | NIL_ENVIRONMENT }) }