lib/flydata.rb in flydata-0.2.19 vs lib/flydata.rb in flydata-0.2.20
- old
+ new
@@ -23,8 +23,16 @@
module Flydata
FLYDATA_DEBUG = !!(ENV['FLYDATA_DEBUG'])
FLYDATA_HOME = ENV['FLYDATA_HOME'] || "#{ENV['HOME']}/.flydata"
FLYDATA_GEM_HOME = File.expand_path(File.join(File.dirname(__FILE__), '..'))
+ FLYDATA_GEM_BIN = File.join(FLYDATA_GEM_HOME, 'bin')
FLYDATA_TMPL_DIR = File.join(FLYDATA_GEM_HOME, 'tmpl')
+ FLYDATA_FLUENT_PLUGIN_DIR = File.join(FLYDATA_GEM_HOME, 'lib', 'flydata', 'fluent-plugins')
+
+ FLYDATA_SERVERINFO = File.join(FLYDATA_GEM_BIN, 'serverinfo')
+ FLYDATA_LOG = File.join(FLYDATA_HOME, 'flydata.log')
+ FLYDATA_CONF = File.join(FLYDATA_HOME, 'flydata.conf')
+
+ VERSION_PATH = File.join(FLYDATA_GEM_HOME, 'VERSION')
include Flydata::Heroku
end