solid_queue_autoscaler 1.0.0 → 1.0.2

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: 7ba25b2ae8e389c0cc4da50d7587f93df6b6eeb404ffe4d810ff8e4b574354dd
4
- data.tar.gz: 73da42d85f85f71efcaa913467dffaf1aac049d2a0c12fd3a52965600f682be6
3
+ metadata.gz: d849dd7bba4ebcdd51aa8b25faef05ba9a58e5c117c3dbfd136e644e387f31ac
4
+ data.tar.gz: 31fa0eb094b993292a3237300a284f67196ce6dbfae82cd30639dda8cbe68dd9
5
5
  SHA512:
6
- metadata.gz: df644086ce41dd9ac5f7788551db7eec3fff37bfae9b81ead46d41d8850a49beaa72b0a8299a3c32171f2c8a321b0ff64ec969b4a00ad19cd9d8422b87358fc8
7
- data.tar.gz: 22d75c0d678297d5ca8ac2e8c1265c2adc95b4f398a9daa4bd7a349d3ebbb3142e1753f6ec8732e88790bd97c95d6da5448549e2468e3814bfc711f502731363
6
+ metadata.gz: 278c2f388f1d2b4de399eb68a92f66fa3515627abbd93130a98ebb90cbc1a31ee0659d6c6afeb4496fcefcc66d4200fec36a8385ea60dc35ded8c6ed7bfc92d9
7
+ data.tar.gz: 265355b28447d12d6d4c40021a0467f3d04440b125576259e79d63e1f3bda5433245b89ae0ef344802bd71b260632f165f379295710ba512d08f7620f93a7a02
data/CHANGELOG.md CHANGED
@@ -7,6 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [1.0.2] - 2025-01-16
11
+
12
+ ### Fixed
13
+ - Fixed Dashboard::Engine not loading properly in Rails applications due to load order issues
14
+ - Engine is now loaded via a railtie initializer to ensure Rails is fully initialized first
15
+ - Verified working in real Rails applications
16
+
17
+ ## [1.0.1] - 2025-01-16 [YANKED]
18
+
19
+ ### Fixed
20
+ - Attempted fix for Dashboard::Engine loading (incomplete)
21
+
10
22
  ## [1.0.0] - 2025-01-16
11
23
 
12
24
  ### Changed
@@ -1,7 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require_relative 'dashboard/engine' if defined?(Rails::Engine)
4
-
5
3
  module SolidQueueAutoscaler
6
4
  # Dashboard module provides a web UI for monitoring the autoscaler.
7
5
  # Integrates with Mission Control Solid Queue when available.
@@ -2,6 +2,11 @@
2
2
 
3
3
  module SolidQueueAutoscaler
4
4
  class Railtie < Rails::Railtie
5
+ # Load the dashboard engine in an initializer to ensure Rails is fully loaded
6
+ initializer 'solid_queue_autoscaler.load_dashboard', before: :load_config_initializers do
7
+ require_relative 'dashboard/engine'
8
+ end
9
+
5
10
  initializer 'solid_queue_autoscaler.configure' do
6
11
  # Configuration happens via initializer, nothing to do here
7
12
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SolidQueueAutoscaler
4
- VERSION = '1.0.0'
4
+ VERSION = '1.0.2'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solid_queue_autoscaler
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - reillyse