lib/activehook/server/launcher.rb in activehook-server-0.1.5 vs lib/activehook/server/launcher.rb in activehook-server-0.1.6
- old
+ new
@@ -16,31 +16,31 @@
end
private
def start_message
- ActiveHook::Server.log.info('ActiveHook Server starting!')
- ActiveHook::Server.log.info("* Version #{ActiveHook::Server::VERSION}, codename: #{ActiveHook::Server::CODENAME}")
+ Server.log.info('ActiveHook Server starting!')
+ Server.log.info("* Version #{Server::VERSION}, codename: #{Server::CODENAME}")
end
# Parses the arguments passed through the command line.
#
def setup_options
parser = OptionParser.new do |o|
o.banner = 'Usage: bundle exec bin/activehook [options]'
o.on('-c', '--config PATH', 'Load PATH for config file') do |arg|
load(arg)
- ActiveHook::Server.log.info("* Server config: #{arg}")
+ Server.log.info("* Server config: #{arg}")
end
o.on('-h', '--help', 'Prints this help') { puts o && exit }
end
parser.parse!(@argv)
end
def boot_manager
- manager = Manager.new(ActiveHook::Server.config.manager_options)
+ manager = Manager.new(Server.config.manager_options)
manager.start
end
end
end
end