Module: Testbot

Defined in:
lib/railtie.rb,
lib/shared/testbot.rb,
lib/shared/version.rb

Defined Under Namespace

Modules: Requester, Runner, Server Classes: CLI, Railtie

Constant Summary collapse

SERVER_PID =
"/tmp/testbot_server.pid"
RUNNER_PID =
"/tmp/testbot_runner.pid"
DEFAULT_WORKING_DIR =
"/tmp/testbot"
DEFAULT_SERVER_PATH =
"/tmp/testbot/#{ENV['USER']}"
DEFAULT_USER =
"testbot"
DEFAULT_PROJECT =
"project"
DEFAULT_RUNNER_USAGE =
"100%"
SERVER_PORT =
ENV['INTEGRATION_TEST'] ? 22880 : 2288

Class Method Summary collapse

Class Method Details

.versionObject

Don’t forget to update readme and changelog



3
4
5
6
7
8
9
10
# File 'lib/shared/version.rb', line 3

def self.version
  version = "0.7.12"
  dev_version_file = File.join(File.dirname(__FILE__), '..', '..', 'DEV_VERSION')
  if File.exists?(dev_version_file)
    version += File.read(dev_version_file)
  end
  version
end