solid_queue_guard 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: e4708571f815d3044a3aa1f952ffe250699e8b695972cf8449b38f53aa1ff4f3
4
- data.tar.gz: ef314fa6328235a4e8d5174fe42db21a200ebb8ab067b2b6cda125b8a67b433a
3
+ metadata.gz: 13509de59af308c0a52bcfd175b2e385f80bfae2f643400d837866a07e08a8f0
4
+ data.tar.gz: 2d80dcd1909ced04d75d255318e81f1d9ebb4b1d8ac5b5efa28c88fa707e95fb
5
5
  SHA512:
6
- metadata.gz: 292e090e0c051b8f76d792070bfef73a33e4a21ba680f23319d85354b9de145fa1363dbd1b74efd19c3b23cf5833595b8bb45720ba19a9f41ae9a1497161fd19
7
- data.tar.gz: 64b1b5b2a1d9e5535ba1170f1469cdf3ac693a9f358b4386fb22699c1ad03c37aabd49176b66ca2c51a0cd78c57d2f447c87581a6ee2450ebb1e317d80d6295d
6
+ metadata.gz: 60ac11142cd9e77d462d8d8b0993bed00506d63514bdeb8fc99fa99fa746c9c4ca1c1b2962c7cfc02de511b1a72162d7bea7ef8413c98e844808842afb36b9a6
7
+ data.tar.gz: 1232f9d871a123e030e8c3c4a88c46754ebaecc98a44f1d2e4cb454d4845b64b07ecb0f3c2d3ca9be133f150c61c57f8f09e932f4a870c44dbc46b0477acac26
data/CHANGELOG.md CHANGED
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [1.0.2] - 2026-07-09
9
+
10
+ ### Changed
11
+
12
+ - Install generator enables SolidQueueGuard in `production` and `staging` by default
13
+
8
14
  ## [1.0.1] - 2026-07-09
9
15
 
10
16
  ### Changed
data/README.md CHANGED
@@ -199,7 +199,7 @@ bin/rails solid_queue_guard:doctor # config checks (default scope)
199
199
  bin/rails solid_queue_guard:report # config + runtime when the queue DB is available
200
200
  ```
201
201
 
202
- By default the install generator sets `config.enabled = Rails.env.production?`, so in **development** checks are skipped unless you enable them:
202
+ By default the install generator sets `config.enabled = %w[production staging].include?(Rails.env)`, so in **development** and other non-deployed environments checks are skipped unless you enable them:
203
203
 
204
204
  ```ruby
205
205
  SolidQueueGuard.configure { |c| c.enabled = true }
@@ -330,7 +330,7 @@ Apps that keep Solid Queue tables only in `structure.sql` (common in Revelo-styl
330
330
  ```ruby
331
331
  # config/initializers/solid_queue_guard.rb
332
332
  SolidQueueGuard.configure do |config|
333
- config.enabled = Rails.env.production?
333
+ config.enabled = %w[production staging].include?(Rails.env)
334
334
 
335
335
  config.queue_lag_thresholds = {
336
336
  critical: 30.seconds,
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  SolidQueueGuard.configure do |config|
4
- config.enabled = Rails.env.production?
4
+ config.enabled = %w[production staging].include?(Rails.env)
5
5
 
6
6
  config.queue_lag_thresholds = {
7
7
  critical: 30.seconds,
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SolidQueueGuard
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_guard
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
  - Rafael Pissardo