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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b170a15b6b0a3a7f44bebbc052720d696908ae99f9e535d633efb9ad9dd7c54f
4
- data.tar.gz: 0bb96f89538aa771b546e05b64a15293e12bcf21e191dfc2ea029d78de36b442
3
+ metadata.gz: e4a7597fe420e6d5a3d9adf9e054e2c824a49399d8064b042d8b76bcd135357f
4
+ data.tar.gz: 93375d101a4fd6c068170d67853db796d9609d03efa023286d607f06d5126310
5
5
  SHA512:
6
- metadata.gz: bc859c90d6cd45da1111177dfd7eb6ad4bec5a03f9f3f148567d71e24721f7ce9c5c98f8ab2f327e7ac76fb0986d4eb14f02669a4fed6d524e1344d39c56c6e8
7
- data.tar.gz: b5e06dffc8cc92fde8a4a286f9caf1db2d770973e3755160d057862f1b5046167a7f6ca6492fbe436ab8de041004e588d603e993ca064ee338db7ff2c648d1ed
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
- 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.2".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.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-09-24 00:00:00.000000000 Z
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.2
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.2
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.19
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.