Sha256: 2bcb1b4acad9a20f69f3917afb787b41882f5360ef7bd0dc2d532d0f92b1f402
Contents?: true
Size: 1.34 KB
Versions: 6
Compression:
Stored size: 1.34 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/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
6 entries across 6 versions & 1 rubygems
Version | Path |
---|---|
ruboty-1.1.3 | lib/ruboty.rb |
ruboty-1.1.2 | lib/ruboty.rb |
ruboty-1.1.1 | lib/ruboty.rb |
ruboty-1.1.0 | lib/ruboty.rb |
ruboty-1.0.4 | lib/ruboty.rb |
ruboty-1.0.3 | lib/ruboty.rb |