Sha256: 96c0ab88cddddad62bf6ef9b8aea7232f8889d9d6b433373187146e538a89242
Contents?: true
Size: 1.37 KB
Versions: 2
Compression:
Stored size: 1.37 KB
Contents
require "active_support/concern" require "active_support/core_ext/module/delegation" require "active_support/core_ext/string/inflections" require "bundler" require "dotenv" require "mem" require "slop" module Ruboty class << self include Mem def logger @logger ||= Ruboty::Logger.new($stdout) end def die(message) logger.error("Error: #{message}") exit(1) end def handlers [] end memoize :handlers def actions handlers.map(&:actions).flatten.sort_by { |action| action.all? ? 1 : 0 } end end end require "ruboty/action" require "ruboty/actions/base" require "ruboty/actions/help" require "ruboty/actions/ping" require "ruboty/actions/whoami" require "ruboty/adapter_builder" require "ruboty/env" require "ruboty/env/missing_required_key_error" require "ruboty/env/validatable" require "ruboty/env/validation_error" require "ruboty/adapters/base" require "ruboty/adapters/shell" require "ruboty/brains/base" require "ruboty/brains/memory" require "ruboty/command_builder" require "ruboty/commands/base" require "ruboty/commands/generate" require "ruboty/commands/help" require "ruboty/commands/run" require "ruboty/handlers/base" require "ruboty/handlers/help" require "ruboty/handlers/ping" require "ruboty/handlers/whoami" require "ruboty/logger" require "ruboty/message" require "ruboty/robot" require "ruboty/version"
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ruboty-1.1.5 | lib/ruboty.rb |
ruboty-1.1.4 | lib/ruboty.rb |