Sha256: cc195ce0df26475fedb71872013bcfb106b95d1504cf6519b0bcf052f28e9c28

Contents?: true

Size: 334 Bytes

Versions: 9

Compression:

Stored size: 334 Bytes

Contents

Autotest.add_hook :initialize do |at|
  at.clear_mappings
  
  at.add_mapping(%r%^test/test_.*.rb$%) do |filename, _| 
    filename 
  end
  at.add_mapping(/lib\/(.*)\.rb/) do |_, m|
    ["test/test_#{m[1]}.rb"]
  end
  # at.add_mapping(/.*_?generators\/(.*)\/(.*)_generator\.rb/) do |_, m|
  #   ["test/test_#{m[1]}.rb"]
  # end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
rubigen-1.5.8 .autotest
rubigen-1.5.7 .autotest
rubigen-1.5.6 .autotest
rubigen-1.5.5 .autotest
rubigen-1.5.4 .autotest
rubigen-1.5.3 .autotest
rubigen-1.5.2 .autotest
rubigen-1.5.0 .autotest
rubigen-1.5.1 .autotest