Sha256: ddb2c2edb7e387e873b1358b235509cf590a9e03a80784b83421a6ca9101bc77

Contents?: true

Size: 622 Bytes

Versions: 11

Compression:

Stored size: 622 Bytes

Contents

require 'autotest/restart'
begin
  require 'autotest/fsevent'
rescue LoadError
end

Autotest.add_hook :initialize do |at|
  at.testlib = 'minitest/unit'

  def at.path_to_classname(s)
    sep = File::SEPARATOR
    f = s.sub(/^test#{sep}/, '').sub(/\.rb$/, '').split(sep)
    f = f.map { |path| path.split(/_|(\d+)/).map { |seg| seg.capitalize }.join }
    f = f.map { |path| path =~ /^Test/ ? path : "Test#{path}"  }
    f.join('::').sub 'Dnssd', 'DNSSD'
  end
end

Autotest.add_hook :run_command do |at|
  at.unit_diff = 'cat'

  if ENV['ONENINE']
    system "rake1.9 compile"
  else
    system "rake compile"
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
dnssd-3.0.2 .autotest
dnssd-3.0.1 .autotest
dnssd-3.0.0 .autotest
dnssd-2.0.1 .autotest
dnssd-2.0 .autotest
dnssd-1.4 .autotest
dnssd-1.3.4 .autotest
dnssd-1.3.3 .autotest
dnssd-1.3.2 .autotest
dnssd-1.3.1 .autotest
dnssd-1.3 .autotest