Sha256: 720a38763d6f702dac92559e60b5c3abe6143c9376777e3af483b1b9fe313db1

Contents?: true

Size: 513 Bytes

Versions: 73

Compression:

Stored size: 513 Bytes

Contents

# -*- ruby -*-

# require 'autotest/restart'

ENV['GEM_PATH'] = "tmp/isolate/ruby-1.8"

module Autotest::Restart
  Autotest.add_hook :updated do |at, *args|
    if args.flatten.include? ".autotest" then
      warn "Detected change to .autotest, restarting"
      cmd = %w(autotest)
      cmd << " -v" if $v
      cmd += ARGV

      exec(*cmd)
    end
  end
end

Autotest.add_hook :initialize do |at|
  at.add_exception 'tmp'
  at.testlib = "minitest/autorun"

  at.find_directories = ARGV unless ARGV.empty?
end

Version data entries

73 entries across 73 versions & 7 rubygems

Version Path
active_mailer-0.0.10 test/fixtures/dummyapp_rails_3.2/vendor/bundle/ruby/1.9.1/gems/arel-3.0.2/.autotest
kajaprism-0.0.1 .autotest
arel-6.0.0.beta1 .autotest
arel-5.0.1.20140414130214 .autotest
arel-4.0.2 .autotest
arel-5.0.0 .autotest
arel-3.0.3 .autotest
arel-4.0.1 .autotest
swipe-rails-0.0.5 vendor/bundle/gems/arel-3.0.2/.autotest
active_mailer-0.0.9 test/fixtures/dummyapp_rails_3.2/vendor/bundle/ruby/1.9.1/gems/arel-3.0.2/.autotest
active_mailer-0.0.8 test/fixtures/dummyapp_rails_3.2/vendor/bundle/ruby/1.9.1/gems/arel-3.0.2/.autotest
active_mailer-0.0.7 test/fixtures/dummyapp_rails_3.2/vendor/bundle/ruby/1.9.1/gems/arel-3.0.2/.autotest
active_mailer-0.0.6 test/fixtures/dummyapp_rails_3.2/vendor/bundle/ruby/1.9.1/gems/arel-3.0.2/.autotest
arel-4.0.0 .autotest
arel-4.0.0.beta2 .autotest
arel-4.0.0.beta1 .autotest
active_mailer-0.0.5 test/fixtures/dummyapp_rails_3.2/vendor/bundle/ruby/1.9.1/gems/arel-3.0.2/.autotest
active_mailer-0.0.4 test/fixtures/dummyapp_rails_3.2/vendor/bundle/ruby/1.9.1/gems/arel-3.0.2/.autotest
active_mailer-0.0.3 test/fixtures/dummyapp_rails_3.2/vendor/bundle/ruby/1.9.1/gems/arel-3.0.2/.autotest
devise_sociable-0.1.0 vendor/bundle/gems/arel-3.0.2/.autotest