From 81b4b921ddb4fdebd85b7be4c1d2350795baef5f Mon Sep 17 00:00:00 2001 From: Daniel Berger Date: Fri, 8 May 2020 16:38:21 -0400 Subject: [PATCH] Remove miq_tempfile.rb. --- lib/gems/pending/util/miq_tempfile.rb | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 lib/gems/pending/util/miq_tempfile.rb diff --git a/lib/gems/pending/util/miq_tempfile.rb b/lib/gems/pending/util/miq_tempfile.rb deleted file mode 100644 index 6d5c0f44e..000000000 --- a/lib/gems/pending/util/miq_tempfile.rb +++ /dev/null @@ -1,15 +0,0 @@ -require 'delegate' -require 'tempfile' - -class MiqTempfile < DelegateClass(Tempfile) - # TODO: share this definition with appliance console code. - MIQ_TMP_DIR = '/var/www/miq_tmp'.freeze - - def initialize(basename, *options) - if File.directory?(MIQ_TMP_DIR) - super(Tempfile.new(basename, MIQ_TMP_DIR, *options)) - else - super(Tempfile.new(basename, *options)) - end - end -end