lib/site_hook.rb in site_hook-0.6.7 vs lib/site_hook.rb in site_hook-0.6.8
- old
+ new
@@ -59,10 +59,10 @@
# class Webhook (inherits from Sinatra::Base)
class Webhook < Sinatra::Base
HOOKLOG = SiteHook::HookLogger::HookLog.new(SiteHook.log_levels['hook']).log
BUILDLOG = SiteHook::HookLogger::BuildLog.new(SiteHook.log_levels['build']).log
APPLOG = SiteHook::HookLogger::AppLog.new(SiteHook.log_levels['app']).log
- JPHRC = YAML.load_file(Pathname(Dir.home).join('.jph-rc'))
+ JPHRC = YAML.load_file(Pathname(Dir.home).join('.jph', 'config'))
set port: JPHRC.fetch('port', 9090)
set bind: '127.0.0.1'
set server: %w[thin]
set quiet: true
set raise_errors: true