Learn more  » Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Bower components Debian packages RPM packages NuGet packages

vistahigherlearning / logstash   deb

Repository URL to install this package:

Version: 1.4.2-1-2c0f5a1 

/ opt / logstash / vendor / bundle / jruby / 1.9 / gems / extlib-0.9.16 / .autotest

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