Sha256: 6f3ef8089db2c0f72b62d96848e3c7777298bdb179d33b7b839be3556bfcf98d

Contents?: true

Size: 468 Bytes

Versions: 122

Compression:

Stored size: 468 Bytes

Contents

# frozen_string_literal: true

require 'eac_ruby_utils/core_ext'
require 'tmpdir'

module Avm
  module Rspec
    module Setup
      module Launcher
        def temp_launcher_context(settings_file = nil)
          settings_file ||= temp_file
          ::Avm::Launcher::Context.current = ::Avm::Launcher::Context.new(
            projects_root: ::Dir.mktmpdir, settings_file: settings_file, cache_root: ::Dir.mktmpdir
          )
        end
      end
    end
  end
end

Version data entries

122 entries across 122 versions & 2 rubygems

Version Path
avm-0.73.1 lib/avm/rspec/setup/launcher.rb
eac_tools-0.67.1 sub/avm/lib/avm/rspec/setup/launcher.rb
avm-0.73.0 lib/avm/rspec/setup/launcher.rb
eac_tools-0.67.0 sub/avm/lib/avm/rspec/setup/launcher.rb
avm-0.72.0 lib/avm/rspec/setup/launcher.rb
eac_tools-0.66.0 sub/avm/lib/avm/rspec/setup/launcher.rb
eac_tools-0.65.1 sub/avm/lib/avm/rspec/setup/launcher.rb
avm-0.71.0 lib/avm/rspec/setup/launcher.rb
eac_tools-0.65.0 sub/avm/lib/avm/rspec/setup/launcher.rb
avm-0.70.0 lib/avm/rspec/setup/launcher.rb
eac_tools-0.64.0 sub/avm/lib/avm/rspec/setup/launcher.rb
avm-0.69.0 lib/avm/rspec/setup/launcher.rb
eac_tools-0.63.0 sub/avm/lib/avm/rspec/setup/launcher.rb
eac_tools-0.62.1 sub/avm/lib/avm/rspec/setup/launcher.rb
avm-0.68.0 lib/avm/rspec/setup/launcher.rb
eac_tools-0.62.0 sub/avm/lib/avm/rspec/setup/launcher.rb
eac_tools-0.61.1 sub/avm/lib/avm/rspec/setup/launcher.rb
eac_tools-0.61.0 sub/avm/lib/avm/rspec/setup/launcher.rb
avm-0.67.1 lib/avm/rspec/setup/launcher.rb
eac_tools-0.60.3 sub/avm/lib/avm/rspec/setup/launcher.rb