Sha256: 2a42d9a58cd2eececb9f2a7996ba2f00103bce4e223f4a1054e8bf52449e079e

Contents?: true

Size: 360 Bytes

Versions: 36

Compression:

Stored size: 360 Bytes

Contents

##
# Run autotest with isolate support.

module Autotest::Isolate
  @@dir = "tmp/isolate/#{Gem.ruby_engine}-#{RbConfig::CONFIG['ruby_version']}"

  def self.dir= o
    @@dir = o
  end

  Autotest.add_hook :initialize do |at|
    ENV["GEM_HOME"] = @@dir
    ENV["GEM_PATH"] = @@dir
    ENV["PATH"]    += ":#{@@dir}/bin"

    Gem.clear_paths
    false
  end
end

Version data entries

36 entries across 36 versions & 9 rubygems

Version Path
cloudsmith-api-0.44.4 vendor/bundle/ruby/2.3.0/gems/ZenTest-4.11.2/lib/autotest/isolate.rb
dadapush_client-1.0.1 vendor/bundle/ruby/2.3.0/gems/ZenTest-4.11.2/lib/autotest/isolate.rb
minitest-autotest-1.1.1 lib/autotest/isolate.rb
minitest-autotest-1.1.0 lib/autotest/isolate.rb
ZenTest-4.11.2 lib/autotest/isolate.rb
cloudsmith-api-0.30.7 vendor/bundle/ruby/2.3.0/gems/ZenTest-4.11.1/lib/autotest/isolate.rb
color_me_shop-1.0.0 vendor/bundle/ruby/2.5.0/gems/ZenTest-4.11.1/lib/autotest/isolate.rb
cloudsmith-api-0.21.4 vendor/bundle/ruby/2.3.0/gems/ZenTest-4.11.1/lib/autotest/isolate.rb
ZenTest-4.11.1 lib/autotest/isolate.rb
minitest-autotest-1.0.3 lib/autotest/isolate.rb
dwolla_swagger-1.0.6 vendor/bundle/ruby/2.2.0/gems/ZenTest-4.11.0/lib/autotest/isolate.rb
minitest-autotest-1.0.2 lib/autotest/isolate.rb
minitest-autotest-1.0.1 lib/autotest/isolate.rb
minitest-autotest-1.0.0 lib/autotest/isolate.rb
ZenTest-4.11.0 lib/autotest/isolate.rb
minitest-autotest-1.0.0.b.1 lib/autotest/isolate.rb
ZenTest-4.10.1 lib/autotest/isolate.rb
ZenTest-4.10.0 lib/autotest/isolate.rb
ZenTest-4.9.5 lib/autotest/isolate.rb
ZenTest-4.9.4 lib/autotest/isolate.rb