Sha256: 8723a9d95f1791d3f9aa49b2042403608e47485abb575dc14c8697a440fe567a
Contents?: true
Size: 496 Bytes
Versions: 23
Compression:
Stored size: 496 Bytes
Contents
Autotest.add_hook :initialize do |at| ignore = %w[.git examples ext pkg .DS_Store CHANGELOG LICENSE VERSION.yml README.rdoc .autotest Rakefile blather.gemspec] ignore.each { |exception| at.add_exception(exception) } at.clear_mappings at.add_mapping(%r%^spec/.*_spec.rb$%) { |filename, _| filename } at.add_mapping(%r%^lib/(.*)\.rb$%) { |_, m| ["spec/#{m[1]}_spec.rb"] } at.add_mapping(%r%^spec/(spec_helper|shared/.*)\.rb$%) { at.files_matching %r%^spec/.*_spec\.rb$% } end
Version data entries
23 entries across 23 versions & 2 rubygems