public
Description: DBF is a small fast Ruby library for reading dBase, xBase, Clipper and FoxPro database files
Homepage: http://dbf.rubyforge.org
Clone URL: git://github.com/infused/dbf.git
Click here to lend your support to: dbf and make a donation at www.pledgie.com !
dbf / .autotest
100644 16 lines (12 sloc) 0.459 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Autotest.add_hook :initialize do |autotest|
  autotest.clear_mappings
  
  autotest.add_mapping(%r%^lib/dbf/(.*)\.rb$%) do |filename, m|
    autotest.files_matching %r!spec/(unit|integration)/#{m[1]}_spec.rb!
  end
  
  autotest.add_mapping(%r%^spec/(unit|integration)/.*\.rb$%) do |filename, m|
    filename
  end
  
  %w{.svn .hg .git .dbf .dbt .fpt .txt bin Rakefile .gemspec .autotest}.each do |exception|
    autotest.add_exception(exception)
  end
end