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 +4 -4
- data/lib/govuk_sidekiq/railtie.rb +7 -3
- data/lib/govuk_sidekiq/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e3ee4a6e489aad3ad1859e6a79f9254ce32bd9de01727f092aa4eef6ec7dd782
|
4
|
+
data.tar.gz: b26d9dce9639b150c19d8699171260ddc7f6d3290f2db0eb911ad7881155ac7b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
7
|
-
|
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
|
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.
|
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-
|
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.
|
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.
|