Sha256: e25f19745ce6d9af931be55673126a303fbfb6b5d3a2ec05971a772769f76bc2

Contents?: true

Size: 592 Bytes

Versions: 40

Compression:

Stored size: 592 Bytes

Contents

require_relative 'temp_dir'

module Inferno
  module Terminology
    module Tasks
      class CleanupPrecursors
        include TempDir

        attr_reader :version

        def initialize(version:)
          @version = version
        end

        def run
          Inferno.logger.info "removing terminology precursor files in #{versioned_temp_dir}"
          FileUtils.remove_dir(umls_dir, true)
          FileUtils.remove_dir(umls_subset_dir, true)
          FileUtils.rm(umls_zip_path, force: true)
          FileUtils.rm(pipe_files, force: true)
        end
      end
    end
  end
end

Version data entries

40 entries across 40 versions & 1 rubygems

Version Path
onc_certification_g10_test_kit-3.5.0 lib/inferno/terminology/tasks/cleanup_precursors.rb
onc_certification_g10_test_kit-3.4.0 lib/inferno/terminology/tasks/cleanup_precursors.rb
onc_certification_g10_test_kit-3.3.2 lib/inferno/terminology/tasks/cleanup_precursors.rb
onc_certification_g10_test_kit-3.3.1 lib/inferno/terminology/tasks/cleanup_precursors.rb
onc_certification_g10_test_kit-3.3.0 lib/inferno/terminology/tasks/cleanup_precursors.rb
onc_certification_g10_test_kit-3.2.0 lib/inferno/terminology/tasks/cleanup_precursors.rb
onc_certification_g10_test_kit-3.1.0 lib/inferno/terminology/tasks/cleanup_precursors.rb
onc_certification_g10_test_kit-3.0.1 lib/inferno/terminology/tasks/cleanup_precursors.rb
onc_certification_g10_test_kit-3.0.0 lib/inferno/terminology/tasks/cleanup_precursors.rb
onc_certification_g10_test_kit-2.3.0 lib/inferno/terminology/tasks/cleanup_precursors.rb
onc_certification_g10_test_kit-2.2.2 lib/inferno/terminology/tasks/cleanup_precursors.rb
onc_certification_g10_test_kit-2.2.1 lib/inferno/terminology/tasks/cleanup_precursors.rb
onc_certification_g10_test_kit-2.2.0 lib/inferno/terminology/tasks/cleanup_precursors.rb
onc_certification_g10_test_kit-2.2.0.rc1 lib/inferno/terminology/tasks/cleanup_precursors.rb
onc_certification_g10_test_kit-2.1.1 lib/inferno/terminology/tasks/cleanup_precursors.rb
onc_certification_g10_test_kit-2.1.0 lib/inferno/terminology/tasks/cleanup_precursors.rb
onc_certification_g10_test_kit-2.1.0.rc1 lib/inferno/terminology/tasks/cleanup_precursors.rb
onc_certification_g10_test_kit-2.0.0 lib/inferno/terminology/tasks/cleanup_precursors.rb
onc_certification_g10_test_kit-2.0.0.rc3 lib/inferno/terminology/tasks/cleanup_precursors.rb
onc_certification_g10_test_kit-2.0.0.rc2 lib/inferno/terminology/tasks/cleanup_precursors.rb