govuk_sidekiq 7.1.0 → 7.1.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/api_headers.rb +0 -3
- data/lib/govuk_sidekiq/version.rb +1 -1
- metadata +15 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 907528e8933cc47548a25ecdcffe84c24d36447bfe312d61f2bb30b0415d3f80
|
4
|
+
data.tar.gz: fb4014ca95ce77e94f788084b19ce6d1e0e167799a6c43653ab9e184d4d8f732
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9c38eab2b44731240e2ec9d80ad7475e9a33acd48d30f9d26846dda08099c9b38857a8fc914602f8db76858a9cb8df9aaab5d8f15ccbbc6a4a24850a07dcf937
|
7
|
+
data.tar.gz: cc7a32a7941b786bc0e1f8f8ca72ee327727667f5e92eb24e741fc6fb2a0abfbe9104b356e6daf480029d596c7f0fc7849aa3780e3084b25fb041d8ec4d47a5f
|
@@ -10,15 +10,12 @@ module GovukSidekiq
|
|
10
10
|
class ClientMiddleware
|
11
11
|
def call(_worker_class, job, _queue, _redis_pool)
|
12
12
|
last_arg = job["args"].last
|
13
|
-
|
14
13
|
if is_header_hash(last_arg)
|
15
14
|
job["args"].pop
|
16
15
|
job["args"] << header_arguments.merge(last_arg)
|
17
16
|
else
|
18
17
|
job["args"] << header_arguments
|
19
18
|
end
|
20
|
-
Sidekiq::Context.add("govuk_request_id", job["args"].last["request_id"])
|
21
|
-
|
22
19
|
yield
|
23
20
|
end
|
24
21
|
|
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: 7.1.
|
4
|
+
version: 7.1.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: 2023-
|
11
|
+
date: 2023-10-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gds-api-adapters
|
@@ -56,16 +56,22 @@ dependencies:
|
|
56
56
|
name: sidekiq
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - "
|
59
|
+
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
61
|
+
version: 6.5.12
|
62
|
+
- - "<"
|
63
|
+
- !ruby/object:Gem::Version
|
64
|
+
version: '7'
|
62
65
|
type: :runtime
|
63
66
|
prerelease: false
|
64
67
|
version_requirements: !ruby/object:Gem::Requirement
|
65
68
|
requirements:
|
66
|
-
- - "
|
69
|
+
- - ">="
|
67
70
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
71
|
+
version: 6.5.12
|
72
|
+
- - "<"
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
version: '7'
|
69
75
|
- !ruby/object:Gem::Dependency
|
70
76
|
name: climate_control
|
71
77
|
requirement: !ruby/object:Gem::Requirement
|
@@ -128,14 +134,14 @@ dependencies:
|
|
128
134
|
requirements:
|
129
135
|
- - '='
|
130
136
|
- !ruby/object:Gem::Version
|
131
|
-
version: 4.
|
137
|
+
version: 4.12.0
|
132
138
|
type: :development
|
133
139
|
prerelease: false
|
134
140
|
version_requirements: !ruby/object:Gem::Requirement
|
135
141
|
requirements:
|
136
142
|
- - '='
|
137
143
|
- !ruby/object:Gem::Version
|
138
|
-
version: 4.
|
144
|
+
version: 4.12.0
|
139
145
|
description:
|
140
146
|
email:
|
141
147
|
- govuk-dev@digital.cabinet-office.gov.uk
|
@@ -171,7 +177,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
171
177
|
- !ruby/object:Gem::Version
|
172
178
|
version: '0'
|
173
179
|
requirements: []
|
174
|
-
rubygems_version: 3.4.
|
180
|
+
rubygems_version: 3.4.21
|
175
181
|
signing_key:
|
176
182
|
specification_version: 4
|
177
183
|
summary: Provides standard setup and behaviour for Sidekiq in GOV.UK applications.
|