solid_queue_autoscaler 1.0.6 → 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 +9 -0
- data/lib/solid_queue_autoscaler/dashboard/engine.rb +4 -12
- 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,15 @@ 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
|
+
|
|
10
19
|
## [1.0.6] - 2025-01-16
|
|
11
20
|
|
|
12
21
|
### Fixed
|
|
@@ -22,17 +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
|
-
# Capture views path at class definition time (not inside callbacks)
|
|
26
|
-
VIEWS_PATH = File.expand_path('views', __dir__).freeze
|
|
27
|
-
|
|
28
|
-
# Configure view paths for the engine
|
|
29
|
-
config.paths['app/views'] << VIEWS_PATH
|
|
30
|
-
|
|
31
|
-
initializer 'solid_queue_autoscaler.dashboard.view_paths', before: :add_view_paths do |app|
|
|
32
|
-
# Add views path to the application's view paths
|
|
33
|
-
app.config.paths['app/views'] << VIEWS_PATH
|
|
34
|
-
end
|
|
35
|
-
|
|
36
25
|
initializer 'solid_queue_autoscaler.dashboard.integration' do
|
|
37
26
|
# Auto-integrate with Mission Control if available
|
|
38
27
|
ActiveSupport.on_load(:mission_control) do
|
|
@@ -45,7 +34,10 @@ module SolidQueueAutoscaler
|
|
|
45
34
|
class ApplicationController < ActionController::Base
|
|
46
35
|
protect_from_forgery with: :exception
|
|
47
36
|
|
|
48
|
-
|
|
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'
|
|
49
41
|
|
|
50
42
|
private
|
|
51
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
|