Sha256: ba5b917bf95a4f21044c1909f24f8fd9b1cc0cdb737b07953fba63cb6e4cdde3

Contents?: true

Size: 375 Bytes

Versions: 5

Compression:

Stored size: 375 Bytes

Contents

require 'ostruct'
require 'daemons'
require 'log4r'

class OpenStruct
  def to_h
    @table
  end
end

module Daemons
  class PidFile 
    # we override this method so creating pid files is fork-safe
    def filename 
      File.join(@dir, "#{@progname}#{Process.pid}.pid")
    end
  end
end

module Log4r
  class Logger
    def error(args)
      err(args)
    end
  end
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
auxesis-flapjack-0.4.10 lib/flapjack/patches.rb
auxesis-flapjack-0.4.9 lib/flapjack/patches.rb
flapjack-0.4.12 lib/flapjack/patches.rb
flapjack-0.4.11 lib/flapjack/patches.rb
flapjack-0.4.10 lib/flapjack/patches.rb