Sha256: 9aebf5f9385a1368b2a4e63565642eccd37bc0fb4b4c3bdb3f564b0522f2dbea
Contents?: true
Size: 1.88 KB
Versions: 5
Compression:
Stored size: 1.88 KB
Contents
# frozen_string_literal: true require 'sequel' require 'sqlite3' require 'k_log' require 'ad/agent_architecture/version' require 'ad/agent_architecture/database/create_schema' DB = Sequel.sqlite Ad::AgentArchitecture::Database::CreateSchema.new(DB).execute require 'ad/agent_architecture/database/models' require 'ad/agent_architecture/database/sql_query' require 'ad/agent_architecture/dsl/data_accessors' require 'ad/agent_architecture/dsl/child_dsl' require 'ad/agent_architecture/dsl/attribute_dsl' require 'ad/agent_architecture/dsl/prompt_dsl' require 'ad/agent_architecture/dsl/section_dsl' require 'ad/agent_architecture/dsl/step_dsl' require 'ad/agent_architecture/dsl/settings_dsl' require 'ad/agent_architecture/dsl/workflow_dsl' require 'ad/agent_architecture/dsl/agent_dsl' require 'ad/agent_architecture/dsl/actions/save_database' require 'ad/agent_architecture/dsl/actions/save_json' require 'ad/agent_architecture/dsl/actions/save_yaml' require 'ad/agent_architecture/report/dsl_generator' require 'ad/agent_architecture/report/workflow_detail_report' require 'ad/agent_architecture/report/workflow_list_report' # AgentDsl Alias Agent = Ad::AgentArchitecture::Dsl::AgentDsl module Ad # Module for the Agent Architecture gem module AgentArchitecture # raise Ad::AgentArchitecture::Error, 'Sample message' Error = Class.new(StandardError) # Define the root path of the gem ROOT_PATH = Pathname.new(File.expand_path('../..', __dir__)) def self.gem_root ROOT_PATH end def self.gem_relative_file(*args) File.join(ROOT_PATH, *args) end end end if ENV.fetch('KLUE_DEBUG', 'false').downcase == 'true' namespace = 'AdAgentArchitecture::Version' file_path = $LOADED_FEATURES.find { |f| f.include?('ad-agent_architecture/version') } version = AdAgentArchitecture::VERSION.ljust(9) puts "#{namespace.ljust(35)} : #{version.ljust(9)} : #{file_path}" end
Version data entries
5 entries across 5 versions & 1 rubygems