lib/flapjack/patches.rb in flapjack-0.6.53 vs lib/flapjack/patches.rb in flapjack-0.6.54
- old
+ new
@@ -1,24 +1,14 @@
#!/usr/bin/env ruby
require 'ostruct'
-require 'daemons'
require 'thin'
require 'resque'
# 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