Sha256: 72bf18fd81dbec4034f65dfecb9eddaf14e7c72ad4025c9f1caf8e4de605b601
Contents?: true
Size: 521 Bytes
Versions: 2
Compression:
Stored size: 521 Bytes
Contents
require 'sinatra/base' require 'slim' require 'json' require 'server_status/config' require 'server_status/client' Slim::Engine.set_default_options pretty: true LIB_ROOT = File.expand_path File.dirname(__FILE__) GEM_ROOT = File.expand_path '..', LIB_ROOT STATIC_ROOT = File.expand_path 'public', GEM_ROOT VIEW_ROOT = File.expand_path 'views', GEM_ROOT require 'server_status/app' def set_config file_name ServerStatusConfig.source File.expand_path file_name ServerStatusApp.set :port, ServerStatusConfig.port end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
server_status-0.1.1 | lib/server_status.rb |
server_status-0.1.0 | lib/server_status.rb |