Sha256: f76aa67cb7af24d1cec0c369d3652e5c0775075da48b56dcaf6617909fd275fa

Contents?: true

Size: 329 Bytes

Versions: 11

Compression:

Stored size: 329 Bytes

Contents

Autotest.add_hook :initialize do |at|
  root = File.dirname(__FILE__)
  at.add_mapping(%r%^lib/(.*)\.rb$%) { |_, m|
    ["spec/#{m[1]}_spec.rb"]
  }
  at.add_mapping(%r%^spec/.*_spec\.rb$%) { |filename|
    filename
  }
  at.add_mapping(%r%^spec/support/.*\.rb$%) { |_|
    Dir[File.join(root, 'spec/**/*_spec.rb')]
  }
  nil
end

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
dozuki-mapper-0.1.2 .autotest
dozuki-mapper-0.1.1 .autotest
dozuki-mapper-0.1.0 .autotest
dozuki-mapper-0.0.2 .autotest
dozuki-mapper-0.0.1 .autotest
dozuki-0.4.0 .autotest
dozuki-0.3.0 .autotest
dozuki-0.2.0 .autotest
dozuki-0.1.0 .autotest
dozuki-0.0.3 .autotest
dozuki-0.0.1 .autotest