Sha256: eea2ff161b4f1848c85c67fc624a07abac154ba4a6d66a77439e494780e643f2
Contents?: true
Size: 1.12 KB
Versions: 3
Compression:
Stored size: 1.12 KB
Contents
$: << File.dirname(__FILE__) unless $:.include?(File.expand_path(File.dirname(__FILE__))) require "formatador" require 'rubydns' require 'em-proxy' require 'http-parser' require "ostruct" require "uuid" require "highline" require "invoker/version" require "invoker/logger" require "invoker/runner" require "invoker/command_listener/server" require "invoker/command_listener/client" require "invoker/power" require "invoker/errors" require "invoker/parsers/config" require "invoker/parsers/option_parser" require "invoker/commander" require "invoker/command_worker" require "invoker/reactor" require "invoker/event/manager" require "invoker/process_printer" module Invoker def self.darwin? ruby_platform.downcase.include?("darwin") end def self.ruby_platform RUBY_PLATFORM end def self.can_run_balancer?(throw_warning = true) return false unless darwin? return true if File.exists?(Invoker::Power::Config::CONFIG_LOCATION) if throw_warning Invoker::Logger.puts("Invoker has detected setup has not been run. Domain feature will not work without running setup command.".color(:red)) end false end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
invoker-1.0.2 | lib/invoker.rb |
invoker-1.0.1 | lib/invoker.rb |
invoker-1.0.0 | lib/invoker.rb |