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
eac_tools-0.76.1 sub/avm/lib/avm/rspec/setup/launcher.rb
eac_tools-0.76.0 sub/avm/lib/avm/rspec/setup/launcher.rb
eac_tools-0.75.2 sub/avm/lib/avm/rspec/setup/launcher.rb
eac_tools-0.75.1 sub/avm/lib/avm/rspec/setup/launcher.rb
eac_tools-0.75.0 sub/avm/lib/avm/rspec/setup/launcher.rb
eac_tools-0.74.1 sub/avm/lib/avm/rspec/setup/launcher.rb
eac_tools-0.74.0 sub/avm/lib/avm/rspec/setup/launcher.rb
avm-0.79.0 lib/avm/rspec/setup/launcher.rb
eac_tools-0.73.0 sub/avm/lib/avm/rspec/setup/launcher.rb
eac_tools-0.72.0 sub/avm/lib/avm/rspec/setup/launcher.rb
avm-0.78.0 lib/avm/rspec/setup/launcher.rb
eac_tools-0.70.1 sub/avm/lib/avm/rspec/setup/launcher.rb
avm-0.77.0 lib/avm/rspec/setup/launcher.rb
eac_tools-0.70.0 sub/avm/lib/avm/rspec/setup/launcher.rb
avm-0.76.0 lib/avm/rspec/setup/launcher.rb
eac_tools-0.69.1 sub/avm/lib/avm/rspec/setup/launcher.rb
avm-0.75.0 lib/avm/rspec/setup/launcher.rb
eac_tools-0.69.0 sub/avm/lib/avm/rspec/setup/launcher.rb
avm-0.74.0 lib/avm/rspec/setup/launcher.rb
eac_tools-0.68.0 sub/avm/lib/avm/rspec/setup/launcher.rb