govuk_sidekiq 9.0.0 → 9.0.2
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 +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e4a7597fe420e6d5a3d9adf9e054e2c824a49399d8064b042d8b76bcd135357f
|
4
|
+
data.tar.gz: 93375d101a4fd6c068170d67853db796d9609d03efa023286d607f06d5126310
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 66971bee972f3a628153829d7390a949ba3009dbd1215b3fc579b42af40cb3bf364f2736f7449d9047b2cb9f366d1fa930a11da5bbed9105474912e9aa152b3b
|
7
|
+
data.tar.gz: 99ffa8e936f4b9b329ba61d417f330c432bdc7cca49354b60a96efcebf0d5c00f8204119c9ea7ef708cb9018ed7393d093e826e701a393b8ee5e20d89a67df1a
|
@@ -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.2
|
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-11-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gds-api-adapters
|
@@ -134,14 +134,14 @@ dependencies:
|
|
134
134
|
requirements:
|
135
135
|
- - '='
|
136
136
|
- !ruby/object:Gem::Version
|
137
|
-
version: 5.0.
|
137
|
+
version: 5.0.3
|
138
138
|
type: :development
|
139
139
|
prerelease: false
|
140
140
|
version_requirements: !ruby/object:Gem::Requirement
|
141
141
|
requirements:
|
142
142
|
- - '='
|
143
143
|
- !ruby/object:Gem::Version
|
144
|
-
version: 5.0.
|
144
|
+
version: 5.0.3
|
145
145
|
description:
|
146
146
|
email:
|
147
147
|
- govuk-dev@digital.cabinet-office.gov.uk
|
@@ -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.23
|
182
182
|
signing_key:
|
183
183
|
specification_version: 4
|
184
184
|
summary: Provides standard setup and behaviour for Sidekiq in GOV.UK applications.
|