activerabbit-ai 0.4.0 → 0.4.1
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 +4 -4
- data/CHANGELOG.md +8 -0
- data/check_api_data.rb +0 -0
- data/lib/active_rabbit/client/railtie.rb +4 -2
- data/lib/active_rabbit/client/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cc6f70049c2b884248d9d15062ab2bb69887cdcf0430e92c96213d6a81559310
|
|
4
|
+
data.tar.gz: 2dd36a9c979f33b42bbe22e5422bc659a7d4c0752b312d9b8345cd2d11ad65bb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: eebd3ced14adfd6831ec0405e2a33df376eb2e510156e37a78195038710133f75d2794b5aae06322ba3a7f1d29cb6633531a9eacc25e842df49995d85334739b
|
|
7
|
+
data.tar.gz: cc369187974da2d7c9b8fffccfc0079f875e1d78ae3644197eedeadfc64d0ab3e881c99ee1755597f85371bd7d923dbac2f8e403c0f62666c39fe75b070a0ee8
|
data/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
|
|
5
|
+
## [0.4.1] - 2025-01-04
|
|
6
|
+
|
|
7
|
+
### Fixed
|
|
8
|
+
- Added explicit `require "logger"` to prevent Rails initialization issues
|
|
9
|
+
- Made Rails.logger access safer with fallback to STDOUT logger
|
|
10
|
+
- Changed initializer to run after `:initialize_logger` to ensure proper load order
|
|
11
|
+
- Fixed potential NameError with ActiveSupport::LoggerThreadSafeLevel::Logger
|
|
12
|
+
|
|
5
13
|
## [0.4.0] - 2025-01-04
|
|
6
14
|
|
|
7
15
|
### Added
|
data/check_api_data.rb
ADDED
|
File without changes
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
+
require "logger"
|
|
4
|
+
|
|
3
5
|
begin
|
|
4
6
|
require "rails/railtie"
|
|
5
7
|
rescue LoadError
|
|
@@ -16,11 +18,11 @@ module ActiveRabbit
|
|
|
16
18
|
class Railtie < Rails::Railtie
|
|
17
19
|
config.active_rabbit = ActiveSupport::OrderedOptions.new
|
|
18
20
|
|
|
19
|
-
initializer "active_rabbit.configure" do |app|
|
|
21
|
+
initializer "active_rabbit.configure", after: :initialize_logger do |app|
|
|
20
22
|
# Configure ActiveRabbit from Rails configuration
|
|
21
23
|
ActiveRabbit::Client.configure do |config|
|
|
22
24
|
config.environment = Rails.env
|
|
23
|
-
config.logger = Rails.logger
|
|
25
|
+
config.logger = Rails.logger rescue Logger.new(STDOUT)
|
|
24
26
|
config.release = detect_release(app)
|
|
25
27
|
end
|
|
26
28
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: activerabbit-ai
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Alex Shapalov
|
|
@@ -81,6 +81,7 @@ files:
|
|
|
81
81
|
- README.md
|
|
82
82
|
- Rakefile
|
|
83
83
|
- TESTING_GUIDE.md
|
|
84
|
+
- check_api_data.rb
|
|
84
85
|
- examples/rails_app_testing.rb
|
|
85
86
|
- examples/rails_integration.rb
|
|
86
87
|
- examples/standalone_usage.rb
|