solid_queue_autoscaler 1.0.5 → 1.0.7
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 +16 -0
- data/lib/solid_queue_autoscaler/dashboard/engine.rb +4 -10
- data/lib/solid_queue_autoscaler/version.rb +1 -1
- metadata +6 -6
- /data/{lib/solid_queue_autoscaler/dashboard/views/layouts/solid_queue_autoscaler/dashboard/application.html.erb → app/views/layouts/solid_queue_autoscaler/dashboard.html.erb} +0 -0
- /data/{lib/solid_queue_autoscaler/dashboard → app}/views/solid_queue_autoscaler/dashboard/dashboard/index.html.erb +0 -0
- /data/{lib/solid_queue_autoscaler/dashboard → app}/views/solid_queue_autoscaler/dashboard/events/index.html.erb +0 -0
- /data/{lib/solid_queue_autoscaler/dashboard → app}/views/solid_queue_autoscaler/dashboard/workers/index.html.erb +0 -0
- /data/{lib/solid_queue_autoscaler/dashboard → app}/views/solid_queue_autoscaler/dashboard/workers/show.html.erb +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c25a5d2a7570ea01da30c54a42624674b23d7112bef33da9d82c5ec1257933a5
|
|
4
|
+
data.tar.gz: '081a9f3000bcb460bc7254e7597c2f3e0ddd7afd9517f1f213bf1bd3cc2020c7'
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 580ac675beb8175d1c4897bbb251d20ab7475779a8d49d2fabfd2ea800f8f27b079df5c7f627a27e22ee2220a6e8d5fa06411a00c846888c5c456a32cc3bbdc6
|
|
7
|
+
data.tar.gz: b1a8f294a803035338f49436f98d479ee8ed39a2f5bdbb7b64e0701a5e00365a05d32e7e7ba8385a89d9dd72ba2c1f09019e9d7ce79e5de3f1e0a2a20ff50180
|
data/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,22 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [1.0.7] - 2025-01-16
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
- **Fixed Dashboard MissingExactTemplate error** - Views now work correctly in Rails applications
|
|
14
|
+
- Moved views from `lib/` to `app/views/` (standard Rails engine structure)
|
|
15
|
+
- Added `prepend_view_path Engine.root.join('app', 'views')` to ApplicationController for reliable view path resolution
|
|
16
|
+
- Updated gemspec to include `app/**/*` in files array
|
|
17
|
+
- Fixed layout path reference to `solid_queue_autoscaler/dashboard`
|
|
18
|
+
|
|
19
|
+
## [1.0.6] - 2025-01-16
|
|
20
|
+
|
|
21
|
+
### Fixed
|
|
22
|
+
- Fixed Dashboard templates not being found (`MissingExactTemplate` error)
|
|
23
|
+
- View paths are now captured at class definition time instead of inside callbacks where `__dir__` was evaluated incorrectly
|
|
24
|
+
- Properly configures both engine and application view paths for reliable template resolution
|
|
25
|
+
|
|
10
26
|
## [1.0.5] - 2025-01-16
|
|
11
27
|
|
|
12
28
|
### Added
|
|
@@ -22,15 +22,6 @@ module SolidQueueAutoscaler
|
|
|
22
22
|
config.solid_queue_autoscaler_dashboard = ActiveSupport::OrderedOptions.new
|
|
23
23
|
config.solid_queue_autoscaler_dashboard.title = 'Solid Queue Autoscaler'
|
|
24
24
|
|
|
25
|
-
# Configure view paths
|
|
26
|
-
config.paths['app/views'] = File.expand_path('views', __dir__)
|
|
27
|
-
|
|
28
|
-
initializer 'solid_queue_autoscaler.dashboard.view_paths' do
|
|
29
|
-
ActiveSupport.on_load(:action_controller) do
|
|
30
|
-
append_view_path File.expand_path('views', __dir__)
|
|
31
|
-
end
|
|
32
|
-
end
|
|
33
|
-
|
|
34
25
|
initializer 'solid_queue_autoscaler.dashboard.integration' do
|
|
35
26
|
# Auto-integrate with Mission Control if available
|
|
36
27
|
ActiveSupport.on_load(:mission_control) do
|
|
@@ -43,7 +34,10 @@ module SolidQueueAutoscaler
|
|
|
43
34
|
class ApplicationController < ActionController::Base
|
|
44
35
|
protect_from_forgery with: :exception
|
|
45
36
|
|
|
46
|
-
|
|
37
|
+
# Add the engine's view paths to this controller
|
|
38
|
+
prepend_view_path Engine.root.join('app', 'views')
|
|
39
|
+
|
|
40
|
+
layout 'solid_queue_autoscaler/dashboard'
|
|
47
41
|
|
|
48
42
|
private
|
|
49
43
|
|
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.
|
|
4
|
+
version: 1.0.7
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- reillyse
|
|
@@ -119,6 +119,11 @@ files:
|
|
|
119
119
|
- CHANGELOG.md
|
|
120
120
|
- LICENSE.txt
|
|
121
121
|
- README.md
|
|
122
|
+
- app/views/layouts/solid_queue_autoscaler/dashboard.html.erb
|
|
123
|
+
- app/views/solid_queue_autoscaler/dashboard/dashboard/index.html.erb
|
|
124
|
+
- app/views/solid_queue_autoscaler/dashboard/events/index.html.erb
|
|
125
|
+
- app/views/solid_queue_autoscaler/dashboard/workers/index.html.erb
|
|
126
|
+
- app/views/solid_queue_autoscaler/dashboard/workers/show.html.erb
|
|
122
127
|
- lib/generators/solid_queue_autoscaler/dashboard_generator.rb
|
|
123
128
|
- lib/generators/solid_queue_autoscaler/install_generator.rb
|
|
124
129
|
- lib/generators/solid_queue_autoscaler/migration_generator.rb
|
|
@@ -137,11 +142,6 @@ files:
|
|
|
137
142
|
- lib/solid_queue_autoscaler/cooldown_tracker.rb
|
|
138
143
|
- lib/solid_queue_autoscaler/dashboard.rb
|
|
139
144
|
- lib/solid_queue_autoscaler/dashboard/engine.rb
|
|
140
|
-
- lib/solid_queue_autoscaler/dashboard/views/layouts/solid_queue_autoscaler/dashboard/application.html.erb
|
|
141
|
-
- lib/solid_queue_autoscaler/dashboard/views/solid_queue_autoscaler/dashboard/dashboard/index.html.erb
|
|
142
|
-
- lib/solid_queue_autoscaler/dashboard/views/solid_queue_autoscaler/dashboard/events/index.html.erb
|
|
143
|
-
- lib/solid_queue_autoscaler/dashboard/views/solid_queue_autoscaler/dashboard/workers/index.html.erb
|
|
144
|
-
- lib/solid_queue_autoscaler/dashboard/views/solid_queue_autoscaler/dashboard/workers/show.html.erb
|
|
145
145
|
- lib/solid_queue_autoscaler/decision_engine.rb
|
|
146
146
|
- lib/solid_queue_autoscaler/errors.rb
|
|
147
147
|
- lib/solid_queue_autoscaler/metrics.rb
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|