Sha256: 96e35454b27e5329a1834ddb744b02d2921138ca91a03a5200e2cbb21ca2e205

Contents?: true

Size: 527 Bytes

Versions: 8

Compression:

Stored size: 527 Bytes

Contents

require 'fileutils'
require 'logger'
require 'timeout'

Dir.glob(File.expand_path('srv_manager/*.rb', File.dirname(__FILE__))).each { |f| require f }


module SrvManager

  PATH = File.expand_path '.srv_manager', Dir.home
  FileUtils.mkpath PATH unless Dir.exists? PATH

  TMP_PATH = File.expand_path 'tmp', PATH
  FileUtils.mkpath TMP_PATH unless Dir.exists? TMP_PATH

  LOG_FILE = File.expand_path 'events.log', PATH
  LOGGER = Logger.new LOG_FILE

  RVM_RUNNER = File.expand_path '../rvm/runner', File.dirname(__FILE__)

end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
srv_manager-0.0.8 lib/srv_manager.rb
srv_manager-0.0.7 lib/srv_manager.rb
srv_manager-0.0.6 lib/srv_manager.rb
srv_manager-0.0.5 lib/srv_manager.rb
srv_manager-0.0.4 lib/srv_manager.rb
srv_manager-0.0.3 lib/srv_manager.rb
srv_manager-0.0.2 lib/srv_manager.rb
srv_manager-0.0.1 lib/srv_manager.rb