govuk_sidekiq 9.0.0 → 9.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b170a15b6b0a3a7f44bebbc052720d696908ae99f9e535d633efb9ad9dd7c54f
4
- data.tar.gz: 0bb96f89538aa771b546e05b64a15293e12bcf21e191dfc2ea029d78de36b442
3
+ metadata.gz: e3ee4a6e489aad3ad1859e6a79f9254ce32bd9de01727f092aa4eef6ec7dd782
4
+ data.tar.gz: b26d9dce9639b150c19d8699171260ddc7f6d3290f2db0eb911ad7881155ac7b
5
5
  SHA512:
6
- metadata.gz: bc859c90d6cd45da1111177dfd7eb6ad4bec5a03f9f3f148567d71e24721f7ce9c5c98f8ab2f327e7ac76fb0986d4eb14f02669a4fed6d524e1344d39c56c6e8
7
- data.tar.gz: b5e06dffc8cc92fde8a4a286f9caf1db2d770973e3755160d057862f1b5046167a7f6ca6492fbe436ab8de041004e588d603e993ca064ee338db7ff2c648d1ed
6
+ metadata.gz: 39fc3369ee538a9f3bd26ed38bf23b5e1d82adfd205cd154ee05164a90c437443514ad4730d57c989ec297734a321c97795b575ceea2d1eedffaefbcb2fedf47
7
+ data.tar.gz: 1045602ea557636128545fc6e8ba5edc98b365634862813d844eaee3fe911407ea380925f8f475b0166d1576ebcbe670b38ffd054744f14b2c5bf26890387d58
@@ -3,9 +3,13 @@ require "govuk_sidekiq/sidekiq_initializer"
3
3
  module GovukSidekiq
4
4
  class Railtie < Rails::Railtie
5
5
  initializer "govuk_sidekiq.initialize_sidekiq" do
6
- SidekiqInitializer.setup_sidekiq(
7
- { url: ENV.fetch("REDIS_URL", "redis://127.0.0.1:6379") },
8
- )
6
+ redis_options = { url: ENV.fetch("REDIS_URL", "redis://127.0.0.1:6379") }
7
+
8
+ if ENV["REDIS_SSL_VERIFY_NONE"] == "true"
9
+ redis_options[:ssl_params] = { verify_mode: OpenSSL::SSL::VERIFY_NONE }
10
+ end
11
+
12
+ SidekiqInitializer.setup_sidekiq(redis_options)
9
13
  end
10
14
 
11
15
  rake_tasks do
@@ -1,3 +1,3 @@
1
1
  module GovukSidekiq
2
- VERSION = "9.0.0".freeze
2
+ VERSION = "9.0.1".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: govuk_sidekiq
3
3
  version: !ruby/object:Gem::Version
4
- version: 9.0.0
4
+ version: 9.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - GOV.UK Dev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-09-24 00:00:00.000000000 Z
11
+ date: 2024-10-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gds-api-adapters
@@ -178,7 +178,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
178
178
  - !ruby/object:Gem::Version
179
179
  version: '0'
180
180
  requirements: []
181
- rubygems_version: 3.5.19
181
+ rubygems_version: 3.5.21
182
182
  signing_key:
183
183
  specification_version: 4
184
184
  summary: Provides standard setup and behaviour for Sidekiq in GOV.UK applications.