Sha256: 50c31f977fcab4c13d1e79a7019cbbae1514353fd01fd52b058fadd23570d2a7
Contents?: true
Size: 357 Bytes
Versions: 37
Compression:
Stored size: 357 Bytes
Contents
Autotest.add_hook(:initialize) do |at| at.add_exception(".git") end Autotest.add_hook(:initialize) do |at| at.clear_mappings at.add_mapping %r%/^lib/(.*)\.rb$% do |_, m| possible = File.basename(m[1]) files_matching %r%^test/.*(#{possible}_test|test_#{possible})\.rb$% end at.add_mapping(%r%^test/.*\.rb$%) {|filename, _| filename } end
Version data entries
37 entries across 37 versions & 11 rubygems