Sha256: d0ea312eb03aa483844d4fe2b7652e9ad1b282ad80c8e40d629fcf8cc7ca179a

Contents?: true

Size: 297 Bytes

Versions: 8

Compression:

Stored size: 297 Bytes

Contents

require "logstash/devutils/rspec/spec_helper"

# use a dummy NOOP filter to test Filters::Base
class LogStash::Filters::NOOP < LogStash::Filters::Base
  config_name "noop"
  milestone 2

  def register; end

  def filter(event)
    return unless filter?(event)
    filter_matched(event)
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
logstash-output-email-3.0.0 spec/spec_helper.rb
logstash-output-email-2.0.0 spec/spec_helper.rb
logstash-output-email-1.1.0 spec/spec_helper.rb
logstash-output-email-1.0.0 spec/spec_helper.rb
logstash-output-email-0.1.8 spec/spec_helper.rb
logstash-output-email-0.1.7 spec/spec_helper.rb
logstash-output-email-0.1.6 spec/spec_helper.rb
logstash-output-email-0.1.5 spec/spec_helper.rb