llama_bot_rails 0.1.9 → 0.1.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '0850d756a8d86153485d9fdbcb9a0154834e646050da9169b3269d7937d6760f'
4
- data.tar.gz: c5276496549f2b055ec08dbfdf2615b47d431437f1d62845ff8b6c5d8baa0f7c
3
+ metadata.gz: a76c323b0d08220d2952ce3c1c3962dd203e645556123306fd9beb58c6ae17e6
4
+ data.tar.gz: 9e7c143edb324d49097ddabad7006635027ea6150cb07407702110546f0503c0
5
5
  SHA512:
6
- metadata.gz: 13c32b136629c642fb149a85197b445495e4c40f80a68402e5b7ab5f76d255b514a5584059df1e9bbe883f68a912c12d9de6811aed4de7f2d55d4ace6f23e432
7
- data.tar.gz: b0d26dad8ee336083c702301c7ba36a6aa5926c65220ea205af6dec0abc941366c4af5de0126ed580251673fc935c693de717dc779ffbe0ba1f0f1d8d82e0dab
6
+ metadata.gz: 232cd0a6410caffa47b25d0fd0e62a69ba9fdfdc779f7adc9ded2cab80879544dffc1de5a4a65e1dabfeadad6b4c0a5ff410d26d71e0ed44101ec9ab00ef0af2
7
+ data.tar.gz: 730c59884b06bbb671955a2d128c31c6e6b85c24fe6b70120bb7d67af5249d88696eb7069d99689598ed35dc2aaa422626111fe8d3f6b154d2c68dde3d72cda6
@@ -1,3 +1,3 @@
1
1
  module LlamaBotRails
2
- VERSION = "0.1.9"
2
+ VERSION = "0.1.10"
3
3
  end
@@ -1,7 +1,9 @@
1
1
  require "llama_bot_rails/version"
2
2
  require "llama_bot_rails/engine"
3
+
4
+ # require "llama_bot_rails/railtie" # We don't need this, as we're loading the LlamaBot path directly in the engine.
3
5
  require "llama_bot_rails/llama_bot"
4
- require "llama_bot_rails/railtie"
6
+ require "llama_bot_rails/agent_state_builder"
5
7
 
6
8
  module LlamaBotRails
7
9
  class << self
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: llama_bot_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.9
4
+ version: 0.1.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kody Kendall
@@ -129,7 +129,6 @@ files:
129
129
  - lib/llama_bot_rails/agent_state_builder.rb
130
130
  - lib/llama_bot_rails/engine.rb
131
131
  - lib/llama_bot_rails/llama_bot.rb
132
- - lib/llama_bot_rails/railtie.rb
133
132
  - lib/llama_bot_rails/tools/rails_console_tool.rb
134
133
  - lib/llama_bot_rails/version.rb
135
134
  - lib/tasks/llama_bot_rails_tasks.rake
@@ -1,19 +0,0 @@
1
- module LlamaBotRails
2
- class Railtie < ::Rails::Railtie
3
- config.before_configuration do |app|
4
- llama_bot_path = Rails.root.join("app", "llama_bot")
5
-
6
- # Add to autoload paths if it exists and isn't already included
7
- if llama_bot_path.exist? && !app.config.autoload_paths.include?(llama_bot_path.to_s)
8
- app.config.autoload_paths << llama_bot_path.to_s
9
- Rails.logger&.info "[LlamaBot] Added #{llama_bot_path} to autoload_paths"
10
- end
11
-
12
- # Add to eager load paths if it exists and isn't already included
13
- if llama_bot_path.exist? && !app.config.eager_load_paths.include?(llama_bot_path.to_s)
14
- app.config.eager_load_paths << llama_bot_path.to_s
15
- Rails.logger&.info "[LlamaBot] Added #{llama_bot_path} to eager_load_paths"
16
- end
17
- end
18
- end
19
- end