solid_queue_autoscaler 1.0.1 → 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: 8906fc1656509c2abc82235e62dbb93cf04738222c547cf1eedfeab29be8f944
4
- data.tar.gz: 9949a6e3a78cc0e494b463eb4ef0251559162c57b75216d4a7557c212af3c20f
3
+ metadata.gz: d849dd7bba4ebcdd51aa8b25faef05ba9a58e5c117c3dbfd136e644e387f31ac
4
+ data.tar.gz: 31fa0eb094b993292a3237300a284f67196ce6dbfae82cd30639dda8cbe68dd9
5
5
  SHA512:
6
- metadata.gz: 5e41601195114b632a01e0b8f137d056dbd549a2f2fe7b81d29c1a9687161b9cefbd4fe849686a6fe5a80fb77bc32c87b0a89b59e3da63c662efeb18b20717ea
7
- data.tar.gz: 9b55e124420d321a9abf50f3301edf21ec592d738d6cfc2116a246a97c2342cfdd98e050f8824a5d745721853f2903cbdff59be064846fbc1e421a8dca4e1ab7
6
+ metadata.gz: 278c2f388f1d2b4de399eb68a92f66fa3515627abbd93130a98ebb90cbc1a31ee0659d6c6afeb4496fcefcc66d4200fec36a8385ea60dc35ded8c6ed7bfc92d9
7
+ data.tar.gz: 265355b28447d12d6d4c40021a0467f3d04440b125576259e79d63e1f3bda5433245b89ae0ef344802bd71b260632f165f379295710ba512d08f7620f93a7a02
data/CHANGELOG.md CHANGED
@@ -7,11 +7,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
- ## [1.0.1] - 2025-01-16
10
+ ## [1.0.2] - 2025-01-16
11
11
 
12
12
  ### Fixed
13
13
  - Fixed Dashboard::Engine not loading properly in Rails applications due to load order issues
14
- - Engine is now loaded from the railtie to ensure Rails is fully initialized first
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)
15
21
 
16
22
  ## [1.0.0] - 2025-01-16
17
23
 
@@ -1,10 +1,12 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Load the dashboard engine when Rails is available
4
- require_relative 'dashboard/engine'
5
-
6
3
  module SolidQueueAutoscaler
7
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
+
8
10
  initializer 'solid_queue_autoscaler.configure' do
9
11
  # Configuration happens via initializer, nothing to do here
10
12
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SolidQueueAutoscaler
4
- VERSION = '1.0.1'
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.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - reillyse