Sha256: e892bb857e16d43712fdea5b4d9dfe872da0a9457aa67707842704a67f922704

Contents?: true

Size: 704 Bytes

Versions: 6

Compression:

Stored size: 704 Bytes

Contents

require 'rubygems'
require 'bundler'
begin
  Bundler.setup(:default, :development)
rescue Bundler::BundlerError => e
  $stderr.puts e.message
  $stderr.puts "Run `bundle install` to install missing gems"
  exit e.status_code
end
require 'test/unit'

$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(File.dirname(__FILE__))
require 'fluent/test'
unless ENV.has_key?('VERBOSE')
  nulllogger = Object.new
  nulllogger.instance_eval {|obj|
    def method_missing(method, *args)
      # pass
    end
  }
  $log = nulllogger
end

require 'fluent/plugin/out_geoip'
if Fluent.const_defined?(:Filter)
  require 'fluent/plugin/filter_geoip'
end

class Test::Unit::TestCase
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
fluent-plugin-geoip-0.8.2 test/helper.rb
fluent-plugin-geoip-0.8.1 test/helper.rb
fluent-plugin-geoip-0.8.0 test/helper.rb
fluent-plugin-geoip-0.7.0 test/helper.rb
fluent-plugin-geoip-0.6.1 test/helper.rb
fluent-plugin-geoip-0.6.0 test/helper.rb