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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 07e39d37942f15f173005674d60471d56fbe3db4d59d35e67ba5c0e1a33155df
4
- data.tar.gz: 3a68c0f33812e2558cb5374b9c56533d2573732702e15eb0e5bc38ef588b63ef
3
+ metadata.gz: 907528e8933cc47548a25ecdcffe84c24d36447bfe312d61f2bb30b0415d3f80
4
+ data.tar.gz: fb4014ca95ce77e94f788084b19ce6d1e0e167799a6c43653ab9e184d4d8f732
5
5
  SHA512:
6
- metadata.gz: 1de3bd1211158830997a52e81f3ce1086732d66dc6534c6b4faf08709bd5b16d10555fcf4a571e17abb01b7cc68dea594c5ff07d348f6cea8ad927c1118311f6
7
- data.tar.gz: 833611f37c06d5cd8cf621f0115650915aec9e69cf1dd37e3e48d6f66ea3347cf2600eefbe270a4d7e7e3dc783e35909c19d78d78aa13f873117bc4fa6c07dad
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
 
@@ -1,3 +1,3 @@
1
1
  module GovukSidekiq
2
- VERSION = "7.1.0".freeze
2
+ VERSION = "7.1.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: 7.1.0
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-06-20 00:00:00.000000000 Z
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: '6'
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: '6'
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.10.0
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.10.0
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.14
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.