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.84.3 lib/avm/rspec/setup/launcher.rb
eac_tools-0.86.1 sub/avm/lib/avm/rspec/setup/launcher.rb
eac_tools-0.84.2 sub/avm/lib/avm/rspec/setup/launcher.rb
avm-0.84.2 lib/avm/rspec/setup/launcher.rb
eac_tools-0.84.1 sub/avm/lib/avm/rspec/setup/launcher.rb
avm-0.84.1 lib/avm/rspec/setup/launcher.rb
eac_tools-0.84.0 sub/avm/lib/avm/rspec/setup/launcher.rb
avm-0.84.0 lib/avm/rspec/setup/launcher.rb
eac_tools-0.83.0 sub/avm/lib/avm/rspec/setup/launcher.rb
avm-0.83.0 lib/avm/rspec/setup/launcher.rb
eac_tools-0.82.0 sub/avm/lib/avm/rspec/setup/launcher.rb
avm-0.82.0 lib/avm/rspec/setup/launcher.rb
eac_tools-0.81.0 sub/avm/lib/avm/rspec/setup/launcher.rb
eac_tools-0.80.0 sub/avm/lib/avm/rspec/setup/launcher.rb
avm-0.81.0 lib/avm/rspec/setup/launcher.rb
eac_tools-0.79.0 sub/avm/lib/avm/rspec/setup/launcher.rb
avm-0.80.0 lib/avm/rspec/setup/launcher.rb
eac_tools-0.78.0 sub/avm/lib/avm/rspec/setup/launcher.rb
eac_tools-0.77.1 sub/avm/lib/avm/rspec/setup/launcher.rb
eac_tools-0.77.0 sub/avm/lib/avm/rspec/setup/launcher.rb