govuk_app_config 9.14.2 → 9.14.3

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: 3a2b469188f0cb9a026219b83c4ac9cf3e988995a63caa74a429af2c08102794
4
- data.tar.gz: bb63e966cb934fe0c4a0496f83e68d45faaa68a82d2e0d612ef599e1255452e1
3
+ metadata.gz: c794459053cdaca477694dc0921363dd7d2f6bcbb7c100eab41a203fb2c76b24
4
+ data.tar.gz: 2b0f9f9cb226325b8e380d90b0b6c59e32d5e83bbfa755897483624dfd41d3fc
5
5
  SHA512:
6
- metadata.gz: a74a1fe67aa590e83cb2993363311793c32b67129a4982901145d9d7d9ba61033669dd4af1012370cb2e5ad2cc8e4943758dc69c0139582505d2a7f3d5da5500
7
- data.tar.gz: e840cab37db83c4fe81445ff8bc95930ea804cd0203c5f5c31f59e9f0fce9bb099c4ea00f3d5d6439a767439aad5c313fc95823411edec208c81b4b0386100ff
6
+ metadata.gz: 5486eb87d435246696d342acb8c9659f902157c8376bfe3dbd730918da4afc9fc9b3dfed7f0c10998a4223056355801da465655683a7a8140421ee4b006df6e7
7
+ data.tar.gz: a874d4a2bcd324829d4cd8ecbd79e59581a995d585e18bf0c36847e61b82b4cf65c7ab96557720f97e844a36b7a378ced3c46757a6942fc16ae6734d8cdfafe0
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 9.14.3
2
+
3
+ * Update SidekiqRedis healthcheck to work with Sidekiq 7 [#399](https://github.com/alphagov/govuk_app_config/pull/399)
4
+
1
5
  # 9.14.2
2
6
 
3
7
  * Update dependencies
@@ -5,7 +5,14 @@ module GovukHealthcheck
5
5
  end
6
6
 
7
7
  def status
8
- Sidekiq.redis_info ? OK : CRITICAL
8
+ # Sidekiq 7 introduced a default_configuration object which has .redis_info
9
+ # for querying Redis information. If the default_configuration object isn't present,
10
+ # we can fall back to the old method of querying it using 'Sidekiq.redis_info'.
11
+ if Sidekiq.respond_to?(:default_configuration)
12
+ Sidekiq.default_configuration.redis_info ? OK : CRITICAL
13
+ else
14
+ Sidekiq.redis_info ? OK : CRITICAL
15
+ end
9
16
  rescue StandardError
10
17
  # One would expect a Redis::BaseConnectionError, but this should be
11
18
  # critical if any exception is raised when making a call to redis.
@@ -1,3 +1,3 @@
1
1
  module GovukAppConfig
2
- VERSION = "9.14.2".freeze
2
+ VERSION = "9.14.3".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: govuk_app_config
3
3
  version: !ruby/object:Gem::Version
4
- version: 9.14.2
4
+ version: 9.14.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - GOV.UK Dev
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-09-26 00:00:00.000000000 Z
11
+ date: 2024-10-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: logstasher
@@ -395,7 +395,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
395
395
  - !ruby/object:Gem::Version
396
396
  version: '0'
397
397
  requirements: []
398
- rubygems_version: 3.5.20
398
+ rubygems_version: 3.5.21
399
399
  signing_key:
400
400
  specification_version: 4
401
401
  summary: Base configuration for GOV.UK applications