Sha256: 0435e98f71d867faebc5f122f74c0437844b5e5ef6b182085b3022dd792aa790
Contents?: true
Size: 562 Bytes
Versions: 2
Compression:
Stored size: 562 Bytes
Contents
require 'tmpdir' require 'pathname' class Pathname @@tempname_number = 0 def self.tempname(base=$0, dir=Dir.tmpdir) @@tempname_number += 1 path = new(dir) + "#{File.basename(base)}.#{$$}.#{@@tempname_number}" at_exit do path.rmtree if path.exist? end path end end dir = Pathname.tempname dir.mkpath ENV["HOME"] = dir.to_s require 'pit' require 'test/unit' require 'fluent/test' require 'fluent/config' require 'fluent/plugin/pit' require 'fluent/plugin/in_config_pit' require 'fluent/plugin/out_config_pit' require 'plugins'
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
fluent-plugin-config_pit-0.0.2 | test/helper.rb |
fluent-plugin-config_pit-0.0.1 | test/helper.rb |