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