Sha256: 7392de9754e300ad462c360f0b6ca60302bcf85a2b3e83cada8eac43771dd8a4

Contents?: true

Size: 503 Bytes

Versions: 10

Compression:

Stored size: 503 Bytes

Contents

Autotest.add_hook :initialize do |at|
  ignore = %w[ .git log plugins script tasks bin CHANGELOG FAQ MIT-LICENSE QUICKLINKS README ]

  ignore.each do |exception|
    at.add_exception(exception)
  end

  at.clear_mappings

  at.add_mapping(%r{^spec/.+_spec\.rb$}) do |filename,_|
    filename
  end

  at.add_mapping(%r{^lib/extlib/(.+)\.rb$}) do |_,match|
    [ "spec/#{match[1]}_spec.rb" ]
  end

  at.add_mapping(%r{^spec/spec_helper\.rb$}) do
    at.files_matching(%r{^spec/.+_spec\.rb$})
  end
end

Version data entries

10 entries across 9 versions & 4 rubygems

Version Path
extlib-0.9.16 .autotest
extlib-0.9.15 .autotest
robsharp-extlib-0.9.15 .autotest
sundbp-extlib-0.9.14 .autotest
middleman-0.13.1 lib/middleman/vendor/gems/ruby/1.8/gems/extlib-0.9.14/.autotest
middleman-0.13.1 lib/middleman/vendor/gems/ruby/1.9.1/gems/extlib-0.9.14/.autotest
middleman-0.12.2 lib/middleman/vendor/gems/gems/extlib-0.9.14/.autotest
middleman-0.12.1 lib/middleman/vendor/gems/gems/extlib-0.9.14/.autotest
extlib-0.9.14 .autotest
extlib-0.9.3 .autotest