Sha256: 3f72685079ff0ab550cb4932b112315cbd1e5a71453e401784119e4595c652e9

Contents?: true

Size: 535 Bytes

Versions: 597

Compression:

Stored size: 535 Bytes

Contents

#{{{ Require files
Rbbt.etc.knowledge_bases.read.split("\n").each do |workflow|
  next if workflow.empty?
  Log.debug("syndicating knowledgebase from workflow #{ workflow }")
  begin
    wf = Kernel.const_get workflow
    begin require "rbbt/knowledge_base/#{ workflow }" rescue Exception end
    KnowledgeBaseRESTHelpers.add_syndication Misc.snake_case(workflow), wf.knowledge_base
  rescue Exception
    Log.warn "Exception loading knowledgebase from #{ workflow }"
    Log.exception $!
  end
end if Rbbt.etc.knowledge_bases.exists?

Version data entries

597 entries across 597 versions & 1 rubygems

Version Path
rbbt-util-5.44.1 etc/app.d/knowledge_bases.rb
rbbt-util-5.43.0 etc/app.d/knowledge_bases.rb
rbbt-util-5.42.0 etc/app.d/knowledge_bases.rb
rbbt-util-5.41.1 etc/app.d/knowledge_bases.rb
rbbt-util-5.41.0 etc/app.d/knowledge_bases.rb
rbbt-util-5.40.5 etc/app.d/knowledge_bases.rb
rbbt-util-5.40.4 etc/app.d/knowledge_bases.rb
rbbt-util-5.40.3 etc/app.d/knowledge_bases.rb
rbbt-util-5.40.0 etc/app.d/knowledge_bases.rb
rbbt-util-5.39.0 etc/app.d/knowledge_bases.rb
rbbt-util-5.38.1 etc/app.d/knowledge_bases.rb
rbbt-util-5.38.0 etc/app.d/knowledge_bases.rb
rbbt-util-5.37.16 etc/app.d/knowledge_bases.rb
rbbt-util-5.37.15 etc/app.d/knowledge_bases.rb
rbbt-util-5.37.14 etc/app.d/knowledge_bases.rb
rbbt-util-5.37.13 etc/app.d/knowledge_bases.rb
rbbt-util-5.37.12 etc/app.d/knowledge_bases.rb
rbbt-util-5.37.11 etc/app.d/knowledge_bases.rb
rbbt-util-5.37.10 etc/app.d/knowledge_bases.rb
rbbt-util-5.37.9 etc/app.d/knowledge_bases.rb