solid_queue_autoscaler 1.0.2 → 1.0.4

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: d849dd7bba4ebcdd51aa8b25faef05ba9a58e5c117c3dbfd136e644e387f31ac
4
- data.tar.gz: 31fa0eb094b993292a3237300a284f67196ce6dbfae82cd30639dda8cbe68dd9
3
+ metadata.gz: 34a00ec2fcaa967d5d9ccb7788380f40e411989940e31e685d53f35a2505c7d2
4
+ data.tar.gz: 57c6f53c0c177283cce94bfc7c16916dbd98646567fda50e946c1805e343c408
5
5
  SHA512:
6
- metadata.gz: 278c2f388f1d2b4de399eb68a92f66fa3515627abbd93130a98ebb90cbc1a31ee0659d6c6afeb4496fcefcc66d4200fec36a8385ea60dc35ded8c6ed7bfc92d9
7
- data.tar.gz: 265355b28447d12d6d4c40021a0467f3d04440b125576259e79d63e1f3bda5433245b89ae0ef344802bd71b260632f165f379295710ba512d08f7620f93a7a02
6
+ metadata.gz: 57f8c7f0d6a7a3010b30b3224da0f265b88048fa41d63f9dfe7651e1a3c2eca6ad6b9adbd3da512218e35dbafdbbf39d8e97dfc0b20fa5ffb5245bba85ad19ea
7
+ data.tar.gz: 4180ec88ddcf52bc708403b83257ea422e6880ac581be009493ba05d524cfe33c1d0dd423eaded9b8824484ec9d76a4094da7e9a0bf08bceaa1ad5e56b59108e
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.4] - 2025-01-16
11
+
12
+ ### Fixed
13
+ - Fixed YAML syntax in README examples that caused parsing errors when users copied them
14
+ - Changed `args: [:all]` to block array syntax `args:\n - :all` to avoid YAML flow node parsing issues with symbols
15
+
16
+ ## [1.0.3] - 2025-01-16
17
+
18
+ ### Fixed
19
+ - Fixed remaining old gem name references in generator templates and codebuff.json
20
+ - Renamed spec file from `solid_queue_heroku_autoscaler_spec.rb` to `solid_queue_autoscaler_spec.rb`
21
+
10
22
  ## [1.0.2] - 2025-01-16
11
23
 
12
24
  ### Fixed
data/README.md CHANGED
@@ -273,20 +273,23 @@ autoscaler_all:
273
273
  class: SolidQueueAutoscaler::AutoscaleJob
274
274
  queue: autoscaler
275
275
  schedule: every 30 seconds
276
- args: [:all]
276
+ args:
277
+ - :all
277
278
 
278
279
  # Or scale specific worker types on different schedules
279
280
  autoscaler_critical:
280
281
  class: SolidQueueAutoscaler::AutoscaleJob
281
282
  queue: autoscaler
282
283
  schedule: every 15 seconds
283
- args: [:critical_worker]
284
+ args:
285
+ - :critical_worker
284
286
 
285
287
  autoscaler_default:
286
288
  class: SolidQueueAutoscaler::AutoscaleJob
287
289
  queue: autoscaler
288
290
  schedule: every 60 seconds
289
- args: [:default_worker]
291
+ args:
292
+ - :default_worker
290
293
  ```
291
294
 
292
295
  ### Running via Rake Tasks
@@ -1,6 +1,6 @@
1
1
  ===============================================================================
2
2
 
3
- SolidQueueHerokuAutoscaler has been installed!
3
+ SolidQueueAutoscaler has been installed!
4
4
 
5
5
  Next steps:
6
6
 
@@ -10,7 +10,7 @@ Next steps:
10
10
 
11
11
  2. Run the migration generator for persistent cooldown tracking:
12
12
 
13
- rails generate solid_queue_heroku_autoscaler:migration
13
+ rails generate solid_queue_autoscaler:migration
14
14
  rails db:migrate
15
15
 
16
16
  3. Review config/initializers/solid_queue_autoscaler.rb and adjust thresholds
@@ -18,7 +18,7 @@ Next steps:
18
18
  4. Add the recurring job to config/recurring.yml:
19
19
 
20
20
  autoscaler:
21
- class: SolidQueueHerokuAutoscaler::AutoscaleJob
21
+ class: SolidQueueAutoscaler::AutoscaleJob
22
22
  queue: autoscaler
23
23
  schedule: every 30 seconds
24
24
 
@@ -36,6 +36,6 @@ Next steps:
36
36
 
37
37
  6. Test with dry_run mode before enabling in production
38
38
 
39
- For more information, see: https://github.com/reillyse/solid_queue_heroku_autoscaler
39
+ For more information, see: https://github.com/reillyse/solid_queue_autoscaler
40
40
 
41
41
  ===============================================================================
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SolidQueueAutoscaler
4
- VERSION = '1.0.2'
4
+ VERSION = '1.0.4'
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.2
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - reillyse
@@ -137,11 +137,11 @@ files:
137
137
  - lib/solid_queue_autoscaler/cooldown_tracker.rb
138
138
  - lib/solid_queue_autoscaler/dashboard.rb
139
139
  - lib/solid_queue_autoscaler/dashboard/engine.rb
140
- - lib/solid_queue_autoscaler/dashboard/views/layouts/solid_queue_heroku_autoscaler/dashboard/application.html.erb
141
- - lib/solid_queue_autoscaler/dashboard/views/solid_queue_heroku_autoscaler/dashboard/dashboard/index.html.erb
142
- - lib/solid_queue_autoscaler/dashboard/views/solid_queue_heroku_autoscaler/dashboard/events/index.html.erb
143
- - lib/solid_queue_autoscaler/dashboard/views/solid_queue_heroku_autoscaler/dashboard/workers/index.html.erb
144
- - lib/solid_queue_autoscaler/dashboard/views/solid_queue_heroku_autoscaler/dashboard/workers/show.html.erb
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